What is this?
SiYuan is an open-source, privacy-first, self-hosted knowledge workspace that combines block-level note-taking with AI agent collaboration, letting humans and AI agents work on the same knowledge base together.
Is this a desktop app, a mobile app, or a server I run myself?
It's all three: a desktop Electron app (Windows/macOS/Linux), native apps for Android, iOS and HarmonyOS, plus a Docker-deployable kernel server you can self-host and reach via browser.
How do I get it running?
Install from the app market (App Store, Google Play, F-Droid, Microsoft Store) for one-click upgrades, grab a package from GitHub releases, use a package manager, or run the official 'b3log/siyuan' Docker image with a mounted workspace folder.
Do I need anything extra to use AI writing or OCR features?
AI writing and Q/A chat require your own OpenAI API key, while text recognition inside images uses the bundled Tesseract OCR engine.
Does the Docker version have the same features as desktop?
No — the Docker server build only works through a browser (no desktop/mobile app connections), and it can't export to PDF, HTML or Word, nor import Markdown files.
Is it free, or do I need to pay for anything?
Most features, including commercial use, are free; only some advanced features are reserved for paid members.
What makes the editing experience different from a plain Markdown editor?
SiYuan uses a block-style WYSIWYG editor with fine-grained block-level references and two-way links, SQL query embeds, custom attributes, and supports million-word documents with math, charts, flowcharts and Gantt charts.
Can I control SiYuan without opening the GUI?
Yes, a built-in CLI lets you list notebooks, run full-text search (including inside PDFs, Word and Excel assets) and export documents directly against workspace data without starting the server.
Can I secure a Docker deployment with my company's login system?
Yes, Docker deployments support OIDC login (custom, Google, Microsoft, or GitHub providers) as an alternative or addition to the lock-screen access code.
Does SiYuan have an ecosystem of related projects?
Yes — it's built on companion open-source projects like 'lute' (editor engine), 'dejavu' (data repo/sync engine), 'petal' (plugin API), 'bazaar' (community marketplace), and 'riff' (spaced repetition flashcards).
What are similar projects?
PrivacyNotes.app, edgeever, logseq, note-gen, open-knowledge, Trilium, AFFiNE, Folo
Which topics is it in?
note-taking-app, flashcards, mindmap, workspace, personal-knowledge-management, sync, knowledge-management, note-taking, gpt, ocr, privacy-first, knowledge-base