Johnblur/dsh-bilingual-reader0

dsh-bilingual-reader

DSH better-sidebar plugin: read paper PDFs and translate a selection with the LLM, contextual and isolated from the main conversation.

包名
dsh-bilingual-reader
版本
1.0.0
许可证
MIT
最近更新
2026年8月25日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Johnblur/dsh-bilingual-reader

使用场景

  • 你在 DSH 侧边栏(better-sidebar)打开一篇论文 PDF 阅读。
  • 想快速弄懂某个句子 / 术语:选中 + 复制,插件自动翻译。
  • 不想把内容丢进主对话去问 —— 翻译只发生在插件里,不污染主对话上下文

使用

  1. better-sidebar 侧栏 + → 打开「双语阅读」标签(标签栏名为 translator,菜单内按界面语言显示 翻译 / translator)。
  2. 输入或粘贴 PDF 路径 → 点「加载」。
  3. 在上方 PDF 里选中一段文字并复制
    • 桌面版(Electron):检测到剪贴板变化,自动翻译
    • web 端或自动不可用时:点「翻译选中」按钮。
  4. 下方显示 原文 + 译文;用「上下文」滑块调整取上下文的长度。