DEV Community

Cover image for LeafWiki v0.4.9 – Mermaid Diagrams, Page Copy & Easier Setup πŸš€
perber
perber

Posted on

LeafWiki v0.4.9 – Mermaid Diagrams, Page Copy & Easier Setup πŸš€

Hey everyone πŸ‘‹

After a few weeks of feedback and polishing, LeafWiki v0.4.9 is out!

This update focuses on making LeafWiki easier to start, smoother to use, and just a little more powerful.

🌿 What is LeafWiki?

LeafWiki is a lightweight, tree-based wiki that keeps your content in plain Markdown β€” fast, clean, and self-hosted.

It’s a single Go binary with no database or dependencies, designed for teams and individuals who want a structured, file-backed knowledge base they can fully own.

Run your knowledge base in 5 minutes.

✨ What’s New in v0.4.9

🧭 Copy Pages (with Assets)

You can now duplicate entire pages, including all uploaded images and files.

Perfect for templates or similar documents.

πŸͺ„ Mermaid.js Diagram Support

You can now embed Mermaid.js diagrams directly inside Markdown pages using fenced code blocks:



```mermaid
graph TD
  A[Start] --> B[Write Markdown]
  B --> C[Render Mermaid Diagram]
  C --> D[Enjoy!]
```


LeafWiki automatically renders these diagrams in the page preview.

Improved Installer

A installation script was added to make it even simpler to set up LeafWiki on Linux or Raspberry Pi.

It handles permissions, architecture detection, and systemd setup automatically.

Try it in one line:

curl -sL https://raw.githubusercontent.com/perber/leafwiki/main/install.sh -o install.sh \
  && chmod +x ./install.sh && sudo ./install.sh --arch amd64 --jwt-secret=yoursecret
Enter fullscreen mode Exit fullscreen mode

🌐 Live Demo Added

You can now explore LeafWiki without installing anything.

The public demo resets hourly β€” so feel free to experiment!


πŸ’¬ A Few Words of Thanks

Big thanks to:

  • @Hugo-Galley for documentation and onboarding improvements
  • @magnus-madsen for feedback on hosting and UX
  • @schewara for the hint on Alpine Docker images

Community feedback has been a big part of shaping this release πŸ’š


🧠 Why LeafWiki Exists

I wanted something between a static Markdown site and a full database wiki:

  • File-based and transparent
  • Still editable and searchable
  • Easy to host and maintain

So I built LeafWiki β€” a small Go application that manages Markdown pages in a true tree structure, supports uploads, and provides a built-in editor with live preview.

It’s not trying to be everything β€” just a fast, minimal wiki that values clarity over complexity.


πŸš€ Try It Yourself

πŸ”— Live Demo: demo.leafwiki.com

πŸ™ GitHub: github.com/perber/leafwiki


Your knowledge should live in files you own β€” not in a database you maintain.

Top comments (0)