loker66fan/dsh-market-github ↗★ 0
dsh-market-github
In-harness plugin market for the dsh web GUI — startup-page onboarding entry + real-time GitHub topic:dsh-plugin search with pagination, one-click install with never-lost progress, trial-boot verification, enable/disable, and one-click restart. Fork of @sanqi-normal/dsh-webui-market-plugin.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:loker66fan/dsh-market-github说明文档
阅读完整 README ↗dsh-market-github
Fork / 分叉说明(不是原创) — 本项目是社区插件
@sanqi-normal/dsh-webui-market-plugin的一个 fork(分支),基于其 MIT 代码二次开发,原作者为 Sanqi-normal。 本仓库的维护者并非原作者;请把原作者应有的致谢与 credit 归于@Sanqi-normal/dsh-webui-market-plugin。Attribution / Credit: This is a fork — not an original project. Derived from the MIT-licensed plugin
@Sanqi-normal/dsh-webui-market-pluginby Sanqi-normal (the original author). This fork's maintainer is not the original author; please attribute the original work to the upstream repo above.
在 dsh web GUI 内部的插件商城:启动页引导入口 + GitHub topic:dsh-plugin 实时搜索 + 一键安装/启用停用/一键重启。
An in-harness plugin market for the dsh web GUI: startup-page onboarding entry + real-time GitHub topic:dsh-plugin search + one-click install, enable/disable, and restart.
功能 Features
- 启动页入口:首次运行(尚无会话)时,onboarding 引导多出「插件商城」步骤;也可随时从 设置 → 插件 → 插件市场 打开。
- GitHub 实时搜索:host 端代理
api.github.com/search/repositories,搜索框防抖 350ms 实时请求,每页 50 条 + 上一页/下一页翻页;自动过滤 fork、归档、私有仓库。空查询返回最热插件,支持按 Star / 最近更新排序。 - 一键安装:安装/更新/卸载走后台任务,全应用右下角进度浮条常驻(切页面不丢),可终止、可最小化;简单插件装好后热挂载免重启。
- 安装安全把关:GitHub 源先读其
package.json的dsh清单——声明dsh.client的 web 插件直接安装;仅声明dsh.bundle的走临时环境试装启动验证(真实 profile 不受影响);读不到清单则拒绝(可勾选「跳过安全检查」)。 - 启用 / 停用:编辑 profile 的
dsh.profile.bundles层;停用立即生效(保留依赖、只去配置层),启用尝试热挂载。 - 一键重启:安装/停用后需要重启时,横幅自带「立即重启」按钮(同源 + 直连 loopback 双重校验,detached 拉起同一命令),重启完成后页面自动刷新。
- 更新检测:GitHub 源比对锁文件 commit 与 HEAD,npm 源比对 registry 版本;一键更新。