About LeafWiki
LeafWiki is a self-hosted wiki aimed at engineers and self-hosters who want structured, long-lived documentation without heavy infrastructure. It ships as a single Go binary with SQLite, stores page content as Markdown on disk, and needs no Node.js, Redis or Postgres. The README positions it for people who found tools like Wiki.js or Outline too much to operate.
Pages are organized in an explicit tree rather than a flat feed, and backup is as simple as copying the data directory once the app is stopped. It runs on Linux, macOS, Windows and Raspberry Pi, works behind reverse proxies with a base path and trusted-header authentication, and offers three access modes: fully internal, public read with login-only editing, or open editing. Roles include admin, editor and viewer, and Git backup and SMTP email are configurable.
LeafWiki is written in Go with a React front end and licensed under MIT. It can be installed with Docker, Docker Compose, Kubernetes, a Linux installer or a plain binary. A demo site resets hourly. It suits small teams and homelab users who want runbooks and documentation with minimal upkeep.
Key features
- Single Go binary with SQLite
- Markdown pages stored on disk
- Tree-based page navigation
- Admin, editor, and viewer roles
- Reverse-proxy and header authentication
- Git backup and SMTP email
Good fit for
- →Hosting runbooks and engineering docs
- →Running a wiki on a Raspberry Pi or small VPS
- →Replacing a heavier wiki stack
- Tags
- wiki
- markdown
- self-hosted
- go
- sqlite
- documentation
- single-binary
- knowledge-base
- docker
LeafWiki: questions and answers
- What is LeafWiki used for?
- LeafWiki is a self-hosted wiki shipped as a single Go binary that keeps pages as Markdown files on disk with SQLite, needing no external database. It is a good fit for hosting runbooks and engineering docs, running a wiki on a Raspberry Pi or small VPS, and replacing a heavier wiki stack.
- Is LeafWiki open source?
- Yes. LeafWiki is open source under the MIT licence. Its source code is on GitHub at perber/leafwiki and is written mainly in Go.
- Is LeafWiki free?
- Yes. LeafWiki is open source, so the software itself is free to use.
- Can I self-host LeafWiki?
- Yes. LeafWiki can be self-hosted on your own server or infrastructure; there is no official hosted version.
- What is LeafWiki an alternative to?
- LeafWiki is an open-source alternative to Confluence and Nuclino. Other open-source alternatives to Confluence include Otterwiki, Outline and Wiki.js.
- Is LeafWiki actively maintained?
- Yes. The most recent commit to LeafWiki was on 1 October 2026, and the latest release is v0.13.0, published on 8 September 2026. The project has 1.2k stars on GitHub.
Open-source alternatives to LeafWiki
See all
Otterwiki
Docs & Wikis
A minimalistic wiki powered by python, markdown and git.
MITvs Confluence★ 1.5k
Outline
Docs & Wikis
The fastest knowledge base for growing teams. Beautiful, realtime collaborative, feature p
OSSvs Confluence★ 41k
Wiki.js
Docs & Wikis
Wiki.js | Next Generation Open Source Wiki
AGPL-3.0vs Confluence★ 29k
Crowi
Docs & Wikis
Crowi - The Markdown Wiki - Empower the team with sharing your knowledge
MITvs Confluence★ 1.1k
Matterwiki
Docs & Wikis
A simple and beautiful wiki for teams
MITvs Confluence★ 2.1k
Wukong KnowledgeBase
Docs & Wikis
悟空知识库,提供全面的知识管理功能,您可以在知识库中编辑wiki信息,同时可以将知识库内容共享给同事,进行协同创作。
OSSvs Confluence★ 608
SaaS alternatives to LeafWiki
See all
Confluence
Docs & Wikis
Confluence is Atlassian's team workspace for writing, organizing and sharing documentation and knowledge, with AI help for drafting, summarizing and finding answers.
SaaS
Nuclino
Docs & Wikis
Lightweight team wiki with docs, boards and graph views
SaaS
Almanac
Docs & Wikis
Team wiki with document branching, approvals and workflow templates
SaaS
Papyrs
Docs & Wikis
Cloud intranet and company wiki builder for internal portals
SaaS
Slab
Docs & Wikis
Internal wiki with unified search across connected company tools
SaaS
Slite
Docs & Wikis
Team knowledge base with docs, channels and AI-assisted search
SaaS

