KnowledgeApr 3, 2026·3 min read

AFFiNE — Open-Source Notion Alternative

Docs, whiteboards, and databases in one privacy-first workspace. Local-first with real-time collaboration. 66K+ GitHub stars.

AI
AI Open Source · Community
Quick Use

Use it first, then decide how deep to go

This block should tell both the user and the agent what to copy, install, and apply first.

Use instantly at app.affine.pro — free, no account required to try.

Self-host:

docker compose up -d
# From the AFFiNE repo

Desktop app available for macOS, Windows, and Linux at affine.pro.


Intro

AFFiNE is an open-source knowledge management platform with 66,900+ GitHub stars that combines documents, whiteboards, and databases in a single workspace — a privacy-first alternative to Notion. It's local-first (works offline, syncs when connected) with real-time collaboration, block-based editing, and a canvas mode for freeform visual thinking. AFFiNE supports Markdown, rich text, code blocks, embeds, and a Kanban view. With AI features for writing assistance and document summarization, it's the next-generation workspace for knowledge workers.

Works with: macOS, Windows, Linux, iOS, Android, any browser, Docker (self-host). Best for teams wanting a privacy-first, offline-capable alternative to Notion. Setup time: instant (web) or under 5 minutes (self-host).


AFFiNE Features

Three Modes in One

Mode Description
Docs Block-based editor like Notion — headings, lists, tables, code, embeds
Whiteboard Infinite canvas like Excalidraw — draw, connect, brainstorm
Database Structured data like Airtable — tables, Kanban, calendar views

Switch between modes seamlessly. A document can contain whiteboard sections, and a whiteboard can embed document blocks.

Local-First Architecture

  • Works completely offline
  • Data stored locally on your device
  • Syncs when internet is available
  • No data loss on connection drops
  • End-to-end encryption for synced data

Block-Based Editor

Slash commands, drag-and-drop blocks, Markdown shortcuts:

  • Text, headings, lists, toggles
  • Code blocks with syntax highlighting
  • Tables and databases
  • Images, videos, embeds
  • LaTeX math formulas
  • Mermaid diagrams

AI Features

  • Writing assistance (improve, expand, summarize)
  • Document summarization
  • Translation
  • Tone adjustment

Real-Time Collaboration

Invite teammates to edit documents simultaneously with live cursors and presence indicators.

Cross-Platform

  • Web app (any browser)
  • Desktop: macOS, Windows, Linux
  • Mobile: iOS, Android
  • All platforms sync via AFFiNE Cloud or self-hosted backend

FAQ

Q: What is AFFiNE? A: AFFiNE is an open-source Notion alternative with 66,900+ GitHub stars combining docs, whiteboards, and databases. Local-first, privacy-focused, with AI writing assistance.

Q: How is AFFiNE different from Notion? A: AFFiNE is open-source and local-first (works offline, you own your data). Notion requires internet and stores data on their servers. AFFiNE also has a built-in whiteboard mode that Notion lacks.

Q: Is AFFiNE free? A: The core is open-source under MIT. The web/desktop apps are free. AFFiNE Cloud has a free tier for syncing.


🙏

Source & Thanks

Created by Toeverything. Licensed under MIT.

AFFiNE — ⭐ 66,900+

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets