siyuan-note / siyuan
- понедельник, 13 июня 2022 г. в 00:30:49
📕 SiYuan is a local-first personal knowledge management system, supports fine-grained block-level reference, and Markdown WYSIWYG. 思源笔记是一款本地优先的个人知识管理系统, 支持细粒度块级引用和 Markdown 所见即所得。Roadmap https://github.com/orgs/siyuan-note/projects/1
Build Your Eternal Digital Garden
SiYuan is a local-first personal knowledge management system, support fine-grained block-level reference and Markdown WYSIWYG.
All local features are free.
siyuan://
Cloud services require a paid subscription.
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.
The easiest way to serve SiYuan on a server is to deploy it through Docker.
b3log/siyuan
The overall program is located under /opt/siyuan/
, which is basically the structure under the resources folder of the Electron installation package:
The entry point is set when building the Docker image: ENTRYPOINT ["/opt/siyuan/kernel" ]
, use docker run b3log/siyuan
with parameters to start:
--workspace
specifies the workspace folder path, mounted to the container via -v
on the hostMore parameters can refer to --help
. The following is an example of a startup command: docker run -v workspace_dir_host:workspace_dir_container -p 6806:6806 b3log/siyuan --workspace=workspace_dir_container
workspace_dir_host
: the workspace folder path on the hostworkspace_dir_container
: The path of the workspace folder in the container, which is the same as specified in --workspace
To simplify, it is recommended to configure the workspace folder path to be consistent on the host and container, such as: workspace_dir_host
and workspace_dir_container
are configured as /siyuan/workspace
, the corresponding startup commands is: docker run -v /siyuan/workspace:/siyuan/workspace -p 6806:6806 -u 1000:1000 b3log/siyuan --workspace=/siyuan/workspace/
.
In the image, the normal user siyuan
(uid 1000/gid 1000) created by default is used to start the kernel process. Therefore, when the host creates a workspace folder, please pay attention to setting the user group of the folder: chown -R 1000:1000 /siyuan/workspace
. The parameter -u 1000:1000
is required when starting the container.
Use NGINX reverse proxy to hide port 6806, please note:
/ws
To get the latest Insider Preview, please send an email with your GitHub login name to 845765@qq.com, and we will invite you to join the SiYuan Insider Preview team, thanks.
The data is saved in the workspace folder (the default is in the user's home directory Documents/SiYuan, which can be modified in Settings - About), in the workspace data folder:
assets
are used to save all inserted asset filestemplates
are used to save template snippetswidgets
are used to save widgetsemojis
are used to save emoji images.sy
in the notebook folder are used to save the document data, and the data format is JSONSiYuan is completely open source, and contributions are welcome:
For more details, please refer to Development Guide.
After deletion, the doc will not appear in the operating system's recycle bin, but will be deleted directly. When deleted, SiYuan will generate edit history.
Please use Shift+Enter.
Fold the heading and move it later.
Click at the beginning, hold down Shift and click at the end after scrolling the page.
Press Ctrl+R after selecting the keyword in the editor.
workspace/data/
, do not synchronize the entire workspaceinternal storage device/Android/data/org.b3log.siyuan/files/siyuan/data/
, which is a private path of the application and cannot be read by other programs and can only be copied manuallyIf it is a mobile-end, uninstall and reinstall it (note: When the mobile-enduninstalls the application, the local workspace data will be deleted together).
Local functions are completely free to use, Cloud services requires annual subscription, price is $72/year。
Users in non-Mainland China regions should not pay for subscriptions, because SiYuan Cloud Server cannot guarantee availability in non-Mainland China regions.
SiYuan is completely open source, and contributions are welcome:
For more details, please refer to Development Guide.
SiYuan is made possible by the following open source projects.
BSD-3-Clause License
BSD-3-Clause License
MIT License
BSD-3-Clause License
Mulan PSL v2
Mulan PSL v2
BSD-2-Clause License
Apache-2.0 License
Mulan PSL v2
Apache-2.0 License
MIT License
MIT License
BSD-3-Clause License
MIT License
MIT License
MIT License
Apache-2.0 License
MIT License
BSD-2-Clause License
BSD-3-Clause License
MIT License
BSD-3-Clause License
MIT License
MIT License
MIT License
MIT License
MIT License
MIT License
MIT License
MIT License
MIT License
MIT License
MIT License
MIT License
MIT License
BSD-3-Clause License
Mulan PSL v2
BSD-2-Clause License
MIT License
Apache-2.0 License
MIT License
MIT License
Apache-2.0 License
Apache-2.0 License
MIT License