Foam 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?
FeatureFoamSiYuan
CategoryNotes & Knowledge BaseNotes & Knowledge Base
LicenseMITAGPL-3.0
LanguageTypeScriptTypeScript
Setup difficultyEasyMedium
Min. RAM256 MB512 MB
Deploymentsourcedocker, binary, source
GitHub stars★ 17,328★ 45,670
First released20202020
ReplacesRoam Research, ObsidianNotion, Evernote

Why pick each one

Choose Foam if…

  • Released under the MIT license
  • Easy to set up — beginner-friendly
  • Mature project with 17.3k GitHub stars
  • Written in TypeScript
Foam details

Choose SiYuan if…

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

Frequently asked questions

Is Foam or SiYuan better?

Neither is universally better. SiYuan has the larger community, while Foam is simpler to set up (easy difficulty). Choose based on the comparison table above and your own setup.

Are Foam and SiYuan free and open-source?

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

Can I run Foam and SiYuan with Docker?

Foam: check the project docs for container support. SiYuan: yes.

Related comparisons