dsh-plugin-paper-fetch
Manifest valid★ 3DeepSeek Harness 文献助手插件:按主题检索、尽量自动下载 PDF、文献库面板一键补下载、自动归档成干净文件夹(macOS/Linux/Windows)
dsh-plugin-paper-fetch
DeepSeek Harness(DSH)的文献助手插件:给一个主题 → DSH 出文献列表 → 尽可能自动下载 PDF → 剩下的在"文献库"面板一键打开 → 自动归档成干净的原始文献文件夹。
一键安装(把下面整段发给你的 AI agent 即可)
macOS / Linux:
git clone https://github.com/CubicZnS/dsh-plugin-paper-fetch.git ~/Documents/dsh-plugin/dsh-plugin-paper-fetch
cd ~/Documents/dsh-plugin/dsh-plugin-paper-fetch
python3 install.py
Windows(PowerShell):
git clone https://github.com/CubicZnS/dsh-plugin-paper-fetch.git "$env:USERPROFILE/Documents/dsh-plugin/dsh-plugin-paper-fetch"
cd "$env:USERPROFILE/Documents/dsh-plugin/dsh-plugin-paper-fetch"
py install.py
安装完完全退出并重启 DeepSeek Harness。重启后:
- 新会话里出现 4 个工具:paper_search / paper_fetch / paper_import / paper_status;
- 对话区顶部出现 「文献库」 标签。
安装器做了什么
- 自动找到 DSH profile(默认 desktop,也支持 --profile web 等);
- 把插件以 link: 依赖写入 profile 的 package.json,并追加到 dsh.profile.bundles;
- 用 DSH 自带的 pnpm 同步 node_modules(找不到 pnpm 时自动用 symlink / junction 兜底);
- 创建 Python 环境 ~/.dsh/venvs/paper-fetch 并安装 playwright / curl_cffi / pypdf;
- 生成 assets/config.json(若不存在)。
常用参数:
python3 install.py --dry-run # 只打印计划
python3 install.py --profile web # 安装到 web profile
python3 install.py --dsh-home /path/to/.dsh # 自定义 DSH home
python3 install.py --skip-venv # 不创建 Python 环境
python3 install.py --uninstall # 卸载
环境要求
- DeepSeek Harness Desktop 0.2.2-rc.3(插件按该版本接口编写;DSH 升级到 0.3 前请复测)
- Python 3.10+(安装器会自动建 venv;缺失时插件退回系统 Python,浏览器登录功能可能不可用)
- Google Chrome 或 Microsoft Edge(CARSI 登录窗口用;macOS/Linux 也可用 Playwright 自带 chromium,需要额外执行 python -m playwright install chromium)
用起来是什么样
- 你对 AI 说:帮我找 10 篇"手性磷酸光催化"的文献
- AI 调 paper_search → 给出标题/期刊/年份/被引/DOI 列表;
- AI 调 paper_fetch → 尽可能自动下载开放获取 PDF,订阅文献进入待下载队列;
- 打开 「文献库」 面板 → 点 "打开下一批 PDF(最多 5 篇,剩 N 篇)" 或逐篇点"打开 PDF";
- 浏览器下载的 PDF 会被插件自动识别 DOI、归档、改名;面板自动刷新;
- 全部完成后,AI 用 paper_status / paper_import 汇总最终清单。
模型工具
| 工具 | 作用 |
|---|---|
| paper_search | 按主题检索,返回候选列表(可限定年份/常见化学期刊) |
| paper_fetch | 检索 + 自动下载 OA PDF,生成待下载队列 |
| paper_import | 把 ~/Downloads 里新下载的 PDF 按 DOI 归档(默认只收能匹配任务 DOI 的) |
| paper_status | 查看任务进度 / 最近任务 / PDF 列表 |
文件夹长什么样
任务目录里只放原始文献 PDF,命名形如:
Asymmetric Radical Coupling to Form β2,2,3-Amino Acid Esters ... (Angewandte Chemie International Edition, 2025).pdf
辅助状态(manifest / 队列 / 报告)全部收在隐藏目录 .paperfetch/,Finder 默认不显示;不会再出现 pdfs/、download_list.html、queue.json 等文件。
平台
- macOS:已实机验证。
- Linux:代码层适配(xdg-open、Chrome/Chromium 路径)。
- Windows:代码层适配(rundll32/explorer、Scripts/python.exe、Chrome/Edge 检测、Windows 文件名规则、junction 安装),待实机冒烟验证。
配置
assets/config.json(安装器生成,也可在"文献库"面板里改):
{ "email": "you@example.com", "outdir": "~/Documents/PaperFetch", "max_per_run": 20 }
- email:Unpaywall 要求真实邮箱;OpenAlex polite pool 也用它。
- outdir:任务输出根目录。
合规
只做个人学习科研使用;单次 ≤20 篇;逐篇限速;不批量抓取、不再分发;不绕过付费墙/验证码。出版社反爬时以"用户点一下"为兜底。
开发 / 测试
node test/host.test.mjs # host 工具 + RPC 离线冒烟(脚本自动处理 stub)
node test/client.test.mjs # 客户端 bundle 工厂/注册/渲染(需要 DSH profile 里的 react)
卸载
python3 install.py --uninstall
(不会删除 ~/Documents/PaperFetch 里的文献和 Python venv。)
Comments
Loading…
From the same category
by awesome-dsh-plugin
A curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harness 插件精选列表
★ 25.5k
CC0-1.0
Python
Nov 23, 2026
by woniuniuniu
DeepSeek Harness 自媒体工作台插件:一句话记灵感,一键生成脚本、封面、配图和分镜
★ 1.7k
↓ 5.6k/wk
MIT
JavaScript
Nov 18, 2026
dsh plugin --profile web add dsh-media-deskby 0xsline
DeepSeek Harness (DSH) ecosystem: curated plugins, tools, and infrastructure from dsh-external/hub and the public dsh-plugin topic.
★ 1.4k
CC0-1.0
Python
Nov 6, 2026
by keli-wen
Hire Google's Antigravity CLI (agy) as a fast Gemini staffer for Claude Code, OpenAI Codex, and DeepSeek Harness.
★ 917
MIT
JavaScript
Nov 19, 2026
dsh plugin --profile agent add agy-staffby SAOS-3624
Scene-aware storyboard for DeepSeek Harness: 9-16 numbered cells with timestamps + transcript + an audio envelope, packed into ONE image (384 tokens). Two tools: video_storyboard and video_zoom.
★ 594
↓ 17k/wk
MIT
JavaScript
Nov 23, 2026
dsh plugin --profile web add dsh-video-storyboardby omdsh-dev
DSH(DeepSeek Harness)插件:把 ego-lite 浏览器(给 AI Agent 用的 Chromium)接入 HARNESS——13 个结构化 ego_* 工具(文本语义快照、语义定位点击、表单填充、截图、CDP 控制、任务空间隔离),内置 ego 运行时,Linux + Chrome 开箱即用,无需克隆官方仓库或手动构建。
★ 570
↓ 13.5k/wk
NOASSERTION
TypeScript
Nov 23, 2026
dsh plugin --profile web add dsh-ego-browser