I'm happy to announce that Leafwiki v0.5.2 is out.
This release introduces dark mode support.
With support for Mermaid diagrams, images, and HTML inside Markdown, Leafwiki can be used for project documentation, technical notes, and internal documentation for personal use and small dev teams.
What is Leafwiki
Leafwiki is a lightweight, self-hosted wiki engine built for developers who want a simple and reliable way to manage documentation.
It is a markdown-powered wiki: content is stored as plain Markdown, while Leafwiki itself takes care of structure, navigation, and rendering. The goal is to behave like a real wiki, just without unnecessary complexity.
How it works
At a high level, Leafwiki keeps things intentionally simple:
- Content is stored as Markdown files (no vendor lock-in).
- Page hierarchy and ordering are stored in
tree.json(loaded into memory). Leafwiki can reorder and move pages, and updates the on-disk layout accordingly. - SQLite is used for search indexing and user management, so no external database is required.
- Leafwiki is implemented as a single-page application (SPA). This allows fast navigation between pages and a smoother editing experience, without full page reloads.
Who Leafwiki is for
- Leafwiki already works well as a personal wiki.
What's planned
- In v0.6.0, Leafwiki will get backlinks, which will improve navigation and content discovery.
- Team-related features, such as versioning, are planned for future releases, moving it closer to an internal documentation tool for small dev teams.
What's new in v0.5.2:
- Dark mode support
- HTML support in Markdown
I think the dark mode is already looking good.
From a code perspective, I previously had many inline styles inside components. In this version, those styles were moved into index.css, and configuration is overridden there.
This makes it easier to:
- adjust styles for dark mode
- introduce new colors
- override Tailwind tokens in a single place
Overall, this simplifies theming and makes the codebase easier to maintain.
Project status
Leafwiki has reached 32 GitHub stars, which I’m genuinely happy about.
I’ve also received some early feedback from users, for example:
I use it for personal use, I find it attractive because the LeafWiki is light and fast.
Demo and source
Thanks for reading!
Feedback and issues are always welcome

Top comments (0)