AFFiNE
Open-source local-first workspace merging a rich document editor, an infinite whiteboard, and a structured database.
Last commit 2026-06-01
AFFiNE (pronounced "a-fine") takes a different architectural bet than most Notion alternatives: instead of building a document editor that can switch views, it builds an infinite canvas where documents and whiteboards are the same surface. In "page mode" you write structured content with blocks, headings, and embedded databases. Switch to "edgeless mode" and that same content floats on an infinite canvas alongside sticky notes, hand-drawn shapes, connectors, and freeform images. No copy-paste between tools required — the same block object lives in both contexts.
The technical foundation is CRDT-based local storage using the BlockSuite library, which the team developed and open-sourced separately. CRDT means the data converges correctly across devices without a central authority resolving conflicts, making offline editing and later sync a first-class behavior rather than an edge case. The server component, AFFiNE Self-Hosted, is available as a Docker image for teams that want collaboration without cloud storage.
The project launched publicly in 2022 and has accumulated a significant GitHub following driven by genuine interest in the whiteboard-meets-wiki model. The honest limitations are maturity and the license: the codebase moves fast, some database features remain in early access, and the custom license — MIT in form but with additional commercial redistribution clauses — is stricter than what most developers expect when they see an MIT badge. For individuals and teams who want brainstorming and structured knowledge in one place without a subscription, AFFiNE is the most distinctive option in the category.
Key features of AFFiNE
- Edgeless canvas mode turns any page into an infinite whiteboard alongside structured text
- Unified block model — the same content can be viewed as a doc, board, or spreadsheet
- Local-first CRDT storage with optional self-hosted or cloud sync
- AI writing assistant integrated directly into the editor
- Self-hosting via Docker with AFFiNE Self-Hosted server
Pros
- Unique whiteboard-meets-document approach covers brainstorming and structured writing in one tool
- Local-first CRDT engine means your data exists on disk before any sync
- Active development cadence with frequent feature releases
Cons
- Younger project than Notion or AppFlowy — some database features remain early-access
- The custom license restricts certain commercial redistribution uses beyond pure MIT
- Self-hosted setup requires more manual configuration than comparable tools
AFFiNE pricing
Free / self-host · open-source · MIT / Custom
Knowledge workers who want a single canvas for both free-form visual thinking and structured note-taking, with local data ownership.
AFFiNE is an alternative to
Frequently asked questions
Is AFFiNE open source?
Yes. AFFiNE is open source (MIT / Custom), so you can read the code, self-host it, and avoid vendor lock-in.
How much does AFFiNE cost?
AFFiNE starts at Free / self-host on a open-source model. Self-hosting can reduce that to infrastructure cost only.
Can I self-host AFFiNE?
Yes — AFFiNE supports self-hosting, giving you full data ownership.