Khoj vs SiYuan

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?
FeatureKhojSiYuan
CategoryNotes & Knowledge BaseNotes & Knowledge Base
LicenseAGPL-3.0AGPL-3.0
LanguagePythonTypeScript
Setup difficultyMediumMedium
Min. RAM2,048 MB512 MB
Deploymentdocker, bare-metal, sourcedocker, binary, source
GitHub stars★ 36,386★ 45,670
First released20212020
ReplacesNotion AI, EvernoteNotion, Evernote

Why pick each one

Choose Khoj if…

  • Turns notes into an AI knowledge base
  • Supports local LLMs
Khoj details

Choose SiYuan if…

  • Powerful block-based model
  • Works offline and self-hosted
SiYuan details

Frequently asked questions

Is Khoj or SiYuan better?

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

Are Khoj and SiYuan free and open-source?

Yes. Khoj is licensed under AGPL-3.0 and SiYuan under AGPL-3.0. Both can be self-hosted at no software cost.

Can I run Khoj and SiYuan with Docker?

Khoj: yes. SiYuan: yes.

Related comparisons