Skip to content

AFFiNE

Privacy-focused knowledge base and workspace — an open-source alternative to Notion.

Imageghcr.io/toeverything/affine:stable
Web UIhttp://your-server:3010
Config path{BASE_DIR}/affine/config
Websiteaffine.pro
Source codeGitHub

Resource Impact

PerformanceMedium — Knowledge base engine
StorageMedium — PostgreSQL database

Installation

sh
mithrandir install affine

Architecture

AFFiNE runs as a multi-container stack:

ContainerDescription
affine_serverMain AFFiNE application server (port 3010)
affine_migration_jobDatabase migration job (runs once on startup)
affine_postgresPostgreSQL 16 with pgvector extension
affine_redisRedis for caching and session management

Secrets

VariableDescription
AFFINE_DB_PASSWORDPostgreSQL password (default: affine)
AFFINE_DB_USERNAMEPostgreSQL username (default: affine)

Setup

  • Open the web UI at http://your-server:3010
  • Create an account and start using AFFiNE

Clients

Mobile clients for AFFiNE are available for iOS and Android.