|
7 months ago | |
---|---|---|
.github | 7 months ago | |
app | 7 months ago | |
kernel | 7 months ago | |
root/etc | 7 months ago | |
screenshots | 1 year ago | |
scripts | 7 months ago | |
.gitattributes | 8 months ago | |
.gitignore | 8 months ago | |
API.md | 7 months ago | |
API_zh_CN.md | 7 months ago | |
CHANGELOG.md | 7 months ago | |
Dockerfile | 7 months ago | |
Dockerfile.z2s | 7 months ago | |
Dockerfile.z4 | 7 months ago | |
LICENSE | 7 months ago | |
README.md | 7 months ago | |
README_zh_CN.md | 7 months ago | |
build_z2s.sh | 7 months ago | |
build_z4.sh | 7 months ago |
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, even for commercial use.
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
We release insider preview before major updates, please visit https://github.com/siyuan-note/insider.
See Development Guide.
This question varies from person to person and is difficult to answer uniformly. If you’re not sure if SiYuan is right for you, here are some suggestions:
If you need to frequently share notes or edit collaboratively with others, and need the data table function, it is recommended to use:
If you like to use plain text Markdown files to store your notes, it is recommended to use:
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 named criteria and flashcards, etc.templates
is used to save template snippetswidgets
is used to save widgets.sy
in the notebook folder are used to save the document data, and the data format is JSONData 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 third-party cloud storage services, which can be configured in Settings - Cloud - Cloud Storage Provider, currently supported:
Synchronizing data through third-party cloud storage services is also end-to-end encrypted, and third-party cloud storage service providers cannot obtain our plaintext data.
In addition, you can also consider manually exporting and importing data to achieve data synchronization:
SiYuan is completely open source, and contributions are welcome:
For more details, please refer to Development Guide.
You can Check update in Settings - About - Current Version, or by following GitHub Releases or SiYuan Announcement to get the new version.
Note: Do not place the workspace in the installation directory, because the updated version will clear all files in the installation directory
After deletion, the doc will not appear in the operating system’s recycle bin, but will be deleted directly. When deleted, SiYuan will generate data history.
Please use Shift+Enter.
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+/ .
.sy.zip
packageIf 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:
All local features are free, even for commercial use.
Cloud Service requires an annual subscription. At present, only users in mainland China are supported to subscribe, and users outside of mainland China are not allowed to subscribe.
If you don’t need a subscription but would like to support development, you are welcome to make a donation:
Welcome to join us and contribute code to SiYuan together.
SiYuan is made possible by the following open source projects.
BSD-3-Clause License
BSD-3-Clause License
MIT License
BSD-3-Clause License
BSD-2-Clause License
Apache-2.0 License
Apache-2.0 License
MIT License
MIT License
BSD-3-Clause License
Apache-2.0 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
MIT License
MIT License
BSD-2-Clause License
MIT License
GPL-2.0 License
Apache-2.0 License
MIT License
Apache-2.0 License
Apache-2.0 License
MIT License