Skip to content

SiYuan

Local-first, block-based note system with Markdown editing, self-hosting and sync

Copyleft (OSI) · AGPL-3.0
  • Self-hosted
  • macOS
  • Linux

Listed by , founder & editor

67

Health

Active

Overview

Stars

47,357

Last commit

today

Nov 2026

Repository age

6 years

since Aug 2020

Latest version

v3.8.12

Nov 2026

Contributors

–

3 active in 90 days

Releases

3

last 12 months

Language

TypeScript

SiYuan is a personal knowledge management app that stores notes as blocks. You can reference any block, link notes both ways, add custom attributes and embed SQL queries. The editor is Markdown WYSIWYG, with outlines, block zoom, math formulas, charts and PDF annotation links.

Other built-in features include a database table view, flashcards with spaced repetition, Tesseract OCR, web clipping, templates, JavaScript and CSS snippets, and AI writing and chat through the OpenAI API. You can export to standard Markdown, PDF, Word and HTML. A community marketplace offers plugins and themes.

Desktop builds cover Linux and macOS, with mobile apps for Android, iOS and HarmonyOS. You can also host it yourself through the b3log/siyuan Docker image. It is written in TypeScript and licensed under AGPL-3.0. Most features are free, but some are limited to paid members.

It is a direct replacement for Obsidian, Evernote and OneNote, and a partial one for Roam Research.

Who it's for

Researchers building linked notes

Block references, two-way links and SQL embeds let you connect ideas at a fine level.

Skip if: You want your notes stored as plain Markdown files.

Privacy-minded users who want to host their notes

It is local-first and runs from a Docker image on your own server.

Skip if: You need real-time collaboration with other people.

Students using flashcards and PDFs

Spaced repetition, PDF annotation links and OCR are included.

Skip if: You need handwriting or pen input.

The problem it solves

Note apps often lock your data into a cloud service or a flat file structure. SiYuan keeps notes on your device, lets you link at the block level, and can run on your own server.

Strengths

  • Block-level references and two-way links
  • Mobile apps for Android, iOS and HarmonyOS
  • Docker image for self-hosting
  • Exports to Markdown, PDF, Word and HTML
  • Built-in OCR, flashcards and database table view

Trade-offs

  • Block-based storage rather than plain Markdown files
  • Some features are for paid members only
  • No real-time multi-user collaboration
  • Smaller plugin ecosystem than Obsidian

SiYuan replaces

Self-host SiYuan

Self-hostable
Yes

In the community

Frequently asked questions

Is SiYuan free?

Most features are free, including for commercial use. Some features are available only to paid members.

Can I self-host it?

Yes. Use the b3log/siyuan Docker image. Kubernetes, Unraid and TrueNAS hosting are also documented.

Which platforms are supported?

Linux and macOS desktops, plus Android, iOS and HarmonyOS apps. Windows builds are also available through the Microsoft Store.

How is it licensed?

AGPL-3.0.

SiYuan compared

Other Obsidian alternatives

Compare all 13 Obsidian alternatives →

Similar tools in Personal knowledge management

Dendron

Personal knowledge management

Markdown note-taking tool inside VS Code for developers managing large note sets

7.5k 305 1 years ago Dormant Apache-2.0

Athens Research

Personal knowledge management

Unmaintained graph-based outliner for teams that want self-hosted Roam-style notes

6.3k 395 4 years ago Dormant EPL-2.0

Replaces Roam Research

archivy

Personal knowledge management

Self-hosted Markdown wiki and bookmark archive for personal note keeping

3.3k 118 3 years ago Dormant MIT

SilverBullet

Personal knowledge management

Self-hosted Markdown knowledge base and wiki you can script with Lua

6.6k 537 today Thriving MIT

wenlan

Personal knowledge management

Shared docs, skills and memory for your AI tools, kept as plain Markdown files

502 8 today Thriving Apache-2.0

Tangent

Personal knowledge management

Local Markdown note app with wiki links and a visual map of your navigation history

589 42 5 days ago Active Apache-2.0