1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-12 05:20:26 +00:00
Wiki engine fork.
Go to file
2020-11-24 22:23:45 +05:00
history Show edit author in recent changes and let anons upload attachments on no-auth wikis 2020-11-18 18:27:18 +05:00
markup Do not ignore empty lines in preformatted blocks 2020-11-21 13:52:20 +05:00
metarrhiza@41b572a780 Show edit author in recent changes and let anons upload attachments on no-auth wikis 2020-11-18 18:27:18 +05:00
templates Fix monospace styling 2020-11-24 22:23:45 +05:00
tree WIP history page 2020-08-19 23:54:23 +05:00
user Sign edits and refactor mutators a little 2020-11-18 18:07:53 +05:00
util Implement login form 2020-11-14 15:39:18 +05:00
.gitignore Reorganise templates a little bit 2020-06-24 00:34:01 +05:00
.gitmodules Replace with 0.7 version in a primitive way 2020-08-05 20:08:59 +05:00
flag.go Start implementing fixed authorization system 2020-11-13 23:45:42 +05:00
go.mod Save active sessions between launches 2020-11-14 19:46:04 +05:00
go.sum Save active sessions between launches 2020-11-14 19:46:04 +05:00
http_auth.go Implement logging out 2020-11-14 18:03:06 +05:00
http_mutators.go Sign edits and refactor mutators a little 2020-11-18 18:07:53 +05:00
http_readers.go Change navigation links depending on who the user is 2020-11-16 20:26:03 +05:00
hypha.go Sign edits and refactor mutators a little 2020-11-18 18:07:53 +05:00
main.go Do not let mutate pages without rights for doing so 2020-11-15 17:58:13 +05:00
Makefile Implement login form 2020-11-14 15:39:18 +05:00
mime.go Fix wrong mime-type 2020-11-03 00:24:50 +05:00
mycocredentials.json Start implementing fixed authorization system 2020-11-13 23:45:42 +05:00
name.go Implement CLI args 2020-10-25 20:06:51 +05:00
README.md Implement login form 2020-11-14 15:39:18 +05:00

🍄 MycorrhizaWiki 0.11

A wiki engine.

Features planned for this release:

  • Authorization
    • User groups: anon, editor, trusted, moderator, admin
    • Login page
    • Rights
  • Mycomarkup improvements
    • Strike-through syntax
    • Formatting in headings
    • Fix empty line codeblock bug #26
    • img{} improvements
    • ...

Building

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

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")
  -home string
        The home page (default "home")
  -port string
        Port to serve the wiki at (default "1737")
  -title string
        How to call your wiki in the navititle (default "🍄")
  -user-tree string
        Hypha which is a superhypha of all user pages (default "u")

Features

  • Edit pages through html forms
  • Responsive design
  • 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
  • Changes are saved to git
  • List of hyphae page
  • History page
  • Random page
  • Recent changes page
  • Hyphae can be deleted (while still preserving history)
  • Hyphae can be renamed (recursive renaming of subhyphae is also supported)
  • Light on resources: I run a home wiki on this engine 24/7 at an Orange π Lite.

Contributing

Help is always needed. We have a tg chat where some development is coordinated. Feel free to open an issue or contact me.

Future plans

  • Tagging system
  • Better history viewing