AFFiNE vs Docmost

AFFiNE suits teams that want docs, whiteboards and tables on one canvas and can budget for an Enterprise subscription for production. Docmost suits page-based team wikis on an AGPL core, with paid tiers for SSO, SCIM and page-level permissions.

On this page

AFFiNE vs Docmost: which fits your knowledge base

If you need docs, whiteboards and tables on one canvas, choose AFFiNE, provided a production subscription is acceptable to your budget owner. If you need a page-based team wiki on an AGPL-3.0 core, choose Docmost. Both can be self-hosted, so the question is less whether your team can run them and more what you must pay for and operate once they hold company knowledge. Before comparing features, write down the content types you expect to keep over the next two years, the access model your auditors will ask about, and the people who will patch and back up the server. The decision then turns on three things: the production license terms, the paid features your team needs, and how much self-hosted operating load your team can carry.

Start with the license, because it decides what you can run in production before any feature comparison. The root AFFiNE license keeps content under MIT, but the backend server components fall under the AFFiNE Enterprise Edition license, which requires an Enterprise Edition subscription for production use. Docmost's core is AGPL-3.0, while code in its enterprise directories sits under the Docmost Enterprise license. Next, list the controls your security and compliance teams need, such as SSO, SCIM provisioning, page-level permissions and audit logs, and check each one against the edition that includes it. Docmost's documentation places SSO with SAML 2.0 or OIDC, SCIM, page-level permissions and several importers in its paid features, and its pricing page places audit logs under Enterprise. Confirm the current tier boundaries on the Docmost pricing page before you budget, and ask whether LDAP sign-in is free or paid in the tier you choose.

Then size the operating load. Docmost's installation guide recommends Docker, with a compose template that runs PostgreSQL 18 and Redis 8, requires an APP_SECRET of at least 32 characters, stores files locally by default, and needs WebSockets enabled on any reverse proxy for the real-time editor. Your team owns those components, along with their backups and upgrades. AFFiNE's identity integration, migration path and paid-tier details are not covered here, so confirm them directly with AFFiNE: which SSO and provisioning options exist, how content moves in and out, what the subscription includes, and how upgrades are handled. Get those answers in writing before you commit to either platform, because switching later means moving content and rebuilding access rules.

AFFiNE vs Docmost by team scenario

This table compares AFFiNE and Docmost across the team situations that most often decide between them. Read each row for the better starting fit and the reason behind it, then confirm the items marked for checking against the current plan before you buy or deploy. The main takeaway: AFFiNE suits teams that want docs and whiteboards on one canvas, while Docmost has the clearer path for a wiki with permissions and paid governance features.

Team scenarioBetter fitReason and what to confirm
Product or design team mixing whiteboards and docsAFFiNEDocs, whiteboards and tables share one canvas. Production self-hosting needs a subscription under the EE licence.
IT team writing runbooks and SOPsDocmostSpaces, groups, page-level permissions, comments and page history fit controlled procedures.
Regulated team needing SSO and audit logsDocmostSAML or OIDC SSO is a paid-edition feature, and audit logs and SCIM sit in Enterprise. Confirm AFFiNE's SSO and audit options before comparing.
Team moving from Confluence or NotionDocmostDocumented importers cover Confluence exports and Notion export ZIPs. Confirm which importers your plan includes before migrating.
Small team with no paid budgetDocmostThe self-hosted Community edition is free, with an AGPL core. AFFiNE's self-hosted server needs a subscription for production use.
Team needing page verificationDocmostDocmost lists it as a paid feature with an Enterprise workflow. Confirm whether AFFiNE offers an approval step.
Team embedding diagrams in wiki pagesDocmostDraw.io, Excalidraw and Mermaid are built in, suiting engineering docs. Confirm the diagram tools you need.
Team wanting an AI assistant in the workspaceAFFiNEDrafts reports, turns outlines into slides, makes mind maps. Confirm it runs on your self-hosted build.

How a self-hosted Docmost request flows through proxy, app and storage

