MAXeaglet/dsh-plugin-manager ↗★ 1
@maxeagle/dsh-plugin-manager
Desktop GUI + CLI to manage DSH plugins across profiles (Tauri 2, cc-switch/DSH style)
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗dsh-plugin-manager
DSH 插件管理器:管理 dsh 的 profile / 插件,一键启动 dsh web。桌面 GUI(Tauri 2)+ CLI,跨平台(Windows / macOS / Linux)。
独立工具,不是 DSH 插件:直接读写 profile 文件(
~/.dsh/profiles//),不挂载进 DSH。
安装
桌面 GUI(推荐):从 GitHub Releases 下载安装包(Windows NSIS / macOS .dmg / Linux deb 等)。
CLI(npm):
npm i -g @maxeagle/dsh-plugin-manager
dsh-plugin-manager --help # 或别名 dshpm --help
CLI 也可启动本地 WebUI(浏览器版界面):
dsh-plugin-manager gui # http://127.0.0.1:5177
功能
- 按 profile 管理插件(合并
dsh.profile.bundles+cordis.patch.yml) - 一键 启用 / 禁用(写入
cordis.patch.yml)、添加 / 移除 / 拖拽排序 bundles - 🧹 纯净模式:一键禁用所有第三方插件(仅保留
@deepseek-ai/官方) - ▶ 启动 dsh web:可配置端口(默认 3080),一键启动 / 停止
- 🔍 装插件:搜索 npm 并安装
- 编辑插件 config(JSON)、导出 / 导入 profile 视图
- 检查更新、搜索过滤、亮/暗主题、profile 切换、中英文
CLI
dsh-plugin-manager profiles # 列出 profile
dsh-plugin-manager list [profile] # 列出插件
dsh-plugin-manager enable|disable [profile]
dsh-plugin-manager add
[profile] # dsh plugin add
dsh-plugin-manager add-bundle|remove-bundle [profile]
dsh-plugin-manager reorder [profile]
dsh-plugin-manager config [json] [profile] # 查看/设置插件 config
dsh-plugin-manager status [--port N] # dsh web 状态(默认 3080)
dsh-plugin-manager start [--port N] # 启动 dsh web
dsh-plugin-manager stop # 停止 dsh web
dsh-plugin-manager updates [profile] # 检查更新
dsh-plugin-manager export [profile] # 导出 JSON
dsh-plugin-manager import [profile] # 导入 JSON
dsh-plugin-manager gui # 启动 WebUI
Develop
npm install # tauri cli
npx tauri dev # run the desktop app (Rust backend + web frontend)
Cross-platform
Works on Windows / macOS / Linux. Build per platform:
# macOS (requires Xcode Command Line Tools + rustup)
rustup toolchain list # ensure a native toolchain is default
npx tauri build # -> target/release/bundle/macos/*.app or .dmg
# Linux (requires webkit2gtk etc. system libs)
npx tauri build