LeafWiki

A lightweight self-hosted wiki in a single Go binary that keeps pages as Markdown files, aimed at runbooks, homelab notes and small-team docs.

1.2k stars, 102 forks Go On GitHub since March 2025

LeafWiki at a glance

Open sourceYes, MITNo paid parts in the repository
Health81 of 100Actively developed
Self-hostingDocker, Desktop appsOne-click in Umbrel, YunoHost and 2 more
AppsLinux, macOS, Windows, including ARMBuilds in GitHub releases
Interface5 languagesIncluding English, German and French
Issue repliesWithin ~5 hoursMedian first reply; 44% of recent issues answered

What is LeafWiki?

LeafWiki is a wiki that ships as one Go binary with SQLite and stores page content as plain Markdown in a data directory, so there is no Node.js, Redis or Postgres to operate. Pages sit in an explicit tree with manual ordering. It offers full-text search with tag filters, backlinks with a broken-link audit, Mermaid diagrams, KaTeX math and embedded PDFs. Admin, editor and viewer roles cover three access modes, from fully private to public reading. Revision history, link rewriting on rename, SMTP mail and an experimental Git backup are opt-in flags, and a ZIP importer handles Obsidian-style links.

Good fit if

  • You want an engineering notebook, runbooks or homelab documentation with very little to maintain.
  • You have Markdown or Obsidian folders that need a structured web interface.
  • You run on a Raspberry Pi or another small ARM64 or x86 machine.

Look elsewhere if

  • You need real-time co-editing or a Confluence-style team workspace: Docmost or Outline.
  • You want a fuller wiki with more integrations and a longer history: Wiki.js or BookStack.

Before you adopt it

LeafWiki is under the MIT license and the repository has no paid parts. Builds are published for Linux, macOS and Windows, with Docker images, a Compose example, a Linux installer and Kubernetes manifests in the docs. The project dates from 2025 and is still at version 0.14, and API keys are marked as not ready for use. The interface ships in 5 languages. Seven authors committed in the last 90 days, one of them accounting for just under half of the commits.

Drafted with AI from the project's README and repository data, then checked against that data on 7 November 2026. Report a correction

How to run LeafWiki yourself

One-click install

Not listed in TrueNAS, CasaOS, Runtipi and Coolify. Checked against each panel’s app catalog on 12 November 2026.

Ways to install

Docker files
Dockerfile or compose file in the repository
Docker image
ghcr.io/perber/leafwiki: x86-64, ARM64
Compose file
e2e-proxy/docker-compose.yml: 4 services (proxy)
Setup effort
3 of 5, judged from the compose file
Kubernetes
No Helm chart in the repository
Desktop and mobile
Builds for Linux, macOS, Windows, including ARM in GitHub releases
Interface languages
5 languages: Chinese, English, French, German and Spanish

Install instructions: leafwiki.com or the README on GitHub. Docker images and packages are checked weekly.

LeafWiki health: is it still maintained?

81 of 100, actively developed

Release rhythmEvery ~10 daysLatest: v0.14.2, 22 October 2026
Issue repliesWithin ~5 hoursMedian first reply; 44% of recent issues answered
Bus factorMedium riskThe most active of 6 authors wrote 65% of recent commits
  • Activity
    398 commits in the last 90 days, the latest on 9 November 2026.
    30 / 30
  • Contributors
    6 people wrote the latest 100 commits; the most active wrote 65% of them.
    11 / 20
  • Releases
    15+ releases in the last 12 months; the latest, v0.14.2, on 22 October 2026.
    19 / 20
  • Replies to issues
    Maintainers answered 44% of recent issues, with a median first reply after 5 hours.
    16 / 20
  • Security practices
    No OpenSSF Scorecard for this repository yet, so this part gets a neutral score.
    5 / 10

Read from GitHub on 12 November 2026. How the score works

LeafWiki security

Security advisories are the vulnerabilities the maintainers disclosed on GitHub, with the versions that fix them; many advisories can mean careful disclosure as much as weak code.

Security advisories5 published4 high; all list a fixed version

Latest advisories

All 5 advisories on GitHub

Advisories read from GitHub on 12 November 2026.

LeafWiki license: is it open source?

LeafWiki uses MIT, an open-source license approved by the OSI.

  1. March 2025First published on GitHub.
  2. TodayMIT.

LeafWiki for developers

Written in

  • Go 65%
  • TypeScript 31%
  • CSS 2%
  • Shell 1%
  • JavaScript <1%
  • Other <1%

Getting involved

Language shares are GitHub’s count of the code in the repository.

Alternatives to LeafWiki

  • MemosMemos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a… 82 health · MIT · 64.4k stars
  • Docs (La Suite)Docs is an open-source text editor: web-native, made for real-time collaboration, cleanly structured… 78 health · MIT · 17k stars
  • OutlineThe fastest knowledge base for growing teams. Beautiful, realtime collaborative, feature packed, and… 76 health · Business Source License · 41.2k stars
  • DocmostDocmost is an open-source collaborative wiki and documentation software. It is an open-source alternative to… 71 health · AGPL-3.0 · 22.3k stars
  • Wiki.jsWiki.js | Next Generation Open Source Wiki 65 health · AGPL-3.0 · 29.3k stars

All 41 projects in Notes & knowledge bases

Questions about LeafWiki

Is LeafWiki open source?

Yes. LeafWiki is published under MIT, an OSI-approved open-source license.

Is LeafWiki still maintained?

Its health score is 81 of 100 (actively developed). It had 398 commits in the last 90 days, the latest on 9 November 2026, and its latest release came out on 22 October 2026.

How do I run LeafWiki?

You can run it with the Docker image ghcr.io/perber/leafwiki, as an app for Linux, macOS, Windows, including ARM and in one click from Umbrel, YunoHost, Unraid and 1 more. The README on GitHub has the exact steps.

What is LeafWiki written in?

LeafWiki is written mainly in Go (65% of the code), with TypeScript (31%), by GitHub’s count of the repository.

What languages is LeafWiki available in?

The repository has interface translations for 5 languages: Chinese, English, French, German and Spanish.

What are the alternatives to LeafWiki?

Close alternatives in the Notes & knowledge bases category include Memos, Docs (La Suite), Outline.