A browser request enters the stack at the reverse proxy, which needs WebSockets enabled for the real-time editor. The proxy passes requests to the Docmost server, which stores page data in PostgreSQL 18 and runs alongside Redis 8 in the compose template. Attachments go to local disk by default, and S3-compatible or Azure Blob storage are options you configure. Single sign-on runs from the server to your identity provider over SAML, OIDC or LDAP. The separate AFFiNE branch shows only its documented Docker start path. Confirm its internal components with the vendor before you map them to your own trust boundary.

Docmost request path inside the trust boundary, with AFFiNE's documented Docker start shown separately.

AFFiNE vs Docmost feature by feature, with the conditions that matter

This table compares AFFiNE and Docmost on the features that decide a knowledge base rollout, from licensing and editor model to identity and audit controls. Each cell states what is documented and the condition under which it matters, and cells marked to confirm need a vendor answer before you commit. The main takeaway: Docmost's SSO, SCIM, page permissions, search inside attachments and audit logs sit in paid editions, while AFFiNE's documented feature set centers on its canvas, so confirm its enterprise controls before a regulated deployment.

CapabilityAFFiNEDocmost
License and production useMIT for content, but the backend and native packages need an Enterprise subscription for production. Confirm terms before a production pilot.AGPL-3.0 core is free to self-host; features in ee code paths need the Enterprise license. Fits teams that accept AGPL obligations.
Editor, canvas and diagramsDocs, whiteboards and tables share one canvas. Matters if teams plan visually and in text in one workspace.Page editor with Draw.io, Excalidraw and Mermaid diagrams. Matters if diagrams must live inside wiki pages.
Live collaborationLive sync across web and cross-platform clients is listed in the README. Confirm conflict handling for your client mix.Live editing is listed; WebSockets must be enabled on any reverse proxy. Matters for concurrent editing behind proxies.
Permissions, spaces and groupsConfirm spaces, roles and group support with the vendor before rollout.Spaces, permissions and groups are in the README; page-level permissions are a paid-edition feature. Matters for per-page access.
Comments and page historyConfirm comment threads and page version history on self-hosted builds. Matters for review and rollback.Comments and page history are in the README. Matters for review trails and rollback of wiki pages.
Search and import/exportConfirm with AFFiNE: import formats, export options, and whether PDF and DOCX attachments are searchable.PDF and DOCX search, Confluence and DOCX importers are paid. Markdown, HTML and Notion ZIP import are listed.
REST API and AI featuresAI drafting, slide and mind-map features are listed. Confirm the API surface and whether AI runs on your own model.REST API with personal keys and AI chat with MCP are paid features. Matters if you automate pages or connect agents.
SSO, LDAP, MFA and SCIMConfirm SAML or OIDC, LDAP, MFA and SCIM support before any production pilot.SAML 2.0, OIDC, LDAP, MFA and SCIM are paid features; TOTP appears in the authentication docs. Confirm the edition for each.
Audit logs and self-hosting methodDocker is the self-hosting start point in the README. Confirm audit log scope before any regulated use.Docker is the recommended install; audit logs and SIEM integration are Enterprise features. Matters for regulated audit trails.

What AFFiNE and Docmost charge for, and which code is open

AFFiNE uses two licenses in one repository, and the split matters for a self-hosted server. The root LICENSE file places the content under MIT, with copyright held by TOEVERYTHING PTE. LTD. However, packages/backend and packages/common/native fall under the AFFiNE Enterprise Edition license in packages/backend/server/LICENSE, which allows production use of those components only with a subscription.

  • Community Edition self-hosting: The README states that the Community Edition is free to self-host under MIT. Teams that run it internally should confirm with AFFiNE that this covers their intended use.
  • Server components: The Enterprise Edition terms apply to packages/backend and packages/common/native, so a production server that includes them needs a subscription.
  • Subscription terms: AFFiNE sets the subscription price and tiers. Request the price, the tier list and the components each tier covers in writing before you plan a production rollout.
  • Content and client code: The MIT terms in the root license cover the remaining content, which matters if your team plans to read or fork that code.

