- About
- Open-source, local-first personal knowledge base. Open-source alternative to Notion, Obsidian and Roam Research.
- Catalogue
- No. 182
- Category
- Data & Content
- GitHub stars
- ★ 47.6k+460 this month
- Last commit
- Page updated

Overview
SiYuan is a privacy-first, local-first personal knowledge management system. It supports fine-grained, block-level references and a Markdown WYSIWYG editor. It runs on desktop, Android, iOS and HarmonyOS, and can be self-hosted with Docker.
What it does well
SiYuan has content blocks, databases, flashcards with spaced repetition, OCR, templates and multi-tab split-screen editing. AI writing and Q&A work through the OpenAI API, it can be customised with JavaScript and CSS snippets, and has an API and a community marketplace.
Why it’s in the collection
SiYuan combines Notion-style blocks and databases with Obsidian-style local files, which is rare in one app. It is AGPL-licensed.
Is SiYuan open source?
Yes. SiYuan is open source under the AGPL 3.0 license, so you can read, change and host the code yourself. AGPL 3.0 license text.
How to run it
Download the app, or self-host it with Docker.
From the project’s own README. Official install guide
On GitHub
- Stars
- 47,552
- +460 in 30 days
- Forks
- 3,152
- Commits
- 31,963
- Latest
- Repository
- siyuan-note/siyuan
Languages
- TypeScript 45.4%
- Go 42.6%
- JavaScript 7.5%
- SCSS 1.4%
- Other 3.1%
Compared with
NotionAll-in-one workspace for notes, docs and databases.
ObsidianMarkdown note-taking app built on local files.
Roam ResearchNetworked note-taking app with block references.
See every open-source alternative to Notion, Obsidian and Roam Research in the collection.
Compare it with other open-source note-taking apps.



