jun779916 downloadsOverview, push and pull community plugins across all your vaults. 查看各仓库插件清单,按仓库挑选安装,或批量推送/拉取插件.
Install plugins once, use them everywhere. Push plugins from this vault to any of your other vaults, or pull from them — with a diff view and per-vault / per-plugin selection. No Git, no symlinks, no cloud service.
Obsidian keeps plugins per-vault. If you maintain multiple vaults (work / life / demos), you end up installing the same plugins again and again. This plugin installs in one vault and manages all the others from there.
obsidian.json (the same list as the vault switcher).fs (cpSync, supports sub-folders and binary assets). Read-only on the source side.loadManifests() + enablePluginAndSave(), takes effect immediately); push mode writes the target vault's community-plugins.json directly (takes effect when that vault reloads).data.json) are not copied by default — opt in via a toggle; existing settings are preserved.Desktop only (isDesktopOnly: true). No network access, no data leaves your machine.
插件装一次,处处可用。把当前仓库的插件推送到其他仓库,或从其他仓库拉取——带差异对比、按仓库/按插件勾选。不用 Git、不用 symlink、不用云服务。
Obsidian 的插件按仓库隔离。维护多个仓库(工作 / 生活 / 演示)的人,同一批插件要装一遍又一遍。这个插件只装在一个主仓库里,就能管理其他所有仓库的插件分发。
obsidian.json 读取仓库列表(就是仓库切换器里看到的那些)。fs(cpSync,支持子目录和二进制资源)复制插件目录;源侧只读。loadManifests() + enablePluginAndSave(),立即生效);推送直接写目标仓库的 community-plugins.json(目标仓库重载后生效)。data.json)默认不同步——开关显式开启;目标已有的设置会被保留。仅桌面端(isDesktopOnly: true)。不联网,数据不出本机。
npm install
npm run dev # watch 构建
npm run build # 类型检查 + 生产构建
npm test # diff 纯函数单元测试
架构决策记录见 docs/DESIGN.md。
MIT © AI混子-俊