LeafWiki

LeafWiki is a lightweight, self-hosted wiki that stores all content as plain Markdown files on disk inside a single Go binary.

  • Other
  • Productivity
  • Tools & Utilities
LeafWiki is a lightweight, self-hosted wiki that stores all content as plain Markdown files on disk inside a single Go binary. It provides fast writing, search, and folder-based navigation for runbooks, internal documentation, and technical notes, with built-in SQLite storage and no Node.js, Redis, or Postgres to operate. It suits engineers and homelab users who want structured, long-lived documentation without running additional services.

Platform availability

Available on 4 of 10 platforms

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

84/100 Excellent

Maintained
100last commit 7 days ago
Popular
621,224 GitHub stars
Easy to install
654 install platforms, install notes, Docker image
Light to run
No data
Security check
100no serious findings, CI, tests

Based on 4 of 5 factors.

Availability: platform listings confirmed today, links checked 3 days ago

GitHub stars
1,224
Open issues
47
Last commit
2026-11-13
Latest release
v0.14.2
License
MIT
Activity
rising

Checked 7 days ago - source: GitHub (perber/leafwiki)

Resources & Compatibility

Requirements not published yet.

Checked 54 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Set your install architecture and port Run the Linux installer with the right --arch (amd64 for x86 computers, arm64 for Raspberry Pi or similar) and note the data directory it asks for. If the architecture is wrong, LeafWiki may not start, and if you lose the data directory, your pages and settings can be lost. source
  • Use login and a strong admin password Start LeafWiki with its default login mode and set both --jwt-secret (the random code that protects login sessions) and --admin-password. Without a strong password or secret, anyone who can reach the server can manage or tamper with the wiki. source
  • On Raspberry Pi, install for arm64 Use the Raspberry Pi install command with --arch arm64, then open http://localhost:8080/ on the Pi. If you use the wrong architecture, the service may not run on Pi hardware. source
  • Record the data directory during install The Linux installer asks for a data directory; record where it is. If you lose track of the data directory, your pages and settings can be lost. source

Fetched 47 days ago - each note links to its source

Alternatives (12)

  • BookStack - BookStack is a free and open source wiki for creating structured, team-friendly documentation.
  • Confluence - Confluence is Atlassian's self-hosted team wiki for creating, organizing, searching, and sharing project documentation with permissions, ve…
  • Docmost - Docmost is an open-source, self-hosted collaborative wiki and knowledge base that lets teams create, edit, and share structured documentati…
  • DokuWiki - DokuWiki is a self-hosted, database-free open-source wiki that stores pages as plain text files.
  • GitBook - GitBook is a tool for building beautiful books using Git and Markdown.
  • MediaWiki - MediaWiki is a free and open-source wiki engine that powers Wikipedia and the other Wikimedia projects, bundled here with the VisualEditor…
  • Notion - Streamline teamwork with real-time collaboration, drag-and-drop content organization, and visual simplicity across notes, tasks, wikis, and…
  • Nuclino - Nuclino is a digital workspace for teams to organise notes, tasks, and documents in one searchable place.
  • Outline - Outline is a fast, self-hosted wiki and knowledge base that helps teams create, organise, and share documentation.
  • Wiki.js - Write your content in the widely used and simple Markdown format, using the built-in visual editor.
  • XWiki - XWiki is a free, extensible enterprise wiki platform that offers WYSIWYG editing, semantic annotations, and advanced permissions management…
  • wikidPad - wikidPad is a Wiki-like notebook for storing your thoughts, ideas, todo lists, contacts, or anything else you can think of to write down.

Checked 54 days ago - source: AlternativeTo

Common questions

Does LeafWiki require an external database service?

No. It uses SQLite and does not require an external database.

Is LeafWiki a single binary?

Yes. LeafWiki is provided as a single Go binary.

Can I read page content without using LeafWiki?

Yes. Page content is stored as plain .md files on disk and can be read without the app.

Does LeafWiki manage permissions?

Yes. LeafWiki manages permissions along with structure, routing, and assets.

Answers sourced from github.com, leafwiki.com

Community

Collected 47 days ago - public community threads