AFFiNE
Open-source knowledge base combining note-taking, whiteboard, and project planning in one workspace.
AFFiNE is an open-source, privacy-first workspace that merges three tools into one: a rich document editor, an infinite whiteboard, and a database-style organiser. It is designed to replace the combination of Notion for notes and Miro for visual collaboration.
Built with a local-first architecture using CRDT, AFFiNE works offline by default and syncs when connected — meaning your data lives on your device, not just in the cloud. It supports both self-hosted deployment and AFFiNE Cloud for teams that want a managed option.
AFFiNE is highly customisable and supports markdown, block-based editing, kanban views, and edgeless canvas mode for mind-mapping and diagramming. Written in TypeScript and Rust, it is actively developed and positions itself as a next-generation alternative for knowledge workers who want flexibility without vendor lock-in.
Build with:
Frequently Asked Questions
What is AFFiNE and how does it compare to Notion?
AFFiNE is an open-source workspace that fuses docs, whiteboards, and multi-view databases into a single local-first app — the project describes itself as a Notion + Miro alternative. The editor is built on the open-source BlockSuite block framework and a large part of the engine is written in Rust, with cross-platform clients via Electron. Any block type — text, sticky notes, embedded pages, databases, shapes, slides — can live on the same edgeless canvas.
Can I self-host AFFiNE, and what license is it under?
Yes. The project publishes self-host instructions and the codebase is mirrored on GitHub with around 70K+ stars. The repository's license field is listed as Other on GitHub, so the full terms live in the LICENSE file and should be reviewed before any commercial redistribution. Self-hosting for personal or internal use is a documented, supported use case.
What does "local-first" mean in AFFiNE?
AFFiNE stores your workspace on your own disk by default, and the cloud sync is optional rather than mandatory. Real-time collaboration runs over a CRDT-based sync layer across the web and cross-platform clients, so you can keep working offline and changes merge when peers reconnect. You can also self-host the sync server to keep your data inside your own infrastructure instead of the hosted cloud.
Does AFFiNE have AI features?
Yes — AFFiNE AI is a built-in multimodal assistant that can draft reports, turn outlines into slides, summarize articles into mind maps, and generate code prototypes from a single prompt. Its output lands on the same edgeless canvas as regular blocks, so you can keep editing the AI result like any other content. The hosted cloud offers AI credits, and self-hosted instances can point the assistant at your own model endpoint.
Repository details
Updated 8/20/2026, 8:00:18 AM
View RepositoryRepository activity
Compare AFFiNE with
Similar open source alternatives
AppFlowy
Open source Notion alternative that brings projects, wikis, and teams together with AI while keeping you in control of your data.
HelixNotes
A fast, privacy-first local markdown note-taking app built with Tauri and SvelteKit. Your notes stay as plain .md files on your device.
ObsidianJotty
Lightweight self-hosted app for managing personal file-based notes and checklists.
Outline
The fastest growing-team knowledge base — beautiful, realtime collaborative, feature packed, and markdown compatible Notion and Confluence alternative.
memos
Privacy-first, self-hosted note-taking platform with markdown support, tagging, and built-in AI — a lightweight alternative to Notion and Obsidian.
Obsidian
SilverBullet
Markdown-based note-taking app with powerful live queries, templates, and a pluggable scripting system for power users.