SiYuan: Self-Hosted Knowledge Base

Write Markdown notes with block-level links in a privacy-first workspace, served to your browser from your own server.

Pros and cons

Pros

  • Block-level links and two-way references1
  • Flashcards for spaced repetition2
  • Encrypted notebooks, stored as ciphertext3
  • SQL queries embedded in notes4
  • Official phone and desktop apps (not with Docker)5

Cons

  • Docker is browser only, with no app connections6
  • Notes live in SiYuan's own JSON format, not Markdown7
  • S3 or WebDAV sync and backup need the $64 PRO licence8

Compare with similar apps

Compare SiYuan with other productivity apps. Add or remove apps to see how they differ.

Requirement
SiYuan
PriceFreeFree
LicenceAGPL-3.0AGPL-3.0
Web UIYesYes
Minimum hardwareNot statedNot stated
Docker Containers1 (app only)1 (app only)
Databasefile onlySQLite
Architecturex86 + ARMx86 + ARM
Tech stackGoNode.js
DockerYesYes
Linux packageYesYes
WindowsYesYes
macOSYesYes
iOSYes–
AndroidYes–
WindowsYesYes
macOS–Yes
Linux–Yes

Client apps

Official client for phone and desktop.

Official

Common questions

Can the SiYuan desktop and mobile apps connect to the Docker version?

No. The project says Docker hosting is browser only, with no desktop or mobile app connections and no PDF, HTML or Word export.

Similar apps to SiYuan

Trilium Notes

Keep a large personal knowledge base as a tree of notes and sync your desktop apps with a server at home using this hierarchical FOSS note-taking app.

Free

AFFiNE

Write docs, track work in databases and sketch on a whiteboard, with workspaces synced through your own server.

Free + Paid

Flowplan

Keep documents, databases, whiteboards and a daily journal in one Notion-style page tree on your homelab, then share spaces with family or housemates through per-page permissions. Flowplan runs as a single container with SQLite, and its AI stays off until an admin switches it on.

Free

Inkling

Keep notes, Notion-style databases and Obsidian-style wikilinks in one self-hosted page tree, with a JSON Canvas whiteboard, live co-editing and an MCP server that lets AI agents read and edit pages inside limits you set. The whole app is one Docker stack, with Postgres and a backup sidecar.

Free

Joplin

Sync notes between the official Joplin desktop and mobile apps using a server kept on your own network.

Free + Paid

Memos

Save quick Markdown notes to a private timeline on your own server, with tags, search and optional sharing.

Free

TiddlyWiki

TiddlyWiki holds a whole wiki in one HTML file, or serves it from Node.js so the household can edit the same notebook. The notes are plain files on your own disk, and the wiki runs without a database.

Free

SilverBullet

Write notes in Markdown in a browser tab and keep them as plain files in a folder on your own server. SilverBullet adds wiki links, live queries and Lua scripting. The same space can hold a journal, a task list and a small database that updates itself.

Free

Tags

Updated