# AFFiNE — Open-Source Notion Alternative > Docs, whiteboards, and databases in one privacy-first workspace. Local-first with real-time collaboration. 66K+ GitHub stars. ## Install Copy the content below into your project: # AFFiNE — Open-Source Notion Alternative ## Quick Use Use instantly at [app.affine.pro](https://app.affine.pro) — free, no account required to try. Self-host: ```bash docker compose up -d # From the AFFiNE repo ``` Desktop app available for macOS, Windows, and Linux at [affine.pro](https://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](https://github.com/toeverything). Licensed under MIT. > > [AFFiNE](https://github.com/toeverything/AFFiNE) — ⭐ 66,900+ --- ## 快速使用 访问 [app.affine.pro](https://app.affine.pro) 立即使用,或下载桌面应用。 --- ## 简介 AFFiNE 是拥有 66,900+ GitHub stars 的开源知识管理平台,将文档、白板和数据库合为一体。本地优先(离线可用)、隐私优先、AI 写作辅助。Notion 的开源替代品。 --- ## 来源与感谢 > Created by [Toeverything](https://github.com/toeverything). Licensed under MIT. > > [AFFiNE](https://github.com/toeverything/AFFiNE) — ⭐ 66,900+ --- Source: https://tokrepo.com/en/workflows/a517c512-e1ff-4814-98f6-65dd2757616d Author: TokRepo精选