About SiYuan
SiYuan is an open-source, privacy-first personal knowledge management system. Its distinctive feature is fine-grained, block-level referencing: any block can be linked to or embedded elsewhere, with two-way links, custom attributes and SQL query embeds. Editing is Markdown WYSIWYG, and the project describes itself as a workspace where humans and AI agents work together. It is local-first and self-hostable.
The editor supports block-style writing, list outlines, block zoom-in, very large documents, math formulas, charts, flowcharts and Gantt charts. Web clipping, PDF annotation links, flashcards with spaced repetition, a database table view, Tesseract OCR and multi-tab split-screen layouts are included. You can export blocks and embeds, standard Markdown with assets, or PDF, Word and HTML. AI writing and Q and A chat can use the OpenAI API, and template and JavaScript or CSS snippets allow customization.
SiYuan is AGPL-3.0 licensed and available as desktop apps, mobile apps for Android, iOS and HarmonyOS, an installation package, a package manager, and Docker, Kubernetes, Unraid and TrueNAS hosting. A command line interface and an app market for extensions exist. Most features are free, even for commercial use.
Key features
- Block-level references and two-way links
- Markdown WYSIWYG editor
- Flashcards with spaced repetition
- SQL query embeds and database table views
- Export to Markdown, PDF, Word and HTML
- AI writing and Q and A chat
- Docker, Kubernetes and mobile apps
Good fit for
- →Building a personal knowledge base with linked notes
- →Studying with flashcards and annotated PDFs
- →Self-hosting a private notes workspace
- Built with
- TypeScript
- Tags
- knowledge-management
- note-taking
- markdown
- local-first
- self-hosted
- block-editor
- flashcards
- ai
- wiki
Open-source alternatives to SiYuan
See all
Anytype
Note Taking
Official Anytype client for MacOS, Linux, and Windows
OSSvs Notion★ 8.9k
Trilium Notes
Note Taking
Trilium Notes is an open-source note-taking and personal knowledge base app that runs loca
AGPL-3.0vs Evernote★ 38k
AppFlowy
Note Taking
AppFlowy is the AI collaborative workspace where you achieve more without losing control o
AGPL-3.0vs Notion★ 77k
Logseq
Note Taking
A privacy-first, open-source platform for knowledge management and collaboration. Download
AGPL-3.0vs Notion★ 45k
AFFiNE
Note Taking
There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledg
OSSvs Notion★ 73k
Joplin
Note Taking
Joplin - the privacy-focused note taking app with sync capabilities for Windows, macOS, Li
OSSvs Evernote★ 57k
SaaS alternatives to SiYuan
See all
Notion
Note Taking
Notion is an AI-enabled workspace for notes, docs, wikis and projects, with agents, meeting notes and search across connected apps.
SaaS
Obsidian
Note Taking
Obsidian is a free, flexible note-taking app for private notes, with plugins, linked notes and optional paid Sync and Publish services.
SaaS
Evernote
Note Taking
Evernote is a note-taking app for capturing notes, documents and web clippings and keeping them organized and searchable across devices.
SaaS
Microsoft OneNote
Note Taking
Digital notebook for typed and handwritten notes organized into sections and pages
SaaS
Craft
Note Taking
Visually polished document and notes app with nested pages and sharing
SaaS
Reflect
Note Taking
Networked notes app with backlinks, calendar integration and AI features
SaaS

