dsh-web-ui
zhu1090093659
Plugin and skin collection for DeepSeek Harness (DSH) Web UI - task board, git graph, right-side panel, remote mobile UI, pet, live token stats, and skin center.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:c-ling/dsh-plugin-newsboard
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
DeepSeek Harness 的快讯看板:页面右上角一个轻量浮窗(拖拽标题栏即可移动,位置自动保存),由宿主侧抓取内置 RSS/JSON 来源并缓存,浏览器只负责轮询展示。默认不弹通知、不发声、不打断任务。
全部 / AI 圈 / 技术圈,支持当前消息搜索。内置来源:
| 类别 | 来源 |
|---|---|
| AI 圈 | Hacker News AI 检索、OpenAI News、Google AI Blog、TechCrunch AI、The Verge AI、arXiv cs.AI |
| 技术圈 | Hacker News 首页、Lobsters、Ars Technica、IT之家、少数派、Solidot |
从 GitHub 安装到 web profile(需要 pnpm 在 PATH 上;没有则用下面的 corepack 方式):
npx @deepseek-ai/dsh plugin --profile web add "github:c-ling/dsh-plugin-newsboard#v1.1.3"
或使用已有的 dsh 命令:
dsh plugin --profile web add "github:c-ling/dsh-plugin-newsboard#v1.1.3"
pnpm 不在 PATH 上时:
cd ~/.dsh/profiles/web
corepack pnpm add "github:c-ling/dsh-plugin-newsboard#v1.1.3"
dsh plugin把参数原样转发给 pnpm,直接从仓库拉取包(pnpm 9+,本机需装有git)。 安装时若看到declares no dsh.bundle — installed as a plain dependency的提示属正常现象: 本插件不是 profile bundle 层,而是通过下面的 loader 行激活。
然后在 ~/.dsh/profiles/web/cordis.patch.yml 增加一行插入:
- insert:
- id: dsh-plugin-newsboard
name: 'dsh-plugin-newsboard'
重启 dsh web(client-modules 按进程缓存包裁决,新包必须重启宿主),然后硬刷新页面,
右上角即出现「快讯看板」胶囊。
# 客户端 factory bundle
curl -s http://127.0.0.1:3080/plugins/dsh-plugin-newsboard/client.js | head -c 60
# 当前配置
curl -s http://127.0.0.1:3080/dsh-plugin-newsboard/config
# 当前抓到的消息
curl -s http://127.0.0.1:3080/dsh-plugin-newsboard/feed | head -c 500
第一条应输出 window.__ModuleLoader__.load({ 开头的 factory bundle;页面右上角能看到浮窗胶囊。
dsh plugin --profile web add "github:c-ling/dsh-plugin-newsboard#v1.1.3"
# 或:npx @deepseek-ai/dsh plugin --profile web add "github:c-ling/dsh-plugin-newsboard#v1.1.3"
# 或:cd ~/.dsh/profiles/web && corepack pnpm add "github:c-ling/dsh-plugin-newsboard#v1.1.3"
用新的 #v<version> 重新执行安装命令即可升级依赖;cordis.patch.yml 中的 loader 行保持不变。
重启 dsh web,然后硬刷新页面。
cd ~/.dsh/profiles/web
corepack pnpm remove dsh-plugin-newsboard # 或 dsh plugin --profile web remove dsh-plugin-newsboard
同时删除 cordis.patch.yml 中对应的 insert 行,然后重启 dsh web。
配置与抓取缓存位于 $DSH_HOME/storages/dsh-plugin-newsboard/,卸载后会保留,可手动清理。
本地开发建议直接 link(把 <path> 换成本仓库绝对路径):
cd ~/.dsh/profiles/web
corepack pnpm add "link:<path>/dsh-plugin-newsboard"
node --check lib/index.js lib/client.js
node --test
lib/index.js:普通 Cordis 插件,零运行时依赖;内置来源抓取、去重过滤、
磁盘缓存、/dsh-plugin-newsboard/{config,feed,refresh} 路由。lib/client.js:手写 factory-CJS bundle,无构建步骤;
inject: ["slots", "locale"],通过 shell.overlay 挂浮窗、settings.section 挂设置页。dsh-plugin-notify 使用。CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: sidebar、ui-plugin、web-ui。