AFFiNE vs LibreKB

A side-by-side comparison of two self-hosted notes & knowledge base options — licensing, setup difficulty, resource needs, and what each one replaces.

Not the right match-up?
FeatureAFFiNELibreKB
CategoryNotes & Knowledge BaseNotes & Knowledge Base
LicenseMITGPL-3.0
LanguageTypeScriptPHP
Setup difficultyMediumMedium
Min. RAM1,024 MB512 MB
Deploymentdockerbare-metal
GitHub stars★ 71,312★ 60
First released20222025
ReplacesNotion, Miro

Why pick each one

Choose AFFiNE if…

  • Versatile workspace
  • Local-first design
  • Modern UI
AFFiNE details

Choose LibreKB if…

  • Released under the GPL-3.0 license
  • Written in PHP
  • Lightweight — runs in 512 MB RAM
LibreKB details

Frequently asked questions

Is AFFiNE or LibreKB better?

Neither is universally better. AFFiNE has the larger community; both share a medium setup difficulty, so the decision comes down to features and licensing.

Are AFFiNE and LibreKB free and open-source?

Yes. AFFiNE is licensed under MIT and LibreKB under GPL-3.0. Both can be self-hosted at no software cost.

Can I run AFFiNE and LibreKB with Docker?

AFFiNE: yes. LibreKB: check the project docs for container support.

Related comparisons