RogueServitor-495/dsh-plugin-manager ↗★ 0
dsh-plugin-manager
Plugin manager for dsh: manage installed plugins (enable/disable/remove) and import new plugins via git URL, npm package, tarball URL, or local path
AI Analysis
核心用途是为 DSH 提供可视化的插件生命周期管理(启用、禁用、卸载、导入)。适合需要便捷管理多源插件的用户。在局域网开放时,强烈建议配置 token 以防范未授权的 API 调用风险。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗配置(补丁行 config)
- insert:
- id: dsh-plugin-manager
name: 'dsh-plugin-manager'
config:
profile: web # profile 名(默认 web)
dshHome: null # 覆盖 DSH home(默认 $DSH_HOME 或 ~/.dsh)
profileDir: null # 直接指定 profile 目录(覆盖上面两项)
pnpmBin: null # pnpm 二进制路径(默认自动发现)
gitBin: null # git 二进制路径(默认自动发现)
token: null # 设置后所有 API 需 x-plugin-manager-token 头
fab: true # 是否显示右下角浮动按钮(false 仅保留设置页入口)
⚠️ 安全:dsh web 若绑定
0.0.0.0(局域网开放),同网段设备可调用这些 API (可执行 pnpm / 写补丁)。强烈建议设置token,面板会提示输入并保存在 localStorage。