Johnblur/dsh-bilingual-reader ↗★ 0
dsh-bilingual-reader
DSH better-sidebar plugin: read paper PDFs and translate a selection with the LLM, contextual and isolated from the main conversation.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Johnblur/dsh-bilingual-reader说明文档
阅读完整 README ↗使用场景
- 你在 DSH 侧边栏(better-sidebar)打开一篇论文 PDF 阅读。
- 想快速弄懂某个句子 / 术语:选中 + 复制,插件自动翻译。
- 不想把内容丢进主对话去问 —— 翻译只发生在插件里,不污染主对话上下文。
使用
- better-sidebar 侧栏
+→ 打开「双语阅读」标签(标签栏名为translator,菜单内按界面语言显示翻译/translator)。 - 输入或粘贴 PDF 路径 → 点「加载」。
- 在上方 PDF 里选中一段文字并复制:
- 桌面版(Electron):检测到剪贴板变化,自动翻译。
- web 端或自动不可用时:点「翻译选中」按钮。
- 下方显示 原文 + 译文;用「上下文」滑块调整取上下文的长度。