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
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 9 November 2026, and the latest release is v0.14.2, published on 22 October 2026. The project has 1.2k stars on GitHub, with 44 added in the last 30 days.
Open-source alternatives to LeafWiki
See all
Otterwiki
Docs & Wikis
A minimalistic wiki powered by python, markdown and git.
MITvs Confluence★ 1.6k
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
BookStack
Docs & Wikis
bookstack - A platform to create documentation/wiki content built with PHP & Laravel
MITvs Confluence★ 19k
MediaWiki
Docs & Wikis
🌻 The collaborative editing software that runs Wikipedia. Mirror from https://gerrit.wiki
OSSvs Confluence★ 5.2k
DokuWiki
Docs & Wikis
The DokuWiki Open Source Wiki Engine
GPL-2.0vs Confluence★ 4.7k
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
ProProfs Knowledge Base
Docs & Wikis
Knowledge base software for help centers, internal wikis and user manuals
SaaS
Slab
Docs & Wikis
Internal wiki with unified search across connected company tools
SaaS

