Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto
Self-hosting

Self-hosted Notion alternatives: AFFiNE, Docmost and more

AppFlowy's server went closed source in 2026. Compare AFFiNE, Docmost, BookStack and Outline on license, editing model and setup for a self-hosted wiki.

CloudSat teamNovember 18, 20266 min read
Abstract illustration of note blocks and a sketch canvas floating above a compact server
On this pageWhat changed in 2026

"Notion alternative" names at least three different products. One is a workspace of blocks, databases and canvases for personal and team notes. One is a team wiki with spaces, permissions and page history. One is a set of databases with views, which Notion users often treat as a lightweight app. Self-hosted tools are good at one of these, rarely all three, so decide which Notion you use before you pick a replacement. The licensing picture also moved in 2026, and that changes the shortlist.

What changed in 2026

AppFlowy was long the most-cited open-source Notion clone with a self-hostable server. That server lived in the AGPL-3.0 AppFlowy-Cloud repository, which is now archived: its README says it no longer builds or distributes the current self-hosted server. Official server images now come from a closed-source commercial codebase, distributed under AppFlowy's commercial license. The free tier covers one user seat per instance, plus up to three guest editors on selected pages; more seats need a paid self-hosted plan. The AppFlowy apps themselves remain AGPL-3.0.

For a solo user, that free tier may be enough. For a team that wanted open-source, self-hosted AppFlowy, the plan now involves a license.

The shortlist

Tool License Model Real-time co-editing Paid extras
AFFiNE MIT (Community Edition) Docs, whiteboard and databases in one canvas Yes Enterprise Edition announced, not yet published
Docmost AGPL-3.0 core Team wiki with spaces and groups Yes Bases, SSO, AI, audit logs, SCIM
BookStack MIT Books, chapters and pages No, one editor at a time None
Outline BSL 1.1 (source-available) Markdown wiki with fast search Yes Hosted plans
AppFlowy Apps AGPL-3.0, server commercial Blocks, databases, AI Yes Seats beyond the first

AFFiNE: the closest to Notion's workspace

AFFiNE merges documents and a whiteboard: any page can switch to an "edgeless" canvas holding rich text, sticky notes, shapes, embedded web pages, linked pages and slides, and multi-view databases can sit on that canvas. It is local-first, so data stays on the device and syncs in real time when you connect a server. The Community Edition is free to self-host under MIT, deployed with Docker following the project's self-host guide. The Enterprise Edition, with rebranding, SSO and advanced admin and audit tools, is announced but not yet published, so today's self-hosted feature set is the community one.

Pick AFFiNE when the team thinks visually: product planning, research boards, mixed notes and diagrams.

Docmost: a wiki first

Docmost is built for documentation that many people edit: spaces, groups and permissions, real-time collaboration, comments, page history, full-text search and attachments. Diagrams come built in through Draw.io, Excalidraw and Mermaid, and pages can embed Airtable, Loom, Miro and other services. The core is AGPL-3.0. Bases (Notion-style databases), SSO, AI features, audit logs and SCIM provisioning sit in the paid Enterprise Edition, which matters if your team relied on Notion databases.

Its Docker Compose file runs the app with PostgreSQL 18 and Redis 8 and answers on port 3000. Two placeholders must change before the first start, and the secret needs at least 32 characters:

mkdir -p ~/docmost && cd ~/docmost
curl -fsSLO https://raw.githubusercontent.com/docmost/docmost/main/docker-compose.yml
SECRET=$(openssl rand -hex 32)
DBPASS=$(openssl rand -hex 16)
sed -i "s/REPLACE_WITH_LONG_SECRET/$SECRET/; s/STRONG_DB_PASSWORD/$DBPASS/g" docker-compose.yml
sed -i "s#http://localhost:3000#https://wiki.example.com#" docker-compose.yml
docker compose up -d

The database password appears twice in the file, in DATABASE_URL and in the database service, which is why the second replacement is global. Put a TLS reverse proxy in front of port 3000 and set APP_URL to the public address, as the last sed does.

BookStack: structure over freedom

BookStack organizes knowledge as shelves, books, chapters and pages, which makes large documentation sets easy to navigate and hard to turn into a mess. It offers a WYSIWYG and a Markdown editor, page revisions, fine-grained permissions down to single pages, diagrams.net drawings and built-in LDAP, SAML2 and OpenID Connect login. It is a plain PHP and Laravel application on MySQL or MariaDB, MIT-licensed, and its development is now managed on Codeberg. It has no real-time co-editing; it warns users when someone else is already editing a page.

Pick BookStack for IT runbooks, internal manuals and customer-facing docs where structure matters more than free-form pages.

Outline: fast and Markdown-native, with a different license

Outline is a polished team wiki with real-time editing, Markdown shortcuts and quick search. It is licensed under the Business Source License 1.1, which makes it source-available rather than open source. Internal self-hosting is common, but read the license before you build a service on it for clients.

Quick picks

  • A small team that wants Notion's feel, canvas included: AFFiNE.
  • A company wiki with many editors, groups and comments: Docmost.
  • Runbooks and manuals that need fixed structure and free SSO: BookStack, whose LDAP, SAML2 and OIDC support costs nothing extra.
  • One person who likes AppFlowy's apps: AppFlowy's free self-hosted tier.
  • A team that needs Notion-style databases above all: a spreadsheet database next to the wiki.

Databases are a separate decision

Notion databases are where these tools differ most. AFFiNE has multi-view databases in its free edition, Docmost keeps Bases in its paid tier, and BookStack and Outline have none. If your Notion use is mostly databases with filtered views, a spreadsheet database is the better home; our comparison of self-hosted Airtable alternatives covers that side.

Moving out of Notion

  1. Export the workspace. Notion exports pages as Markdown with a CSV file for each database, or as HTML. Export per team space if the workspace is large.
  2. Map the structure first. Decide which top-level pages become spaces (Docmost), books (BookStack) or folders (AFFiNE) before importing anything.
  3. Import pages, then rebuild links. Imports handle text and images well; internal links, mentions, synced blocks and embedded databases need checking page by page.
  4. Put databases somewhere real. Load the CSV files into the new tool's databases or into a spreadsheet database, then link to them.
  5. Freeze Notion once the team works in the new tool, and keep the export archive.

On CloudSat, AFFiNE, Docmost and BookStack are one-click apps, so a trial costs an hour of server time rather than an afternoon of setup.

Backups you will actually restore

Every option here keeps text in a database and files on disk. Back up both, together: pg_dump (or mysqldump for BookStack) plus the attachment volume, on a schedule, copied off the server. Restore to a scratch server once, because a wiki backup you have never restored is a guess.

FAQ

Is AppFlowy still open source?

The apps remain AGPL-3.0 and the archived server code stays available under its original license, but the maintained self-hosted server is a closed-source commercial build. Its free tier allows one user seat per instance and up to three guest editors.

Which tool is closest to Notion?

AFFiNE, for the mix of pages, databases and canvas in one place. Docmost is closer to Confluence: better for shared documentation, with databases only in its paid edition.

Can I run these without Docker?

BookStack installs like any PHP application on a LAMP or LEMP server. AFFiNE, Docmost and Outline document Docker as the main path, and it is the easiest one to keep updated.

Run it on CloudSat. Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. See plans or deploy a server.