mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-12-13 05:50:27 +00:00
Wiki engine fork.
8dfd2fcf9b
The point is that there may be another character in the string. For example, a space or a line break. Because we check the whole string, not the first 4 characters - we can ignore the variant where it can be "----\s" or "----\r\n" and make the wrong markup. Alternatively: use `startsWith("----")`, but this is a bit more expensive operation. |
||
---|---|---|
assets | ||
history | ||
hyphae | ||
link | ||
markup | ||
metarrhiza@e7040f3e0d | ||
mimetype | ||
shroom | ||
tree | ||
user | ||
util | ||
views | ||
.gitignore | ||
.gitmodules | ||
flag.go | ||
gemini.go | ||
go.mod | ||
go.sum | ||
http_admin.go | ||
http_auth.go | ||
http_history.go | ||
http_mutators.go | ||
http_readers.go | ||
LICENSE | ||
main.go | ||
Makefile | ||
mycocredentials.json | ||
name.go | ||
README.md |
🍄 MycorrhizaWiki 0.13
A wiki engine.
Building
Also see detailed instructions on wiki.
git clone --recurse-submodules https://github.com/bouncepaw/mycorrhiza
cd mycorrhiza
make
# That make will:
# * run the default wiki. You can edit it right away.
# * create an executable called `mycorrhiza`. Run it with path to your wiki.
Usage
mycorrhiza [OPTIONS...] WIKI_PATH
WIKI_PATH must be a path to git repository which you want to be a wiki.
Options:
-auth-method string
What auth method to use. Variants: "none", "fixed" (default "none")
-fixed-credentials-path string
Used when -auth-method=fixed. Path to file with user credentials. (default "mycocredentials.json")
-header-links-hypha string
Optional hypha that overrides the header links
-home string
The home page (default "home")
-icon string
What to show in the navititle in the beginning, before the colon (default "🍄")
-name string
What is the name of your wiki (default "wiki")
-port string
Port to serve the wiki at (default "1737")
-url string
URL at which your wiki can be found. Used to generate feeds (default "http://0.0.0.0:$port")
-user-hypha string
Hypha which is a superhypha of all user pages (default "u")
Features
- Edit pages through html forms, graphical preview
- Responsive design, dark theme (synced with system theme)
- Works in text browsers
- Wiki pages (called hyphae) are written in mycomarkup
- Everything is stored as simple files, no database required. You can run a wiki on almost any directory and get something to work with
- Page trees; links to previous and next pages
- Changes are saved to git
- List of hyphae page
- History page
- Random page
- Recent changes page; RSS, Atom and JSON feeds available
- Hyphae can be deleted (while still preserving history)
- Hyphae can be renamed (recursive renaming of subhyphae is also supported)
- Light on resources
- Authorization with pre-set credentials
Contributing
Help is always needed. We have a tg chat where some development is coordinated. You can also sponsor on boosty. Feel free to open an issue or contact directly.
You can view list of all planned features on our kanban board.