deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:ZhuSheng-0807/dsh-novel-reader
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
DSH Web 摸鱼小说阅读器 · 在 DeepSeek Harness Web 里悬浮一个轻量小说阅读面板,随时摸鱼。
一个为 DeepSeek Harness (DSH) Web 打造的悬浮小说阅读器插件:点击右下角半透明白色 📖 按钮即可展开阅读面板,看小说不用切窗口,摸鱼利器。
--dsw-alias-*),随 DSH 明暗主题自动适配dsh plugin --profile web add dsh-novel-reader
dsh plugin --profile web add github:ZhuSheng-0807/dsh-novel-reader
cd <dsh-home>\profiles\web
pnpm add file:D:\dsh-novel-reader
# 把 dsh-novel-reader 追加到 package.json 的 dsh.profile.bundles
# 重启 DSH-Web(client 半由 HMR 自动热更)
安装后重启 DSH(或刷新页面),右下角会出现半透明白色 📖 按钮。
(待补充截图)
插件采用 DSH 标准的 Dual-half 结构,参照 dshmarket / dsh-better-sidebar 的写法:
dsh-novel-reader/
├── lib/index.js # Host 半:/novel/* 同源 JSON API(抓取 + 解析)
├── lib/types/index.d.ts # 类型声明
├── client/client.js # Client 半:window.__ModuleLoader__ bundle(纯 JS)
├── cordis.patch.yml # bundle 挂载补丁
├── package.json # dsh 元数据(bundle/client 声明)
└── README.md
lib/index.js)在 DSH webserver 注册 /novel/* 路由,以桌面 UA 抓取目标站并解析 HTML
(浏览器跨域 fetch 会被目标站 CORS 拦截,所以抓取放在 Host 侧):
| 路由 | 说明 |
|---|---|
GET /novel/toc?book=<id>&page=<n> |
分页目录 { book, author, page, pages, pageRanges, chapters[] } |
GET /novel/chapter?url=... |
章节正文 { title, content, prev, next }(自动合并多页章节) |
GET /novel/search?q=... |
按书名搜索 { results: [{ id, title, author, category }] } |
client/client.js)window.__ModuleLoader__.load({ id, factory }) bundle,无需编译shell.overlay 槽位,用 createPortal 渲染到 document.body
(脱离 overlay 容器 z-index 限制,不被其他插件盖住)开发:本插件是纯 JavaScript,改完 lib/ 或 client/ 后同步到
<dsh-home>\profiles\web\node_modules\dsh-novel-reader\ 即可
(client 半由 DSH 的 client-hmr 自动热更新,host 半需重启后端)。
发布到 npm:
npm login
npm publish
发布到插件市场:在 awesome-dsh-plugin
提交 PR,将本插件加入 plugins.json 即可被插件市场搜索到。
/novel/* 代理仅允许 www.hongmengxsw.com 及其子域(防 SSRF)CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。