LeafWiki

A light self-hosted wiki that keeps your pages as Markdown files.

Replaces Confluence Obsidian Easy Free app

No server needed to start: Cloudgate can provide one. What happens when you click Deploy

LeafWiki
The LeafWiki editor in dark mode, with the page tree on the left, the page's Markdown text and a formatting toolbar for bold, italic, headings, tables, code and images in the middle, and the live preview on the right showing the finished page with a flowchart of three steps: Start Leafwiki, Create a new page, Edit Page
Writing a page in Markdown with the finished page shown alongside. LeafWiki · MIT
LeafWiki in light mode with an Engineering section in the page tree holding Architecture Overview, API Reference, Deployment Guide, Onboarding and Security Policy, a menu open with Add Page, Add Section, Edit Section, Sort Section Children, Move Section and Delete Section, and the section's overview page listing its pages with who updated them and when
Sections and pages in the tree, with a menu to add, move and sort them. LeafWiki · MIT
A LeafWiki page in dark mode as readers see it, titled Welcome to LeafWiki, with a breadcrumb, a quoted note, a flowchart and buttons to switch theme, delete, copy, print and edit the page, next to the page tree
Reading a page, with the wiki's page tree always on the left. LeafWiki · MIT
The Sort Section Children dialog for the Engineering section, listing its five pages with drag handles and up and down arrows, A to Z and Z to A buttons, and Cancel and Save
Setting the order of a section's pages by hand. LeafWiki · MIT

What is LeafWiki?

LeafWiki is a light, self-hosted Markdown wiki for a small team's how-tos and runbooks, with pages in a tree you order and saved as plain files.

LeafWiki is a free, open-source, self-hosted wiki that keeps every page as a plain Markdown file, a light alternative to Confluence for a small team's how-tos and internal notes. You write in Markdown with a live preview, arrange pages in a tree of sections you order yourself, and find them again with search, tags and links between pages.

It is small on purpose. A bike repair shop, for example, could keep its opening checklist, repair guides with photos, supplier contacts and a section of runbooks for the till and the website in one private wiki, let the mechanics edit the guides, and give a part-time helper read-only access. Because each page is a Markdown file, the pages stay readable even without the wiki, and you can bring in notes you already keep in Markdown or Obsidian.

LeafWiki leaves things out: there is no live co-editing, no comments and no databases, and access is set by role for the whole wiki rather than per page. There is no phone app, but it works in a phone's browser, with a dark mode.

Cloudgate installs LeafWiki on a server Cloudgate provides or one you connect, gives it a secure web address, and sets up the admin password for your first sign-in.

What you can do with LeafWiki

  • Keep pages in a tree you order Group pages into sections and subsections and set their order by hand, by dragging or with arrows, so the wiki reads the way you planned it.
  • Write in Markdown with a live preview Type on one side and see the finished page on the other, with auto-save, pasted images and suggestions as you link to other pages.
  • Find pages by text or tag Search the titles and text of every page and narrow the results by the tags you add.
  • See what links where Each page shows which pages link to it and flags broken links, and admins get one list of every broken link in the wiki.
  • Add tables, diagrams and PDFs Use tables, checklists, callout boxes, collapsible sections, flowcharts, math and embedded PDFs right in your pages.
  • Choose who reads and who edits Keep the wiki private, open it for anyone to read while only your team edits, and give each person the admin, editor or viewer role.
  • Bring your Markdown notes with you Import a ZIP of Markdown files, such as an Obsidian vault, and LeafWiki turns its wiki links into links between pages.
  • Your pages stay readable files Every page is saved as a plain Markdown file, and LeafWiki makes a full backup of the wiki every day that an admin can restore.

Replaces Confluence and Obsidian

LeafWiki does the same job as Confluence and Obsidian. Here is what changes when you switch.

What you gain
  • Free and open source under the MIT licence, with no paid edition and no per-user price
  • Pages are plain Markdown files you can read, copy and back up without the wiki
  • Very little to run and look after, so it suits a small server
  • Your documentation stays on your own server
What is different
  • It covers only the wiki part; its makers say it is not built to replace all of Confluence
  • One person edits a page at a time, and there are no comments or approval steps
  • Access is set with three roles for the whole wiki, not per space or page, and there are no databases or boards
  • Page history is an option that is off in this template, and there is no Confluence importer

What happens when you click Deploy?

You do not need a server or any technical knowledge. Four steps, and LeafWiki is running at its own web address.

  1. Step 1 Click Deploy and create your account

    Deploy takes you to Cloudgate. Create an account, or log in if you have one. LeafWiki itself is free.

  2. Step 2 Choose a server

    No server? Get one from Cloudgate: pick a size and a country, and Cloudgate gets it ready. Already have one? Connect it instead.

  3. Step 3 Cloudgate sets up LeafWiki

    It prepares the server, makes the passwords the app needs and starts it. There is nothing to install and nothing to write down.

  4. Step 4 Open your app and sign in

    Your app gets a free web address to start, without https. Add your own domain, like app.yourshop.com, and Cloudgate secures it with https for you.

Run Cloudgate yourself? Deploy from your own console

In your Cloudgate console, open Templates and choose LeafWiki.

Questions

Is LeafWiki free?

Yes, LeafWiki is free and open source under the MIT licence, and every feature is in the free app; there is no paid edition and no per-user price. You pay only for your server.

Is LeafWiki a good alternative to Confluence?

Yes, for a small team that only needs a simple wiki for how-tos, runbooks and internal notes. LeafWiki's own makers say it is deliberately narrower than Confluence, with no comments, live co-editing, approval steps or per-space permissions, so larger teams are better served by Outline, Docmost or BookStack.

How do I sign in to LeafWiki the first time?

LeafWiki creates one admin account when it first starts, with the username admin and the password Cloudgate generated for you, which you find in your app's settings in Cloudgate. There is no sign-up page; after signing in, change the password and add your team from the user management.

Can I import my Obsidian notes or Markdown files into LeafWiki?

Yes, LeafWiki editors and admins can import a ZIP of Markdown files, and Obsidian-style wiki links are turned into links between pages. It works best with a tidy folder structure; it is not an automatic converter for every format.

Can I import my Confluence pages into LeafWiki?

No, LeafWiki has no importer for Confluence. Its importer reads Markdown files only, so plan to move your most-used pages across by hand.

Does LeafWiki keep a history of changes?

Yes, if you turn it on; page history is an optional feature that is off by default in LeafWiki and in this template. Without it, LeafWiki still makes a full daily backup of the wiki that an admin can restore.

How is LeafWiki different from DokuWiki and BookStack?

LeafWiki is the smallest of the three, writes pages in Markdown with a live preview, and saves them as plain Markdown files in a tree you order by hand. DokuWiki and BookStack have page history, finer access rights and more sign-in options built in, and BookStack has a word-processor-style editor.

Do I need technical skills to run LeafWiki?

No. Click Deploy, create your Cloudgate account and choose a server, and Cloudgate sets up LeafWiki and gives it a web address. You use it in your browser like any other online tool.

Do I need my own server for LeafWiki?

No. When you deploy LeafWiki, hosted Cloudgate can provide a server. If you already rent one, you can connect it instead.

LeafWikiFree app
Deploy LeafWiki