Gollum wiki for org and Markdown
ToolsGollum is the standalone, self-hosted version of GitHub's project wikis. It works with a directory of plaintext files and can tolerate just plain old Markdown, Markdown with YAML frontmatter, org-mode files, ASCIIdoc, rdoc, and a handful of other formats I can't remember.
If you make edits through the web GUI it handles the git commit for you. You can also just edit in a text editor if you like, and it'll make your changes live when you commit them.
It looks to be pretty simple to run from the command line if you want, but the Docker compose recipe to run it on my Synology was super simple to set up as a Portainer stack:
version: '3' services: gollum: image: gollumwiki/gollum:6 restart: always ports: - "4567:4567" volumes: - /volume1/docker/gollum/wikidata:/wiki command: - "--math --allow-uploads"
It works fine with Marksman, etc. when editing files in Emacs.
What was super cool, though, was when I dumped in my old corpus of org-mode files from a few years ago: I used to have a very elaborate org-to-html-to-NAS publishing pipeline so I could have those notes as flat HTML when I was away from home and just wanted to look something up. Gollum can do that for me now, with better search and the possibility of in-place editing if I want it. That's a big QoL improvement.
So I think I am going to just move the restart of my notes collection into the gollum mount point and check it all in, then go from there: Emacs/deft for some days, iA Writer for others, quick edits if I'm looking at something via the web interface, etc. etc. Seems like a lot of tools, but that's just positive pressure to keep things relatively simple and free of the encumbrances of a bunch frameworks and systems: Turns out the simplest possible Markdown file with just a "# Heading Level 1" title works almost everywhere.