LeafWiki is a self-hosted wiki shipped as a single Go binary: no Node.js, no Redis, no PostgreSQL. Page content is stored as Markdown files on disk with SQLite alongside for metadata, so a backup is a copy of the data directory and the pages stay readable outside the app. It is aimed at personal wikis, engineering notebooks and runbooks, internal team documentation, and existing Markdown or Obsidian vaults that need a proper wiki interface in front of them. The explicit comparison the project draws is with Wiki.js and Outline: LeafWiki is narrower on purpose.
The built-in editor has live preview, keyboard shortcuts and autocomplete for internal page links. The renderer covers tables, task lists, footnotes, callout blocks (:::info, :::warning), collapsible sections, Mermaid diagrams, KaTeX math blocks and sanitised inline HTML. PDFs can be embedded and opened on a specific page with .
Three access modes are configured with flags at start-up: fully internal with login required (the default), public read with login required for editing, or open editing without login. Accounts carry one of three roles — admin, editor or viewer. Reverse-proxy authentication via a trusted HTTP header is supported, as is running under a sub-path with --base-path.
ghcr.io/perber/leafwiki:latest with a data volume and --jwt-secret / --admin-password flags. Docker Compose, Kubernetes manifests, a Linux installer and a standalone binary are all documented.MIT. Free and open source.