Your favorite PicGo image bed is still available in siyuan-notes, wuhu~
Only the three most recent 3.x minor versions are kept here, with patch releases folded into their minor version.
- v3.2.x
- Image uploads are scoped to the focused block
- The drag upload image limit is configurable
- Headless upload resolves database images from Markdown and replaces them exactly
- Fixed active document detection for focused tabs and when a rich title protyle comes first
- Upgraded the js-md5 dependency
- v3.1.x
- SM.MS uploads now go to S.EE after the SM.MS migration
- Paste upload and link replacement are independent
- Fixed a missing PicListUploader import
- The plugin entry remains a single self-contained file
- The console prints warnings and errors by default, keeping only key upload start/finish lines
- Added project-level Electron CDP config for dev tooling and excluded the CDP endpoint from the HTTP proxy
- Upgraded zhi dependencies and a batch of dev dependencies (including dependabot updates)
- v3.0.x
- PicGo config is now stored in the workspace and accessed through an async facade
- HarmonyOS support
- Documents without images skip uploader validation
- The bazaar manifest conforms to the new spec
See CHANGELOG.md for the full history.
Recommended: use rustfs with the PicGo plugin for the best self-hosted image hosting setup.
Important Note:
PicGo
3.0.0+uses a unified configuration source. The bundled PicGo config, external PicGo/PicList config, and SiYuan connection config are read from workspace-backed configuration files when the SiYuan API is available. Runtime files, third-party plugin dependencies, cache, scripts, and logs still stay on the current device.The
2.0.0path split is now listed underHistorical pathsfor reference.Please refrain from updating this plugin for versions of siyuan-note prior to
3.0.3; the highest permissible version remains1.5.1. For siyuan-note versions3.0.3and beyond, the PicGO plugin may be upgraded to1.6.0+.For versions of siyuan-note before
2.10.8, it is advised not to upgrade this plugin beyond version1.4.5. Subsequent to siyuan-note2.10.8, the PicGO plugin can be updated to1.5.0+.
v3.0.0 is a configuration cleanup release. It keeps the v2 runtime split, and moves all user-facing PicGo configuration into explicit workspace configuration files.
Workspace-backed configuration:
[workspace]/data/storage/syp/picgo/
picgo.cfg.json # bundled PicGo config, uploaders, plugin values, paste behavior
external-picgo-cfg.json # external PicGo App / PicList API selection and endpoint
[workspace]/data/storage/syp/
siyuan-cfg.json # SiYuan API connection settings
Device-local runtime files stay outside workspace sync:
~/.universal-picgo/
package.json
package-lock.json
node_modules/
libs/
i18n-cli/
picgo-clipboard-images/
mac.applescript / windows.ps1 / windows10.ps1 / linux.sh / wsl.sh
picgo.log
Migration rule: v3 imports eligible legacy data by domain, writes the new configuration files, and leaves existing real user configuration in place. After migration finishes, PicGo records a marker and stays quiet on later starts.
About rare simultaneous edits: if multiple PicGo entry points in the same SiYuan workspace edit the same setting at almost the same time, the last save wins.
Note: this does not affect SiYuan's multiple-workspace model; separate workspaces remain naturally isolated. Most users will never hit this.
2.0.0 - 2.x
[workspace]/data/storage/syp/picgo/picgo.cfg.json
~/.universal-picgo/external-picgo-cfg.json
~/.universal-picgo/package.json
~/.universal-picgo/package-lock.json
~/.universal-picgo/node_modules/
~/.universal-picgo/libs/
~/.universal-picgo/i18n-cli/
~/.universal-picgo/picgo-clipboard-images/
~/.universal-picgo/*.script
~/.universal-picgo/picgo.log
1.6.0+
~/.universal-picgo/picgo.cfg.json
~/.universal-picgo/external-picgo-cfg.json
~/.universal-picgo/package.json
~/.universal-picgo/package-lock.json
~/.universal-picgo/node_modules/
~/.universal-picgo/libs/
~/.universal-picgo/i18n-cli/
~/.universal-picgo/picgo-clipboard-images/
~/.universal-picgo/*.script
~/.universal-picgo/picgo.log
<= 1.5.6
[workspace]/data/storage/syp/picgo/picgo.cfg.json
[workspace]/data/storage/syp/picgo/external-picgo-cfg.json
[workspace]/data/storage/syp/picgo/package.json
[workspace]/data/storage/syp/picgo/package-lock.json
[workspace]/data/storage/syp/picgo/node_modules/
[workspace]/data/storage/syp/picgo/libs/
[workspace]/data/storage/syp/picgo/i18n-cli/
[workspace]/data/storage/syp/picgo/picgo-clipboard-images/
[workspace]/data/storage/syp/picgo/*.script
[workspace]/data/storage/syp/picgo/picgo.log
- Githubrecommended
- Gitlabrecommended
- Alibaba Cloud
- Tencent Cloud
- Upyun
- Qiniu Cloudrecommended
- SM.MS
- imgur
- Amazon S3recommended, thanks to @hzj629206
- Lsky pro v1.11.0+
Please refer to CHANGELOG
If you approve of this project, invite me to have a cup of coffee, which will encourage me to keep updating and create more useful tools~
Thanks to the solutions provided by the open source community, which simplifies a lot of work for this project!
