docs-wiki
Notion alternatives: two you can genuinely self-host, and three that fail on licence
Notion starts at $10/mo. Here are 2 open-source alternatives — ranked, opinionated, and refreshed daily against the GitHub API. No paid placements in the rankings. No AI-slop lists.
Comparison table (live data)
GitHub metrics snapshot: 2026-07-29
Notion Plus costs $120 per seat per year. A server to run an open-source wiki on costs about $600 per year — and that number does not go down when your team is small. So for one person, self-hosting costs roughly $480 more annually than just paying Notion. For three people it is about $240 more. The arithmetic only flips somewhere around ten seats, where Notion reaches $1,200 and your server bill has not budged.
That is the opposite of what most "best open-source Notion alternatives" lists conclude, and the reason is simple: they compare a $6/mo VPS against a SaaS invoice and stop there. We think the more useful question is which tool you should run when you have decided to self-host — because plenty of teams have good non-financial reasons to — and that question has a clear answer.
Two projects survive a licence, maintenance and security check: Docmost (AGPL-3.0) and BookStack (MIT). Three of the most-recommended options do not, and in every case it is the licence or the commit history that disqualifies them rather than the feature set.
Who should not read this
If you use Notion primarily for its relational databases — linked records, rollups, formulas across tables — neither free alternative here replaces that, and you should stay on Notion. If you are a solo user or a team of two or three, the arithmetic above says paying Notion is the cheaper answer and we are not going to dress that up. This guide is for teams who either have grown past the crossover point or have a reason to control the infrastructure that outweighs the cost.
1. What Notion costs, and what self-hosting costs
Notion Plus is $120 per seat per year, verified from Notion's own pricing payload. The seat ladder is linear, which is what makes the crossover point predictable:
| Team size | Notion Plus / yr | Self-host / yr | Difference | Grade |
|---|---|---|---|---|
| 1 seat | $120 | $600 | $480 worse | D |
| 3 seats | $360 | $600 | $240 worse | D |
| 10 seats | $1,200 | $600 | $600 better | B |
The $600 figure is a server in the 2-4 GB class plus a modest allowance for the hours you will spend on backups, upgrades and TLS renewals. Neither Docmost nor BookStack publishes a minimum hardware specification, so the tier assignment is our sizing judgement rather than a vendor figure, and we label it that way in our methodology.
One thing that is genuinely free here, unlike the video and email cases we have written about: neither of these tools needs object storage or metered delivery. Both default to local disk. There is no per-gigabyte line item waiting to surprise you, which makes the wiki category unusually honest — the server bill really is close to the whole bill.
2. Docmost — the closest thing to Notion's feel
Closest thing to Notion's editing feel that you can actually self-host under an OSI licence, and the deploy is genuinely small: three containers, local disk by default, no object storage required. APP_SECRET must be replaced or the app refuses to start, which is a safer default than shipping working placeholder secrets. The honest catch is the enterprise gate: databases (Kanban/Bases), SSO, page-level permissions and the Confluence importer are paid features, so 'self-host Docmost instead of paying for Notion' understates the cost for anyone who needs those.
Deployment: Docker Compose, three services: Docmost + postgres:18 + redis:8. APP_SECRET must be at least 32 chars or the app will not start. Default file storage is local disk; S3/Azure optional. WebSockets must be enabled on the reverse proxy or the realtime editor breaks. Health endpoint /api/health.
Security posture: HEALTHY verified 2026-07-26: 21,130 stars, 19 commits in the 28-day window, last commit 2026-07-21, AGPL-3.0. 9 CVEs on NVD with NO critical - highest 7.3 (CVE-2026-24045, 2026-02-10), next 7.1 (CVE-2026-22249). Verified in research/loom-notion-oss-health.md.
The paid gate is the thing to understand before you commit
Docmost is open core. The AGPL-3.0 edition is a real, complete wiki, but a set of features many teams consider essential sit behind the Business plan at $4/seat/mo, or $3.5/seat/mo annually, with a 10-seat minimum. That minimum is what matters: it puts a hard floor of $420/yr under those features even for a team of three.
Behind the gate: Kanban and Bases (databases), SSO (SAML/OIDC/LDAP), page-level permissions, AI and MCP, Confluence importer, attachment search, MFA, API keys, version history, remove branding.
So "self-host Docmost instead of paying for Notion" is accurate only if you do not need SSO or databases. If you do, the honest comparison is $420/yr plus your server against Notion's $360 for three seats — and Notion wins that comfortably. One point in Docmost's favour: licence keys validate offline, and when a licence expires the workspace reverts to the open-source edition with your content intact rather than locking you out.
3. BookStack — the one with no paywall at all
The only tool in this comparison with no paid tier and no enterprise feature gate at all - LDAP, SAML and OIDC ship in the free MIT product, which is exactly the arithmetic that makes it beat Docmost for teams that need SSO. The tradeoff is real: a dated editing experience next to Notion, no comparable realtime co-editing, and a LAMP-style install rather than one container.
Deployment reality: The LAMP-style outlier: PHP >= 8.2, MySQL >= 8.0 or MariaDB >= 10.6, a PHP-capable webserver, Composer >= 2.2 and git. Not a single-container deploy - official Docker images are community-maintained (LinuxServer.io, solidnerd). Shared hosting is explicitly unsupported. The Ubuntu install scripts are fresh-OS-only and may overwrite an existing web setup. Manual installs leave default credentials admin@admin.com / password, which must be changed immediately.
Security posture: HEALTHY verified 2026-07-26: 11 commits in the 28-day window, last commit 2026-07-23, release v26.05.2 on 2026-07-02, MIT. 22 CVEs via keyword search but the record is dominated by old issues - the 9.8 critical is CVE-2021-4119 from 2021; newest are CVE-2026-5484 (2026-04-03) and CVE-2024-36676 (7.5, fixed in v24.05.1). Verified in research/loom-notion-oss-health.md.
Do not judge this project by its star count
DO NOT cite a GitHub star count for BookStack as a popularity signal. The project moved to Codeberg, where the repo shows 220 stars against a 2026-04-27 creation date - that reflects the migration, not project age or adoption.
This is worth dwelling on because it inverts the usual heuristic. In this comparison the two projects with the most GitHub stars are both unusable, and one of the two we recommend appears — if you read the wrong repository — to be tiny. Stars measure attention at a moment in time, and they follow the repository rather than the project.
4. The three popular options that fail, and why
Each of these appears near the top of most "open-source Notion alternative" lists. We checked the licence files and commit histories directly.
Outline — not open source
Licensed under the Business Source License 1.1 with a change date in 2030. BUSL is source-available, not OSI-approved open source, and any list that files Outline under "open source" is wrong on a checkable fact. It also carries a CVSS 9.8 critical vulnerability. Good product; not what it is usually claimed to be.
AFFiNE — the backend is not free for production
The repository root is MIT, which is what most articles report. But packages/backend and packages/common/native fall under the AFFiNE EE licence, which permits production use only with a paid subscription, and self-hosted deployments are capped at 10 seats per workspace.
A nuance we want to be precise about, because it cuts in AFFiNE's favour: their pricing FAQ says the backend is available to "review" only, but the actual EE licence text explicitly permits copying and modifying the software for development and testing without a subscription. The licence file is the operative document, so the correct summary is that production self-hosting needs a paid licence — not that you may only look at the code.
AppFlowy — releases ship from private repositories
74,000-plus stars and zero commits on the public main branch during our 28-day window, while tagged releases kept appearing. AppFlowy's own README explains the discrepancy: the shipped product is "a closed-source fork of this open-source codebase, combined with our proprietary code," and the team is consolidating work into private repositories. The self-host free tier grants one user seat. The public repository is not the product.
Wiki.js — unmaintained with a critical CVE
Zero commits since May 2026 plus a CVSS 9.1 critical in which JSON Web Tokens are not invalidated on logout. For a tool holding your internal documentation behind a login, that combination is disqualifying.
5. Verdict
- 1-3 seats: pay Notion. Self-hosting costs $480 more per year at one seat and $240 more at three. There is no arrangement of these numbers that makes a wiki server cheaper than $360.
- Around 10 seats and up: self-hosting starts paying. Notion reaches $1,200 while the server bill stays flat, a $600 annual swing.
- If you need guaranteed-free forever: BookStack. MIT, no paid tier, SSO included. Accept the PHP deployment and the dated editor.
- If you want Notion's editing feel: Docmost. AGPL-3.0, three containers, realtime co-editing. Budget $420/yr if you need databases or SSO.
- If you rely on Notion databases: stay on Notion. Neither free option replaces relational tables, and we would rather say so than sell you a migration you will reverse.
The pattern here matches what we found with email and video: the seat-billed tools are the ones where self-hosting eventually wins, because the SaaS bill grows with headcount while a server does not. Notion is seat-billed, so the crossover exists and is reachable. It just is not at three people.
Ready to deploy?
The self-host options above all run cleanly on modern VPS providers. Our recommended stack:
We earn a commission from DigitalOcean, Cloudways and Vultr when you sign up through the links above, and from some links in the article. We only include hosts we run production workloads on. Prices shown are the vendors' published rates; clicking through does not change what you pay. The OSS rankings above are independent of this section.