1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-01-18 22:52:50 +00:00
Wiki engine fork.
Go to file
handlerug 4e8dae3c80
Drop support for Gemini :(
My view on this: it's too restrictive for Gemini. If you want to host
something in Gemini, you can't just dumb your content down. And
Mycomarkup is too robust for Gemini—images, tables and inline formatting
can't really be adapted to Gemtext.
2021-06-23 21:02:49 +07:00
.github/workflows Do not redirect from / to /hypha/home 2021-05-09 13:34:14 +05:00
.idea Change the home hypha for the dev config 2021-06-06 14:56:30 +05:00
assets Shortcuts reference 2021-06-13 23:15:45 +07:00
cfg Remove log.Fatal invokations from ReadConfigFile() 2021-06-23 21:01:35 +07:00
files Config auto-creation, update port from arguments 2021-06-23 21:01:34 +07:00
history Automatically init Git repo if not already 2021-06-23 21:01:34 +07:00
hyphae Do nothing in particular 2021-05-11 15:14:00 +05:00
mimetype Move mimetype stuff to a separate module 2021-01-29 00:07:21 +05:00
shroom New structure 2021-06-23 21:01:34 +07:00
static Migrate to Mycomarkup v0.5.5 2021-06-23 17:25:42 +05:00
tree Show subhyphae counters near the relative hyphae links 2021-04-07 22:49:56 +05:00
user New structure 2021-06-23 21:01:34 +07:00
util New structure 2021-06-23 21:01:34 +07:00
views Uncommitted markup 2021-06-21 11:52:38 +07:00
web New structure 2021-06-23 21:01:34 +07:00
.gitignore No longer include metarrhiza 2021-05-25 12:35:41 +05:00
default.nix Add basic Nix packaging 2021-05-17 16:25:20 +08:00
Dockerfile Add Dockerfile (#63) 2021-06-09 21:20:46 +07:00
flag.go Config auto-creation, update port from arguments 2021-06-23 21:01:34 +07:00
go.mod Drop support for Gemini :( 2021-06-23 21:02:49 +07:00
go.sum Drop support for Gemini :( 2021-06-23 21:02:49 +07:00
LICENSE Change the license to AGPL 2021-03-29 16:13:52 +05:00
main.go Drop support for Gemini :( 2021-06-23 21:02:49 +07:00
Makefile Migrate to mycomarkup v0.4.2 2021-05-27 15:17:54 +05:00
mycocredentials.json Start implementing fixed authorization system 2020-11-13 23:45:42 +05:00
README.md Clean some stuff, update README.md 2021-06-15 02:07:31 +05:00
release.nix Add basic Nix packaging 2021-05-17 16:25:20 +08:00

🍄 Mycorrhiza Wiki 1.2

A screenshot of Mycorrhiza Wiki home hypha in the Safari browser

Mycorrhiza Wiki is a filesystem and git-based wiki engine.

Main wiki

Usage

mycorrhiza [OPTIONS...] WIKI_PATH

WIKI_PATH must be a path to a git repository which you want to be a wiki.

Options:
  -config-path string
        Path to a configuration file. Leave empty if you don't want to use it.
  -print-example-config
        If true, print an example configuration file contents and exit. You can save the output to a file and base your own configuration on it.

Features

  • Wiki pages (called hyphae) are written in Mycomarkup
  • Edit pages through HTML forms, a graphical preview and a toolbar that helps you use Mycomarkup
  • Responsive design, dark theme (synced with system theme)
  • Works in text browsers
  • 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, registration
  • Basic Gemini protocol support
  • Hotkeys (press ? to see what hotkeys there are)

Building

See the guide on the wiki.

Installing

AUR

You can install Mycorrhiza Wiki from AUR using your favorite package manager on any Arch Linux-derivative distro (Arch, Manjaro, Garuda, etc):

# Build from sources
yay -S mycorrhiza
# OR
# Use pre-built binaries from the Releases page
yay -S mycorrhiza-bin

Docker

You can run Mycorrhiza Wiki in Docker using Dockerfile provided by this repository. Clone the repo and build the image:

git clone https://github.com/bouncepaw/mycorrhiza/
docker build -t mycorrhiza .

Now you can create a new Mycorrhiza Wiki container using this command:

docker run -v /path/to/wiki:/wiki -p 1737:1737 mycorrhiza

Example:

cd /dev/shm
git clone https://github.com/bouncepaw/mycorrhiza/
docker build -t mycorrhiza .
git clone https://github.com/bouncepaw/example-wiki
docker run -v /dev/shm/example-wiki:/wiki -p 1737:1737 mycorrhiza

Example 2:

# ...
docker run -v /dev/shm/:/config -v /dev/shm/example-wiki:/wiki -p 80:1737 mycorrhiza -config-path /config/myconfig.ini /wiki

Contributing

We always need help. We have a Telegram chat where we coordinate development. You can also sponsor @bouncepaw on Boosty. Feel free to open an issue or contact us directly.

You can view list of many planned features on our kanban board.