# SiYuan

> A privacy-first, self-hosted knowledge workspace where humans and AI agents work together

Source: https://talira.ai/catalog/siyuan-4zt65kvq
Every listing: https://talira.ai/catalog.md

- Kind: Open core
- Types: Desktop app, Mobile app, Web app, Command-line tool
- Categories: [productivity / notes / personal knowledge management](https://talira.ai/categories/productivity/notes/personal-knowledge-management), [productivity / notes](https://talira.ai/categories/productivity/notes)
- Platforms: macos, windows, linux, ios, android, docker, kubernetes[^3]
- Licence: AGPL-3.0[^2]
- Pricing: Free tier[^1]
- Pricing notes: Free: local storage and most features, even for commercial use. PRO Features: US$96 one-time (third-party S3 and WebDAV sync and backup). Annual subscription: US$296 with 8 GB of official cloud storage, sync and backup. On 2026-11-22 the page showed a sale: US$64 and US$148, with limited seats. No refunds after subscribing; a trial subscription is available in the desktop app.
- Free tier: yes[^1]
- Self-hostable: yes[^3]
- API: yes[^4]
- Plugins: yes[^3]
- Backed by: [B3log](https://talira.ai/orgs/b3log.md)

SiYuan is an open source, privacy-first personal knowledge management app built on blocks: every paragraph, heading or list item can be referenced, embedded and linked both ways, in a Markdown WYSIWYG editor that handles million-word documents, outlines, maths, charts, flowcharts and Gantt charts. It adds a database table view, SQL query embeds, flashcards with spaced repetition, PDF annotation links, web clipping, OCR and AI writing through the OpenAI API, and exports Markdown, PDF, Word and HTML. It runs as desktop apps, Android, iOS and HarmonyOS apps, or self-hosted in Docker or Kubernetes, with a plugin marketplace, an HTTP API and a CLI that reads workspaces directly. Data is stored locally; most features are free even for commercial use, while sync through S3 or WebDAV and SiYuan's own cloud sync are paid.

## Links

- Website: https://b3log.org/siyuan/en/
- GitHub: https://github.com/siyuan-note/siyuan
- Docs: https://siyuan-en.b3log.org/
- Pricing: https://b3log.org/siyuan/en/pricing.html

## Problems it solves

- I want a local-first notes app where I can reference and embed any single paragraph, not just whole pages
- self-host my personal knowledge base in Docker so my notes never live on someone else's cloud
- query my notes with SQL and embed the results live in a page
- make flashcards from my notes and review them with spaced repetition
- link my notes to highlights inside PDFs I'm annotating
- sync my encrypted notes through my own S3 bucket or WebDAV server
- write very long documents in a Markdown editor that doesn't slow down
- let an AI agent search and export my notebooks from the command line
- an open source Notion or Obsidian alternative with block references and a database view

## Features

- block-level references and two-way links
- Markdown WYSIWYG block editor with outline view and block zoom-in
- maths, charts, flowcharts, Gantt charts and staves
- database table view and SQL query embeds
- flashcards with spaced repetition
- PDF annotation links and web clipping
- AI writing and Q&A via the OpenAI API
- Tesseract OCR
- export to Markdown, PDF, Word and HTML
- templates and JavaScript/CSS snippets
- plugin and theme marketplace
- HTTP API and a CLI that works without a running server
- desktop, Android, iOS and HarmonyOS apps; Docker and Kubernetes hosting
- paid: S3 and WebDAV sync and backup; subscription: official cloud sync, assets hosting and Cloud Inbox

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.81 out of 1.
Signals: maintenance 1.00, adoption 0.94, momentum 0.85, community 0.86, backing 0.30, extensibility 0.60.

- last commit today
- 4973 commits in the last 90 days
- latest release v3.8.12 today
- 47.4k GitHub stars
- 140 contributors
- accepts sponsorship (Custom)
- backed by B3log
- has a plugin system

## Alternatives

- [Anytype](https://talira.ai/catalog/anytype-tdaqk0rf.md): A safe haven for digital collaboration
- [Obsidian](https://talira.ai/catalog/obsidian-hct2fedw.md): Sharpen your thinking. The free and flexible app for your private thoughts.
- [Notion](https://talira.ai/catalog/notion-czc8pajj.md): Connected workspace for docs, wikis, databases and AI
- [Logseq](https://talira.ai/catalog/logseq-j4zs19a2.md): A privacy-first, open-source platform for knowledge management and collaboration
- [Trilium Notes](https://talira.ai/catalog/trilium-notes-pzda302c.md): Build your personal knowledge base with Trilium Notes
- [SilverBullet](https://talira.ai/catalog/silverbullet-d0akz7hm.md): The malleable knowledge base for you and your team. Powered by Markdown and Lua.

## Sources

[^1]: https://b3log.org/siyuan/en/pricing.html (checked 22 Nov 2026)
[^2]: https://github.com/siyuan-note/siyuan/blob/master/LICENSE (checked 22 Nov 2026)
[^3]: https://github.com/siyuan-note/siyuan (checked 22 Nov 2026)
[^4]: https://github.com/siyuan-note/siyuan/blob/master/docs/API.md (checked 22 Nov 2026)