Confirm in writing which license governs the exact server build and modules you plan to run, because the MIT label on the repository does not by itself cover the server.

How SSO, LDAP and MFA decide who can sign in

For Docmost, the sign-in question starts with the edition you buy. Its documentation lists email and password, LDAP, SAML or OIDC single sign-on and TOTP multi-factor authentication as authentication methods. Its paid-edition feature list, however, places SSO with SAML 2.0 or OIDC, LDAP, SCIM provisioning and MFA in paid editions. Read together, the two lists do not show which tier unlocks each method, so the methods page alone is not enough for planning. Check the current Docmost documentation and the Docmost pricing page to confirm which tier includes each method, then ask Docmost to confirm it in writing for the version you will deploy. The pricing page places SCIM, audit logs and SIEM integration in Enterprise, so a team that needs automated deprovisioning should plan for an Enterprise conversation.

For AFFiNE, this comparison has no verified detail on single sign-on, user provisioning or admin access controls, so do not treat any sign-in model as settled. The README describes self-hosting with Docker and real-time sync across clients, and says the Community Edition is free to self-host under MIT. The server components in packages/backend fall under the Enterprise Edition license, which requires a subscription for production use, so confirm with AFFiNE which edition and identity features apply to your deployment. Before you shortlist it, ask the vendor in writing which sign-in options exist (for example OIDC, SAML or LDAP), how a leaver's access is removed and how quickly, whether administrators can restrict workspace membership, and whether sign-in events and admin changes are written to an audit log you can export.

Whichever platform you consider, a regulated team should test the identity path before approving a rollout. Confirm that MFA is enforced by the identity provider or by the application, not left to each user's choice, and that a disabled directory account loses access to existing sessions as well as new logins. Check whether directory groups map to space or page permissions and who can change those mappings. Keep at least one local administrator account for recovery, and record who holds it and when it may be used. Ask for the log fields that show sign-in failures, role changes and deletions, and confirm where those logs are stored. Get every answer in writing against the edition and version you will run, since tiers, provisioning and logging can differ between community and paid builds. DeployOpen can test these controls and prepare the evidence, but auditors and certification bodies issue the reports and certifications.

What drives the running cost of each, and what to ask for in a quote

License fees are only part of what you pay. Infrastructure, staff time for patching and backups, paid seats, upgrade testing and implementation work each carry their own one-time or recurring cost. The cards below show what drives each line for AFFiNE and Docmost, and what to confirm before you ask a vendor or partner for a quote.

Hosting and database footprint

Docmost runs PostgreSQL 18 and Redis 8 beside the app, so each needs patching, backup and capacity planning. Files stay on local disk by default, and S3-compatible or Azure Blob storage adds a storage bill. Setup is one-time; compute, storage and database capacity recur and grow with users and attachments. Confirm AFFiNE's database, cache and storage requirements before you size servers.

Docmost installation docs

Who patches and backs up

Your team owns patching, backups and restores on either platform unless you buy a DeployOpen retainer, and that staff time recurs every month. For Docmost, the duties cover the application, PostgreSQL, Redis and the file store, and a restore test should cover all four. Initial backup setup is one-time. Name who holds each duty and who is on call. Ask AFFiNE which components you must patch and back up yourself.

Paid edition seats and features

Docmost Business costs $6 per seat per month, billed annually, with a 10-seat minimum. Docmost's pricing page lists Enterprise at custom pricing, with SCIM, audit logs and SIEM integration. Seats recur monthly and grow with headcount, so count only the users who need SSO or SCIM. The Community edition is free to self-host, but SAML 2.0 or OIDC single sign-on, LDAP and page-level permissions sit in the paid editions. Confirm AFFiNE's subscription terms for production use directly before you budget.

Docmost pricing

Upgrade and regression testing

