DEV Community

perber
perber

Posted on

LeafWiki Devlog #9: v0.8.2 – Tree Improvements & Reverse Proxy Support

Hi!

Time for another small update on LeafWiki.

Version v0.8.2 focuses on usability improvements in the Tree View and a small but very useful deployment feature for self-hosted setups.

If you're new here:

LeafWiki is a lightweight, self-hosted Markdown wiki built as a single Go binary.

  • Markdown files stored directly on disk
  • No external database service required
  • Designed for people who think in folders, not feeds

If LeafWiki disappears tomorrow, your content is still yours.

GitHub: https://github.com/perber/leafwiki


A quick recap: the 0.8 series

With v0.8.0, LeafWiki introduced one of the biggest structural changes so far: Sections.

Sections allow the wiki tree to behave more like a real folder structure.

Instead of every node being a page, a node can now simply act as a container for other pages.

This enables things like:

  • cleaner hierarchical structures
  • better organization for larger documentation sets

v0.8 also introduced import and recovery tools, making it much easier to bring existing documentation into LeafWiki or rebuild the wiki structure from files on disk.

With that structural foundation in place, the following releases in the 0.8.x series focus on refinement — improving usability, performance, and deployment flexibility.


Reverse Proxy Support (--base-path)

One improvement in v0.8.2 makes LeafWiki easier to run behind reverse proxies.

LeafWiki now supports a --base-path flag, which allows the application to be served from a subpath instead of the domain root.

This enables setups like:

https://example.com/wiki
Enter fullscreen mode Exit fullscreen mode

instead of requiring:

https://wiki.example.com
Enter fullscreen mode Exit fullscreen mode

Why this matters:

Many self-hosted environments run multiple services behind a single domain using tools like:

  • Nginx
  • Traefik
  • Caddy
  • corporate reverse proxies

Supporting a base path makes LeafWiki much easier to integrate into these environments without requiring a dedicated subdomain.

For self-hosters, this makes deployments a lot more flexible.


Tree View usability improvements

As wikis grow, navigation becomes increasingly important.

v0.8.2 adds Expand All and Collapse All actions to the Tree View.

This makes it much easier to quickly:

  • explore the full structure of a wiki
  • collapse everything to focus on a specific section
  • navigate large documentation trees

It’s a small feature, but it becomes very useful once a wiki contains many nested pages and sections.


What’s next

With the structural work introduced in v0.8.0, the current focus is on polishing the experience around the new tree model.

The goal is to keep LeafWiki simple, fast, and predictable — while gradually improving the everyday experience of using it.


Thanks to everyone who reports issues, suggests improvements, or contributes to the project.

Your feedback continues to shape the direction of LeafWiki 🌿

If you'd like to try it out or follow development:

https://github.com/perber/leafwiki

Top comments (0)