A self-hosted wiki that uses a single Go binary and stores Markdown files on disk with SQLite.

LeafWiki is an open-source, self-hosted wiki application designed for structured, long-lived documentation. It operates as a single Go binary that stores page content as Markdown files on disk and uses SQLite for metadata, removing the need for external database dependencies, Redis, or complex runtimes. This architecture ensures that page content remains readable outside the application and simplifies backups to a basic directory copy.
The software is deployed as a server and is accessible via a web browser. It supports multiple installation methods, including Docker, a Linux installer, or running the standalone binary on Linux, macOS, Windows, and Raspberry Pi. Users can configure the application for three distinct operating modes: internal use with required authentication, public read access with restricted editing, or an open mode without login for trusted internal networks.
Built with a Go backend and a React frontend, LeafWiki is designed for engineers, self-hosters, and small teams. It is suited for creating engineering notebooks, runbooks, and internal team documentation where a structured hierarchy is preferred over flat note feeds. The system includes roles for admins, editors, and viewers, and it is reverse-proxy friendly with support for trusted HTTP headers for authentication. The application also allows for the injection of custom HTML and JS for analytics or specific styling needs.
LeafWiki positions itself as a lightweight knowledge base for users who require a structured wiki interface without the complexity of enterprise-grade permission workflows or real-time collaborative editing.
A collaborative knowledge base for teams to create internal documentation and wikis with real-time editing capabilities.
A lightweight wiki application built on Node.js for creating and managing collaborative documentation and knowledge bases.
Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.