The latest Docmost tag we checked is v0.96.0, dated September 8, 2026, so check the current release before planning an upgrade window. Each upgrade needs a staging test covering SSO, the real-time editor behind your reverse proxy, and imports. The AFFiNE README showed no release version or date when we checked, so ask which release line and upgrade path it supports. Test time recurs with every release, and skipping it moves the cost into outages.

Docmost release tags

Implementation scope and quote

Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. The quote follows from that written scope, so the one-time cost covers deployment, SSO, backup setup and handover. Ongoing support, upgrades and continuous testing are separate retainers, and they recur. DeployOpen does not publish a price list. Ask every bidder to itemize the one-time work and the retainer.

Where AFFiNE and Docmost projects usually run long

The longest Docmost projects usually stall on configuration decisions made before any content moves. Start with the APP_SECRET, which the Docker compose template requires to be at least 32 characters. Generate it in your secret store, keep it stable across restarts, and confirm with the Docmost installation documentation what changing it later would affect. Next, the reverse proxy needs WebSockets enabled for the real-time editor, so test with two signed-in users on the proxied hostname before anyone else is invited. Finally, files are stored locally by default, with S3-compatible and Azure Blob storage as options. Choose the storage backend before the first upload, and confirm that your backup plan covers both the database and the file store.

Imports and sign-in cause the second wave of delay. Docmost's import dialog accepts Markdown, HTML, DOCX, a Notion export ZIP and a Confluence export, but the Confluence and DOCX importers are listed as paid-edition importers, so confirm your edition before planning the migration. Run a pilot space first and check three things: internal links that still point at old Confluence or Notion addresses, attachments that fail to arrive or open, and permissions that do not map cleanly onto Docmost spaces and groups. For sign-in, SAML 2.0 and OIDC sit on the paid tier, and the pricing page places SCIM provisioning in the Enterprise plan. Ask your identity team which provisioning behavior they require before choosing a plan.

AFFiNE projects run long for different reasons. The backend packages fall under the AFFiNE Enterprise Edition license, which requires a Enterprise Edition subscription for production use, so buying that subscription is a procurement step to schedule with legal and finance before go-live. The README documents a Docker path and one-click options for Render and Sealos. Each path still needs hosting, database and backup decisions from your platform team, and the one-click defaults are a starting point rather than a finished production setup. The README does not settle identity setup or a content migration path from your current sources, so ask the vendor to confirm sign-in options and import routes against a sample of your content before scoping. Across both platforms, the client team must supply a named owner who can make configuration decisions, admin access to the hosts and identity provider, a test instance that mirrors production, and content owners who sign off on migrated pages.

Moving content between AFFiNE and Docmost, step by step

