LeafWiki

Lightweight self-hosted wiki with Markdown stored on disk

Wikis & Documentation ★ 1.2k stars Easy setup MIT

LeafWiki is a lightweight self-hosted wiki for long-lived documentation that stores Markdown pages on disk in a tree structure. It ships as a single Go binary with SQLite and supports tables, task lists, footnotes, and Mermaid diagrams.

Key features

  • Single Go binary deployment
  • Markdown pages stored on disk
  • Tree-based page organization
  • Mermaid diagram support

Strengths

  • Released under the MIT license
  • Easy to set up — beginner-friendly
  • First-class Docker support for quick deployment
  • Active community (1.2k GitHub stars)

Is LeafWiki secure?

No known vulnerabilities affect LeafWiki's latest release (v0.14.1). OSV.dev lists 4 past advisories for the project; none of them applies to this release. No known vulnerabilities is not proof of security: it means none have been publicly catalogued.

  • Most recent fixed advisory CVE-2026-80189, published 2026-08-25 (50 days ago), fixed in 0.12.1

Source: OSV.dev, checked 2026-10-14. How this is measured.

LeafWiki replaces

Health badge

Maintain LeafWiki? Add its health score to your README. The badge links back to this page.

SelfHostIndex: 86 · excellent

Markdown
[![SelfHostIndex health score for LeafWiki](https://selfhostindex.com/badge/leafwiki.svg)](https://selfhostindex.com/app/leafwiki/)
HTML
<a href="https://selfhostindex.com/app/leafwiki/"><img src="https://selfhostindex.com/badge/leafwiki.svg" alt="SelfHostIndex health score for LeafWiki"></a>
reStructuredText
.. image:: https://selfhostindex.com/badge/leafwiki.svg
   :alt: SelfHostIndex health score for LeafWiki
   :target: https://selfhostindex.com/app/leafwiki/

The score is recomputed on every nightly rebuild from public repository data — see how it is calculated.

Compare LeafWiki

22 head-to-head comparisons.

Similar wikis & documentation apps