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
Mysh! b4143ed589
Panic fix (#44)
This fixes the bug when there are no hypha in the wiki and the user clicks the "random" button.

Since there are zero amount of pages, a number 0 is given to random, which causes a panic and resets the connection.

See: https://github.com/bouncepaw/mycorrhiza/issues/44
2021-03-09 09:55:22 +08:00
assets Merge pull request #36 from hugmouse/optimise-css 2021-03-05 16:37:06 +05:00
history Fix the bug with git locking 2021-02-26 21:43:45 +05:00
hyphae Add anchor links 2021-03-02 21:36:57 +05:00
link Add anchor links 2021-03-02 21:36:57 +05:00
markup Merge pull request #34 from hugmouse/0.13 2021-03-05 13:53:27 +05:00
metarrhiza@e7040f3e0d Add proof-of-concept Gemini output of /hypha/ 2021-02-09 19:35:02 +05:00
mimetype Move mimetype stuff to a separate module 2021-01-29 00:07:21 +05:00
shroom Add anchor links 2021-03-02 21:36:57 +05:00
tree Show only stems of names in the relative hyphae block 2021-02-27 13:42:32 +05:00
user Add /admin/shutdown 2021-02-18 19:50:37 +05:00
util Add anchor links 2021-03-02 21:36:57 +05:00
views Some adjusting before merging 2021-03-05 14:39:33 +05:00
.gitignore Move mimetype stuff to a separate module 2021-01-29 00:07:21 +05:00
.gitmodules Replace with 0.7 version in a primitive way 2020-08-05 20:08:59 +05:00
flag.go Start the Great Refactoring 2021-02-17 23:41:35 +05:00
gemini.go Start the Great Refactoring 2021-02-17 23:41:35 +05:00
go.mod Add proof-of-concept Gemini output of /hypha/ 2021-02-09 19:35:02 +05:00
go.sum Add proof-of-concept Gemini output of /hypha/ 2021-02-09 19:35:02 +05:00
http_admin.go Move stuff.qtpl and admin.qtpl to views/stuff.qtpl 2021-02-22 23:19:28 +05:00
http_auth.go Move mutators.qtpl and auth.qtpl to the views 2021-02-23 19:25:07 +05:00
http_history.go Refactor history views 2021-02-20 21:50:25 +05:00
http_mutators.go Move mutators.qtpl and auth.qtpl to the views 2021-02-23 19:25:07 +05:00
http_readers.go Add the attachment tab 2021-02-24 22:34:42 +05:00
LICENSE Create LICENSE 2020-11-24 22:46:18 +05:00
main.go Panic fix (#44) 2021-03-09 09:55:22 +08:00
Makefile Rename Makefile targets 2021-02-26 21:45:52 +05:00
mycocredentials.json Start implementing fixed authorization system 2020-11-13 23:45:42 +05:00
name.go Move navititle, attachment block, backlinks sidebar to the new views module 2021-02-20 20:48:51 +05:00
README.md Some adjusting before merging 2021-03-05 14:39:33 +05:00

🍄 MycorrhizaWiki 0.13

A wiki engine.

Main wiki

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")
  -gemini-cert-path string
        Directory where you store Gemini certificates. Leave empty if you don't want to use Gemini.
  -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
  • Basic Gemini protocol support

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.