This sequence moves knowledge content from AFFiNE to Docmost while keeping a written record of what transferred, what was rebuilt and what still needs a person to check. Each step closes with a check you can file. Confirm AFFiNE's export paths with the vendor first, since they set what can move at all.

  1. Inventory content types, attachments and permissions

    List every AFFiNE workspace and sort its contents into documents, whiteboard canvases, tables, embedded files and attachments. For each item, note who can see it, which pages link to it, and whether comments or page history matter to your team. Page-level permissions are a paid-edition feature in Docmost, so mark which pages need them. Output: a written inventory that labels each item as transfers directly, needs conversion or will be rebuilt by hand, signed off by the workspace owners.

  2. Confirm AFFiNE export paths with the vendor

    Ask AFFiNE's maintainers or your support contact which export formats and methods the self-hosted server supports for pages, whiteboards and attachments, and whether bulk export is available. Check this against the terms of your AFFiNE license, since the server components fall under an Enterprise Edition license for production use. Nothing downstream can be scoped until this answer is in writing. Output: a short written export path per content type, with the person who confirmed it and the date, kept with the inventory.

  3. Convert content into Docmost import formats

    Convert the exported AFFiNE content into the formats Docmost's import dialog accepts: Markdown or HTML files, including in a ZIP archive. The DOCX and Confluence importers are paid-edition features in Docmost, so confirm your edition covers any Word or Confluence sources before you plan around them. Plan for text and headings to carry over, and verify tables, embedded boards and links during the pilot before you trust them. Output: one converted folder per space and a conversion log listing anything skipped or flattened.

  4. Rebuild spaces, groups and page permissions

    The Docmost admin creates the spaces and groups that match your inventory, then rebuilds page-level permissions by hand. Plan on rebuilding access rules in Docmost and verify each one after import. If you use SSO, SAML 2.0 and OIDC are paid-edition features, so confirm your edition before mapping roles. Output: a permission matrix listing each space, group and restricted page, checked by a second person.

  5. Map canvas and whiteboard content to pages

    Decide how each AFFiNE canvas or whiteboard will appear in Docmost before any conversion runs. Docmost's README lists Draw.io, Excalidraw and Mermaid diagrams, so some boards may be rebuilt in one of those tools, while others may need to stay as exported files if the export path allows it. The fidelity of each rebuild should be tested during the pilot. Confirm the mapping with the AFFiNE vendor, since canvas export is one of the paths you still need to confirm. Output: an approved mapping table listing each board, its Docmost target, and whether it is rebuilt, attached or archived.

  6. Pilot one space and check links and history

    Import one representative space into a non-production Docmost instance and test it end to end. Open internal links, check whether comments and page history transferred, and open each attachment to confirm it still works. Include at least one restricted page and one converted board, since those need the closest checking. Output: a pilot log listing each failure, the fix or accepted loss for it, and a rerun of the same checks after fixes.

  7. Cut over with a read-only window

    Set AFFiNE to read-only for the content being moved, confirming with your admin or the vendor how to do that on your server. Run the final export from that frozen state, convert it, and import it into the production Docmost instance. Repeat the pilot's link and permission checks before reopening anything to users. Docmost can export pages or whole spaces as Markdown or HTML, so test that path now as a way back. Output: a cutover record listing the final import, the checks passed and the date editing stopped in AFFiNE.

What buyers ask before they choose AFFiNE or Docmost

How much does it cost to run AFFiNE or Docmost yourself?

Both platforms can be downloaded and self-hosted for free under their community terms, but the total cost comes from licenses, people, infrastructure and support. For AFFiNE, the README says the Community Edition is free to self-host under MIT, while production use of Enterprise Edition components requires a subscription, so ask AFFiNE for that price. For Docmost, the pricing page lists a free self-hosted Community edition, a Business plan at $6 per seat per month billed annually with a 10-seat minimum, and a custom-priced Enterprise plan. Recurring costs include seats, hosting, backups, upgrades and any support retainer. One-time costs include the initial deployment, integrations and migration. Ask for each quote to list license, seats, hosting, setup, testing and ongoing support as separate lines, using the quote checklist on this page. DeployOpen does not publish a price list, and a quote follows from the written scope.

How long does a self-hosted AFFiNE or Docmost rollout take?

The duration depends mainly on scope, so no single timeline applies to both platforms. The main drivers are the number of environments you need, such as test and production, how far the install departs from the standard Docker setup, how many identity, reverse proxy and storage integrations you wire up, and how much content must be migrated and cleaned. Security and compliance approvals before go-live often take longer than the technical install. Hosting platform changes and network approvals can also add waiting time. Ask any implementation partner, including DeployOpen, for a written scope that lists environments, integrations, migration work, testing, handover and milestones. DeployOpen works on fixed-scope engagements, so scope, deliverables and timelines are agreed in writing before work starts. Use that written scope to compare the two platforms on the same terms.

Can our internal admin team run AFFiNE or Docmost without a partner?

A capable internal admin team can run either platform, provided it already has the skills the deployment needs. Docmost's recommended Docker installation uses a compose template with PostgreSQL 18 and Redis 8 images, requires an APP_SECRET of at least 32 characters, and needs WebSockets enabled on any reverse proxy for the real-time editor. AFFiNE also starts with Docker, so container and proxy skills apply to both. Check your team against these areas:

  • Docker and compose for upgrades, rollbacks and volume backups
  • PostgreSQL administration, backups and restore tests
  • Redis operation and monitoring
  • Reverse proxy and TLS configuration, including WebSocket handling
  • Identity integration with SAML, OIDC or LDAP

