Notion, rebuilt as open source.
Notion's features, and what Notion can't do.
Leafen installs on a computer or a server. Your phone joins with the QR code in the desktop app's Settings › Account.
Notion, as you know itPages and blocks, databases and every view, forms, automations and wikis, the way you used them.
Bring your NotionA workspace comes over with its pages, databases, relations and files as they were.
Phones join by QRThe desktop app is the server. The built-in Tailscale gives the address to use from outside, free for personal use; a company uses its own domain or a paid Tailscale plan. For a team, keep it on a computer that stays on, a NAS or a server with Docker.
All open source, AGPL-3.0Enterprise features such as SSO, SCIM and audit logs included, with no limits.
On a server — Docker
On a server or NAS that stays on, one Docker container runs Leafen. This makes a new folder and starts it there.
Keep its port closed to the internet until you have entered the first administrator's name: from the server's own network the setup asks no code, and some port mappings (rootless Podman, Docker Desktop, Colima, Docker's proxy for IPv6 visitors) make a visitor from outside look like one from that network.
mkdir leafen && cd leafen && curl -fsSLO https://raw.githubusercontent.com/leafen-org/leafen/main/compose.yaml && docker compose up -d && docker compose exec leafen leafen setup link
Once the server is up, the same window shows the setup address. Open it and enter the first administrator's name. · Self-hosting guide