A privacy-first, self-hosted, fully open source personal knowledge management software, written in typescript and golang.
Table of Contents
Introduction
Features
Architecture and Ecosystem
Star History
Roadmap
Download Setup
Community
Development Guide
FAQ
- How does SiYuan store data?
- Does it support data synchronization through a third-party sync disk?
- Is SiYuan open source?
- How to upgrade to a new version?
- What if some blocks (such as paragraph blocks in list items) cannot find the block icon?
- What should I do if the data repo key is lost?
- Do I need to pay for it?
Acknowledgement
Introduction
SiYuan is a privacy-first personal knowledge management system, support fine-grained block-level reference and Markdown WYSIWYG.
Welcome to SiYuan English Discussion Forum to learn more.
Features
Most features are free, even for commercial use.
- Content block
- Block-level reference and two-way links
- Custom attributes
- SQL query embed
- Protocol
siyuan://
- Editor
- Block-style
- Markdown WYSIWYG
- List outline
- Block zoom-in
- Million-word large document editing
- Mathematical formulas, charts, flowcharts, Gantt charts, timing charts, staffs, etc.
- Web clipping
- PDF Annotation link
- Export
- Block ref and embed
- Standard Markdown with assets
- PDF, Word and HTML
- Copy to WeChat MP, Zhihu and Yuque
- Database
- Table view
- Flashcard spaced repetition
- AI writing and Q/A chat via OpenAI API
- Tesseract OCR
- Multi-tab, drag and drop to split screen
- Template snippet
- JavaScript/CSS snippet
- Android/iOS App
- Docker deployment
- API
- Community marketplace
Some features are only available to paid members, for more details please refer to Pricing.
Architecture and Ecosystem
Project | Description | Forks | Stars |
---|---|---|---|
lute | Editor engine | ||
chrome | Chrome/Edge extension | ||
bazaar | Community marketplace | ||
dejavu | Data repo | ||
petal | Plugin API | ||
android | Android App | ||
ios | iOS App | ||
riff | Spaced repetition |
Star History
Roadmap
Download Setup
It is recommended to give priority to installing through the application market on the desktop and mobile, so that you can upgrade the version with one click in the future.
App Market
Mobile:
Desktop:
Installation Package
Docker Hosting
Docker Deployment
- ``
``
- ``
``
- ``
- ``
``
``
- ``
Unraid Hosting
Unraid Deployment
``
Insider Preview
We release insider preview before major updates, please visit https://github.com/siyuan-note/insider.
Community
Development Guide
See Development Guide.
FAQ
How does SiYuan store data?
The data is saved in the workspace folder, in the workspace data folder:
assets
is used to save all inserted assetsemojis
is used to save emoji imagessnippets
is used to save code snippetsstorage
is used to save query conditions, layouts and flashcards, etc.templates
is used to save template snippetswidgets
is used to save widgetsplugins
is used to save pluginspublic
is used to save public data- The rest of the folders are the notebook folders created by the user, files with the suffix of
.sy
in the notebook folder are used to save the document data, and the data format is JSON
Does it support data synchronization through a third-party sync disk?
Data synchronization through third-party synchronization disks is not supported, otherwise data may be corrupted.
Although it does not support third-party sync disks, it supports connect with third-party cloud storage (Memberโs privileges).
In addition, you can also consider manually exporting and importing data to achieve data synchronization:
- Desktop: Settings - Export - Export Data / Import Data
- Mobile: Right column - About - Export Data / Import Data
Is SiYuan open source?
SiYuan is completely open source, and contributions are welcome:
For more details, please refer to Development Guide.
How to upgrade to a new version?
- If installed via app store, please update via app store
- If it is installed through the installation package on the desktop, you can open the option of Settings - About - Automatically download update installation package, so that SiYuan will automatically download The latest version of the installation package and prompts to install
- If it is installed by manual installation package, please download the installation package again to install
You can Check update in Settings - About - Current Version, or pay attention to Official Download or GitHub Releases to get the new version.
What if some blocks (such as paragraph blocks in list items) cannot find the block icon?
The first sub-block under the list item is the block icon omitted. You can move the cursor into this block and trigger its block menu with Ctrl+/ .
What should I do if the data repo key is lost?
- If the data repo key is correctly initialized on multiple devices before, the key is the same on all devices and can be set in Settings - About - Data repo key - Copy key string retrieve
- If it has not been configured correctly before (for example, the keys on multiple devices are inconsistent) or all devices are unavailable and the key string cannot be obtained, you can reset the key by following the steps below:
- Manually back up the data, you can use Export Data or directly copy the workspace/data/ folder on the file system
- Settings - About - Data rep key - Reset data repo
- Reinitialize the data repo key. After initializing the key on one device, other devices import the key
- The cloud uses the new synchronization directory, the old synchronization directory is no longer available and can be deleted
- The existing cloud snapshots are no longer available and can be deleted