SiYuan logo

SiYuan

Privacy-first personal knowledge management with block-level editing

36k TypeScript AGPL-3.0 6 days ago

Overview

SiYuan is a privacy-first, local-first personal knowledge management system with block-level references, bidirectional links, and a Notion-like block editor. It stores data locally as a graph of blocks and supports Markdown, databases, flashcards, and end-to-end encrypted sync. It can be self-hosted via Docker for browser access.

Key features

  • Block-level references and bidirectional links
  • Notion-like block editor with Markdown support
  • Local-first storage as a graph of blocks
  • Databases, flashcards, and end-to-end encrypted sync
  • Self-hostable via Docker for browser access

Our take

SiYuan covers a lot of ground for a knowledge base: a Notion-like block editor, block-level references, databases, and even flashcards, all on a local-first foundation. Unlike some desktop-only competitors, it can run in Docker and be reached through a browser, which makes it one of the easier knowledge tools to genuinely self-host (difficulty is a fair 2/5). End-to-end encrypted sync is a nice touch if you want your own devices in sync without trusting a third party. The main caveats are that it's a dense, feature-heavy app with its own conventions, so there's a learning curve, and you're committing to its block model and data layout rather than plain portable files. A managed option exists if you'd rather not run the container yourself.

Ideal for: Individuals who want a Notion-style block editor they can actually run in a browser on their own server.

Where it falls short of Notion

  • Primarily single-user; no real-time team collaboration.
  • Official cloud sync and some features require a paid subscription.
  • Documentation and UI are translated from Chinese and can be uneven.
  • Smaller English-language community and plugin ecosystem.

We list the gaps honestly so you can decide if the trade-off is worth owning your data.

Tags

notes
block-editor
local-first
knowledge-base
markdown
Maintain SiYuan?

Claim this listing to keep it accurate, add a deploy template, or feature it on relevant pages.

Show off your self-host difficulty score

Embed the SiYuan difficulty badge in your README — it links back here.

Self-host difficulty badge← add this to your README
[![Self-host difficulty](https://openreplace.com/api/badge/siyuan)](https://openreplace.com/siyuan)

Similar open-source projects

Other self-hostable tools in the same space worth comparing.

Sponsored

Open-source Notion alternative built on Flutter and Rust

63k Dart AGPL-3.0 10 days ago
3/5
SiYuan vs AppFlowy

Privacy-first, local-first workspace combining docs, whiteboards, and databases

51k TypeScript MIT 14 days ago
3/5
SiYuan vs AFFiNE

Open-source note-taking app with end-to-end encrypted sync

50k TypeScript AGPL-3.0 8 days ago
3/5
SiYuan vs Joplin

Lightweight, self-hosted note-taking and memo hub

40k Go MIT 7 days ago
2/5
SiYuan vs Memos