1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-12 13:30:26 +00:00
mycorrhiza/README.md

85 lines
2.9 KiB
Markdown
Raw Normal View History

2021-06-12 15:01:24 +00:00
# 🍄 Mycorrhiza Wiki 1.2
<img src="https://mycorrhiza.lesarbr.es/binary/release/1.2/screenshot" alt="A screenshot of Mycorrhiza Wiki home hypha in the Safari browser" width="500">
**Mycorrhiza Wiki** is a filesystem and git-based wiki engine.
2020-09-01 16:52:40 +00:00
2021-01-24 08:33:51 +00:00
[Main wiki](https://mycorrhiza.lesarbr.es)
## Usage
2020-10-25 15:06:51 +00:00
```
mycorrhiza [OPTIONS...] WIKI_PATH
WIKI_PATH must be a path to a git repository which you want to be a wiki.
2020-11-27 18:27:50 +00:00
2020-10-25 15:06:51 +00:00
Options:
2021-03-14 15:34:24 +00:00
-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.
2020-10-25 15:06:51 +00:00
```
2020-10-03 17:05:10 +00:00
## 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
2021-01-24 08:33:51 +00:00
* Responsive design, dark theme (synced with system theme)
2020-07-19 15:00:44 +00:00
* Works in text browsers
2020-12-08 15:26:18 +00:00
* 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
2020-08-28 19:10:46 +00:00
* Changes are saved to git
2020-09-01 16:52:40 +00:00
* List of hyphae page
2020-08-28 19:10:46 +00:00
* History page
2020-09-01 16:52:40 +00:00
* Random page
2020-12-08 15:26:18 +00:00
* Recent changes page; RSS, Atom and JSON feeds available
* Hyphae can be deleted while still preserving history
2020-10-03 17:05:10 +00:00
* Hyphae can be renamed (recursive renaming of subhyphae is also supported)
2021-01-24 08:33:51 +00:00
* Light on resources
2021-07-01 12:15:59 +00:00
* Registration
* Hotkeys (press `?` to see what hotkeys there are)
2020-07-19 15:00:44 +00:00
## Building
See [the guide](https://mycorrhiza.lesarbr.es/hypha/guide/deployment) 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):
```sh
# 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:
```sh
git clone https://github.com/bouncepaw/mycorrhiza/
docker build -t mycorrhiza .
```
Now you can create a new Mycorrhiza Wiki container using this command:
```sh
docker run -v /path/to/wiki:/wiki -p 1737:1737 mycorrhiza
```
Example:
```sh
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:
```sh
# ...
docker run -v /dev/shm/:/config -v /dev/shm/example-wiki:/wiki -p 80:1737 mycorrhiza -config-path /config/myconfig.ini /wiki
```
2020-09-01 16:52:40 +00:00
## Contributing
We always need help. We have a [Telegram chat](https://t.me/mycorrhizadev) where we coordinate development. You can also sponsor @bouncepaw on [Boosty](https://boosty.to/bouncepaw). Feel free to open an issue or contact us directly.
2020-07-19 15:00:44 +00:00
You can view list of many planned features on [our kanban board](https://github.com/bouncepaw/mycorrhiza/projects/1).