selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

AFFiNE Community Edition logo

Self-host AFFiNE Community Edition

v0.27.4

Open-source knowledge base with docs, whiteboards, databases

BetaOpen CoreMIT
Updated2 months ago
LanguageTypescript
Setup difficultyModerate
MobileNative app
Stars
74 541
Port
3010 (AFFiNE web application)
Docker
ghcr.io/toeverything/affine
Install with Docker Compose
AFFiNE docs editor for building connected notes and knowledge base pagesAFFiNE edgeless whiteboard for visual planning and knowledge mappingAFFiNE planning database for tracking projects and team knowledgeAFFiNE AI writing assistant that drafts, summarizes and refines documentsAFFiNE AI generating mind maps and visuals on the edgeless whiteboardAFFiNE AI turning an outline into ready-to-present slides

What is AFFiNE Community Edition?

AFFiNE is an open-source, local-first workspace that merges documents, whiteboards, and databases into one canvas. It serves individuals and teams seeking a Notion and Miro alternative with full data ownership. The block-based editor lets you place any content type on an edgeless canvas, while CRDT sync enables real-time collaboration. Multimodal AI assists with writing, drawing, and planning tasks. Self-hosting uses Docker Compose with PostgreSQL, Redis, and optional S3-compatible storage. The editor and most code are MIT-licensed; the backend uses a source-available license. Native apps are available for desktop and mobile platforms.

AFFiNE Community Edition alternatives

All self-hosted alternatives to Miro → All self-hosted alternatives to Notion →

Should you self-host AFFiNE Community Edition?

AFFiNE Community Edition scores 83/100 on selfhost.directory (how scoring works) and ranks #2 of 42 in Knowledge Management. It has 74 541 GitHub stars, +1 152 in the last 30 days.

It shipped 4 stable releases in the past year. The latest, v0.27.4, came out on 17 August 2026. New versions land roughly every 5 days.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is MIT-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is Memos (85/100, 64 473 stars). It scores higher overall, so compare the two before you pick. See AFFiNE Community Edition vs Memos side by side.

Features

  • Block-based editor
  • Cross-platform native apps
  • Database views
  • Edgeless whiteboard
  • Local-first architecture
  • Multimodal AI assistantRequires BYOK (Bring Your Own Key) with external API keys
  • OAuth/OIDC Authentication
  • Plugin architecture (planned)Announced as coming soon
  • Real-Time Collaboration
  • Self-hosted deployment

AFFiNE Community Edition README

AFFiNE.Pro
Write, Draw and Plan All at Once

affine logo

A privacy-focused, local-first, open-source, and ready-to-use alternative for Notion & Miro.
One hyper-fused platform for wildly creative minds.



AFFiNE - One app for all - Where Notion meets Miro | Product Hunt


Releases All Contributors TypeScript-version-icon


Docs, canvas and tables are hyper-merged with AFFiNE - just like the word affine (əˈfʌɪn | a-fine).

How to install AFFiNE Community Edition

Install AFFiNE Community Edition with Docker Compose

mkdir affine cd affine mkdir -p config curl -L -o docker-compose.yml https://github.com/toeverything/AFFiNE/releases/latest/download/docker-compose.yml curl -L -o config/config.json https://github.com/toeverything/AFFiNE/releases/latest/download/config.json.example

Edit config/config.json to set server.externalUrl

docker compose up -d

Recommended deployment method with PostgreSQL, Redis, and volumes

How to configure AFFiNE Community Edition

  • AFFINE_SERVER_PORT3010Port inside the application container
  • AFFINE_SERVER_EXTERNAL_URLPublic URL for the AFFiNE instance
  • REDIS_SERVER_HOSTlocalhostRedis host
  • REDIS_SERVER_PORT6379Redis port
  • DATABASE_URLPostgreSQL connection string for database bootstrap

    values: postgresql://user:password@host:5432/dbname

AFFiNE Community Edition releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

What license is AFFiNE on GitHub?

Dual-license: editor (BlockSuite), desktop app, and most code are MIT; backend server uses the AFFiNE Enterprise Edition license.

What is the AFFiNE Believer Plan?

A one-time $499.99 purchase giving lifetime personal usage of AFFiNE Pro with 1 TB cloud storage.

What is included in the AFFiNE Free plan?

Local: unlimited workspaces, customization, Doc and Edgeless editing. Cloud Basic: 10 GB storage, 10 MB max file size, up to 3 members per workspace, 7 days version history, up to 3 login devices.

More in Knowledge Management

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…