If two or more of these areas are thin, plan for a partner or training before go-live. Confirm current setup steps in the install documentation for the version you choose.

Can AFFiNE run in production without an Enterprise subscription?

The answer depends on which components you run, because the license terms separate them. AFFiNE's root LICENSE file says content is MIT licensed, except packages/backend and packages/common/native, which fall under the Enterprise Edition License in packages/backend/server/LICENSE. That license says production use of Enterprise Edition components requires an Enterprise Edition subscription. The README says the Community Edition is free to self-host under MIT. Because license boundaries can change between releases, confirm in writing with AFFiNE which components your deployment would use, whether a subscription is required for your setup, and what that subscription costs. Involve your legal and procurement teams in that review before you plan a production rollout, and keep the confirmation on file for your compliance evidence.

Does Docmost's SSO and audit logging require a paid plan?

Yes for the features buyers usually ask about, according to Docmost's documentation and pricing page. The documentation lists SSO with SAML 2.0 or OIDC and LDAP among paid-edition features. Its authentication methods list includes email and password, LDAP, SAML or OIDC, and TOTP multi-factor authentication, while the paid-edition list also names MFA, so confirm which MFA options your edition includes. The pricing page places audit logs, SCIM provisioning and SIEM integration in the custom-priced Enterprise plan. The Business plan is listed at $6 per seat per month billed annually with a 10-seat minimum. Because edition boundaries can change, ask Docmost for its current feature matrix in writing and confirm each control against the edition you plan to buy before you commit.

What does moving from Confluence or Notion into a wiki need from our team?

The migration needs decisions from your team more than it needs software features. Assign a content owner for each space who decides what to keep, merge or archive, a permission mapper who translates existing spaces and teams into the target groups and spaces, and a business sign-off approver who reviews samples of migrated pages and access. Docmost's import dialog accepts a Notion export ZIP, a Confluence export, Markdown and HTML files, and DOCX documents, but its documentation lists the Confluence and DOCX importers among paid-edition features, so confirm your edition covers them. Access rules rarely move cleanly, so test one space end to end before the full run. Expect cleanup of broken links and attachments. Confirm AFFiNE's import options with AFFiNE before comparing migration effort. Include migration in the written scope only if you agree to it.

How DeployOpen helps choose, implement or migrate without favoring either platform

DeployOpen plans, implements, integrates and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For AFFiNE vs Docmost, we start by checking your licensing, identity and content requirements against both products, then record the findings in a written scope before any build work begins. Both platforms are judged on the same criteria throughout.

How we scope

  • Scope confirms how AFFiNE's Enterprise Edition license applies to your production server packages.
  • Scope lists which Docmost paid features you need, such as SAML or OIDC sign-on, SCIM provisioning and page verification.
  • Engagements are fixed-scope, with deliverables, timelines and migration method agreed in writing before work starts.

How we build

  • Build covers Docmost's Docker install on PostgreSQL 18 and Redis 8, with an APP_SECRET of at least 32 characters.
  • Build includes reverse proxy configuration with WebSockets enabled, which Docmost needs for its collaborative editor.
  • Build for AFFiNE includes Docker-based self-hosting, with the sync, backup and access settings your written scope names.

How we hand over

  • Handover includes an import test log for each source, such as Confluence exports, DOCX files or Notion ZIP archives.
  • Documentation covers the configuration, backup and upgrade steps your own team needs to run the platform after go-live.
  • Handover names the page-level permission model and admin settings for review by your security and compliance teams.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after the initial handover.
  • Ask the retainer quote to name which platform versions, and which upgrade steps, are covered.
  • Plan a retest after upgrades that touch sign-in, permissions or file storage.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.