Try describing what you need:

LeafWiki logo

LeafWiki

★ 1.2k

A self-hosted alternative to Notion

MIT LicenseOpen Source — No Paywall2 Containers — 2 containers — light hosting footprintDocker · Compose · Binary +1No external DB1 documented maintainer

About

LeafWiki is a self-hosted wiki designed for engineers, homelab users, and small teams that want structured documentation without operating a large stack. It emphasizes a narrow, lightweight setup: a...

Community Ratings

No ratings yet

Features

  • tree navigation
  • manual page ordering
  • full-text search
  • tag filtering
  • backlinks
  • Markdown editor with live preview
  • keyboard shortcuts
  • autocomplete for internal links
  • optimistic locking
  • revision history

Details

Last Updated
Nov 9, 2026
Created
Mar 25, 2025
Install Methods
dockerdocker-composebinarysource
Requirements
SQLiteGoReact (Vite)Node.jsnginx
Default Port
8080web UI
Authentication
localproxy-auth
API
REST
Backup & Export
file-backupgit-backup
Runtime / Stack
DockerGo
Privacy & Independence
Cloud: OptionalOffline Capable
User Model
Multi-User
Theming
Dark modeCustom themes
Deployment

Deployment: Docker Compose ✓2 Containers — light hosting footprintRuns as 2 containers

Run LeafWiki yourself

Pick how much you want to manage.

3 more ways to host

Some links earn us a commission. netcup pays us one and is our preferred VPS host.

Is this your project? Sponsor a listing

Run LeafWiki with Docker Compose

Compose file from the LeafWiki project repository.

2 services · infra: nginx

no resource limits declared

needs persistent storage (1 volume)

e2e-proxy/docker-compose.yml · @ 3cc5ee8 · scanned Nov 3, 2026

services:
  leafwiki:
    build:
      context: ..
      dockerfile: Dockerfile
      args:
        DISABLE_REFRESH_TOKEN_RATE_LIMIT: "true"
    command:
      - "--jwt-secret=proxy-e2e-secret"
      - "--admin-password=admin"
      - "--allow-insecure=true"
      - "--enable-http-remote-user=true"
      # Trust the entire proxy-net subnet so nginx can forward headers.
      - "--trusted-proxy-ips=172.30.0.0/16"
    networks:
      proxy-net:
        ipv4_address: 172.30.0.2
    healthcheck:
      test: ["CMD", "wget", "-qO-", "http://localhost:8080/api/config"]
      interval: 2s
      timeout: 5s
      retries: 30

  nginx:
    image: nginx:1.27-alpine
    volumes:
      - ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro
    ports:
      - "8095:80"
    depends_on:
      leafwiki:
        condition: service_healthy
    networks:
      proxy-net:
        ipv4_address: 172.30.0.3

networks:
  proxy-net:
    driver: bridge
    ipam:
      config:
        - subnet: 172.30.0.0/16

This file may be out of date. Check the LeafWiki documentation for current setup steps.

Tags

Track your self-hosted stack

Bookmark software to try, rate tools you've used, and keep your collection in one place.

Metadata extracted from README on Aug 11, 2026

Alternatives to LeafWiki

Wiki-Go logo

Wiki-Go

625
LeoMoon Wiki-Go is a Go-based flat-file wiki for creating and managing documentation, knowledge bases, and collaborative content without an external database.
WikisKnowledge ManagementCMS Platforms+3
Details
WikiDocs logo

WikiDocs

533
Wiki|Docs is a databaseless markdown flat-file wiki engine for creating and managing documentation pages.
WikisPermissive LicenseKnowledge Management+3
Details
Raneto logo

Raneto

2.9k
Raneto is a free, open, simple Markdown-powered knowledge base for Node.js.
WikisPermissive LicenseKnowledge Management+2
Details
Wiki.js logo

Wiki.js

29.2k
Wiki.js is a modern, lightweight, and powerful wiki application built on Node.js.
WikisCopyleft LicenseKnowledge Management+2
3 Containers
Details
Alexandrie logo

Alexandrie

3.9k
Alexandrie is a self-hosted, open-source knowledge base and wiki platform with an extended Markdown editor.
4 Containers
Details
Gollum logo

Gollum

14.3k
Gollum is a git-based wiki system that lets users edit repository-backed pages in a web interface or with a local editor.
WikisPermissive LicenseKnowledge Management+3
Details
Feather Wiki logo

Feather Wiki

97
Lightning fast and infinitely extensible tool for creating personal non-linear notebooks, databases, and wikis that is entirely self-contained, runs in your browser, and is only 58 kilobytes in size.
WikisCopyleft LicenseNote Taking Apps+3
Fully FOSS
Details
Dokuwiki logo

Dokuwiki

4.7k
DokuWiki is a simple and versatile wiki software that stores data in plain text files.
WikisKnowledge ManagementDocument Management+3
Details
Otter Wiki logo

Otter Wiki

1.6k
An Otter Wiki is a Python-based collaborative wiki for managing content in a git repository with Markdown editing and history tracking.
WikisKnowledge ManagementSelf Hosting Solutions+2
Details
django-wiki logo

django-wiki

1.9k
A Django-based wiki application for building structured, extensible wikis.
WikisKnowledge ManagementSelf Hosting Solutions+1
Details
Gitit logo

Gitit

2.3k
Gitit is a wiki program written in Haskell that stores pages and uploads in a version control repository and serves them through a web interface.
WikisCopyleft LicenseKnowledge Management+2
Details
WiKiss logo

WiKiss

Wiki, simple to use and install.
WikisCopyleft LicenseKnowledge Management+3
Fully FOSS
Details

Related Software

SilverBullet logo

SilverBullet

6.5k
SilverBullet is a self-hosted, browser-based personal knowledge management platform with a programmable Markdown editor.
Note Taking AppsPastebinsPermissive License+4
Single Container
Details
BookStack logo

BookStack

18.7k
BookStack is an opinionated platform for storing, organizing, and documenting information.
WikisPermissive LicenseKnowledge Management+2
Details
NoteDiscovery logo

NoteDiscovery

2.9k
Markdown note-taking app with plain-file storage, graph view, and MCP integration (alternative to Obsidian, Notion).
Note Taking AppsKnowledge Management
Details
Tiki logo

Tiki

86
Wiki CMS Groupware with the most built-in features.
WikisCopyleft LicenseCMS Platforms+4
Details
WackoWiki logo

WackoWiki

55
WackoWiki is a lightweight multilingual wiki engine that supports editing, access control, themes, file uploads, and email notifications.
WikisKnowledge ManagementSelf Hosting Solutions+3
Details
plumio logo

plumio

142
plumio is a self-hosted markdown editor with live preview, document encryption, and multi-user, multi-organization support.
Note Taking AppsDocument ManagementKnowledge Management+1
Single Container
Details
Many Notes logo

Many Notes

1.1k
Many Notes is a Markdown note-taking web application for creating, importing, organizing, and sharing vault-based notes.
Note Taking AppsPermissive LicenseWikis+2
Details
memEx logo

memEx

2
Structured personal knowledge base, inspired by zettlekasten and org-mode.
Knowledge ManagementCopyleft LicenseNote Taking Apps+2
Details