1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-10-30 11:46:16 +00:00
Wiki engine fork.
Go to file
2021-01-14 16:59:30 +05:00
history Make account system concurrent-safe and refactor it a little 2021-01-10 01:49:48 +05:00
hyphae Make account system concurrent-safe and refactor it a little 2021-01-10 01:49:48 +05:00
markup Fix display text separators being recognised as table row separators 2021-01-10 18:33:36 +05:00
metarrhiza@b67144cc77 Support consecutive lines in paragraphs 2021-01-04 01:39:54 +05:00
storage Make account system concurrent-safe and refactor it a little 2021-01-10 01:49:48 +05:00
templates Make textarea have proportional font 2021-01-14 16:59:30 +05:00
tree Make some visual changes 2021-01-10 18:01:38 +05:00
user Make account system concurrent-safe and refactor it a little 2021-01-10 01:49:48 +05:00
util Improve prev/next links 2021-01-14 16:39:54 +05:00
.gitignore Start implementing memdb-driven hyphae 2021-01-03 01:52:23 +05:00
.gitmodules Replace with 0.7 version in a primitive way 2020-08-05 20:08:59 +05:00
flag.go Make account system concurrent-safe and refactor it a little 2021-01-10 01:49:48 +05:00
go.mod Make account system concurrent-safe and refactor it a little 2021-01-10 01:49:48 +05:00
go.sum Make account system concurrent-safe and refactor it a little 2021-01-10 01:49:48 +05:00
http_auth.go Implement logging out 2020-11-14 18:03:06 +05:00
http_history.go Implement RSS, Atom and JSON feeds and add a new flag 2020-12-08 20:15:32 +05:00
http_mutators.go Make account system concurrent-safe and refactor it a little 2021-01-10 01:49:48 +05:00
http_readers.go Implement OpenGraph meta tags 2020-12-17 17:59:59 +05:00
hypha.go Fix anon hypha deletion bug and start using hypha.Count() 2021-01-03 02:25:04 +05:00
LICENSE Create LICENSE 2020-11-24 22:46:18 +05:00
main.go Fix anon hypha deletion bug and start using hypha.Count() 2021-01-03 02:25:04 +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 Improve navititle 2021-01-14 16:51:17 +05:00
README.md Update README.md 2020-12-08 20:26:18 +05:00

🍄 MycorrhizaWiki 0.12

A wiki engine.

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

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")
  -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 "🍄")
  -url string
        URL at which your wiki can be found. Used to generate feeds (default "http://0.0.0.0:$port")
  -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; 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: I run a home wiki on this engine 24/7 at an Orange π Lite
  • Authorization with pre-set credentials

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