Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL
Add a star history chart too →

toeverything/AFFiNE

Productivity

Open-source, local-first workspace combining documents, whiteboards and databases as an alternative to Notion and Miro.

Best position on GitHub Trending (daily): #13. Click to get this badge for your README
74,932
5,550
TypeScript
NOASSERTION
4 years old

What AFFiNE is

AFFiNE is an open-source, local-first workspace that merges documents, an edgeless whiteboard and multi-view databases into one product. Rich text, sticky notes, embedded pages, shapes and slides can all be placed on the same canvas, which makes it a potential replacement for the separate Notion and Miro workflows. It targets note-takers, planners and small teams that want to own their data and optionally self-host.

Local-first means data lives on your disk; the project also provides real-time sync and collaboration across web and desktop clients. An optional AFFiNE AI feature covers writing, outlining, mind maps and slide generation. The collaborative editor is built on BlockSuite, with y-octo/OctoBase providing the CRDT and storage layer.

Quick start

You can try it without registering: open the live demo and choose to get started, where data stays in local browser storage with a warning that it can be lost unless you create an account (confirmed in an HN discussion).

To run it as a desktop application, download an installer from the download page or the latest release, install it and create or open a workspace. To build from source, use a GitHub Codespace from the repository's Code button or follow the local build instructions in docs/BUILDING.md. For a server deployment, start with the self-host documentation, which uses Docker and the affine-self-hosted container image.

Self-hosting and licensing

The Community Edition can be self-hosted for free under the MIT license. An Enterprise Edition with features such as SSO, advanced admin and branding is announced as forthcoming, not yet published, so its exact terms are not available here. Before self-hosting, check the official self-host guide for supported deployment targets and configuration; the README points to Render and Sealos deploy buttons as shortcuts.

Constraints

  • The repository uses TypeScript and Rust components; building from source requires the toolchain described in the build documentation rather than a single command.
  • Desktop and web clients sync through the backend, while local-first storage means account creation is optional but recommended for durable data.
  • Code contributions require signing the Contributor License Agreement before pull requests can be merged.
  • Confusing README language: the project links many templates and blog posts, but those are marketing/SEO content, not documentation of the app's internals.

HotRepo's take

AFFiNE reached a best GitHub daily rank of 13, and on 2026-11-19 it gained 170 stars in the daily all-language list, putting its total near 74,800 stars. The Hacker News discussions from 2024–2025 consistently frame it as the closest open-source answer to Notion and Miro, and one commenter noted that it can be tried without an account and also run locally. The project's long-running popularity and active upstream ecosystem (BlockSuite, y-octo, OctoBase) suggest it is a mature option rather than a weekend experiment, though the README's heavy template and blog linking means readers should go to the docs for actual usage details.

Written by AI from the project's README, updated . The project's own docs are the source of truth.

Hacker News

The closest open-source alternatives to Notion and Miro
▲ 27 · 12 comments · November 14, 2024
AFFiNE is a next-gen knowledge base
▲ 12 · 0 comments · December 29, 2024
There can be more than Notion and Miro
▲ 4 · 1 comment · October 27, 2025

You might also like

  1. TriliumNext/TriliumA self-hosted, local-first notes app for people building a deeply linked personal knowledge base that they control.TypeScript38,542
  2. Timaga/noda-local-ai-notesWindows local-first Markdown note app with knowledge graph, semantic search and cited-source chat.JavaScript105
  3. macro-inc/macroA single all-in-one workspace for small teams replacing the Slack + Notion + Linear + Gmail + CRM stack with one @-linked system.Rust4,902
  4. tianma-if/edgeeverOpen-source, self-hostable note-taking workspace with three-pane editing, instant sync, web clipper and MCP for AI agents.TypeScript3,427
  5. jessepinkman9900/claude-second-brainScaffolds a Claude Code–maintained Obsidian wiki with local hybrid search and Git sync for personal knowledge management.JavaScript166