SiYuan

Local-first block-based knowledge base.

Last reviewed 5 December 2026 · AGPL-3.0 · Notes & Wikis

Licence
Type
Desktop app
GitHub stars
★ 47.5k
Last commit
December 2026
First release
2020
Hosted version
Available

What is SiYuan?

SiYuan is a privacy-first personal knowledge system with block references, Markdown WYSIWYG editing, databases and PDF annotation. Data is stored locally and can be synced with end-to-end encryption.

Key features

  • Block-level references and embeds
  • Database views
  • PDF annotation
  • Docker deployment for self-hosting

SiYuan as an open source alternative

SiYuan is listed on 2 of our comparison pages as an open source replacement for Notion and Obsidian. Compare it with the other options:

Licence

SiYuan is released under the AGPL-3.0 licence, a strong copyleft (network) licence. More AGPL-3.0 software →

SiYuan: FAQ

Is SiYuan open source?

Yes. SiYuan is released under the AGPL-3.0 licence (strong copyleft (network)), and its source code is public.

Is SiYuan free?

The software is free to use. SiYuan also offers an official hosted or cloud version, which may have paid plans.

What does SiYuan replace?

SiYuan is an open source alternative to Notion and Obsidian.

Can I self-host SiYuan?

SiYuan is a desktop application, so there is nothing to host: it runs on your own computer.

Similar open source projects

Joplin

AGPL-3.057.5k

Private note-taking with end-to-end encrypted sync.

Replaces Evernote, Microsoft OneNote, Google Keep

Cloud option
Desktop appNotes & Wikis

AFFiNE

MIT82.4k

Docs, whiteboards and databases in one canvas.

Replaces Notion, Miro

Self-hostedCloud option
Self-hostedNotes & Wikis

Trilium Notes

AGPL-3.039.3k

Hierarchical notes for building a large knowledge base.

Replaces Evernote, Microsoft OneNote, Obsidian

Desktop appNotes & Wikis

More AGPL-3.0 projects

Nextcloud

AGPL-3.037.7k

Self-hosted file sync, sharing and collaboration.

Replaces Google Drive, Dropbox, Microsoft OneDrive, Apple iCloud

Self-hostedCloud option
Self-hostedCloud Storage & Photos

Signal

AGPL-3.029.7k

The most trusted private messenger.

Replaces WhatsApp

Cloud option
Mobile appTeam Chat & Messaging

Immich

AGPL-3.0121k

Self-hosted photo and video backup like Google Photos.

Replaces Google Photos, Apple iCloud

Self-hosted
Self-hostedCloud Storage & Photos

ONLYOFFICE Docs

AGPL-3.07.2k

Office suite with the closest Microsoft Office compatibility.

Replaces Microsoft Office, Google Docs, Microsoft Word, Microsoft Excel

Self-hostedCloud option
Self-hostedOffice & PDF

Mastodon

AGPL-3.050.7k

Decentralised social network, not for sale.

Replaces X (Twitter), Threads

Self-hostedCloud option
Self-hostedSocial Networks

Element

AGPL-3.013.7k

Secure messenger built on the Matrix protocol.

Replaces Slack, Microsoft Teams, Discord, WhatsApp

Self-hostedCloud option
Self-hostedTeam Chat & Messaging
Browse 350+ open source alternativesSearch by product, category or licence