DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-selection-translate

z

dsh-selection-translate

Discovered

DSH Web GUI Phrase Translation Plugin: Select English text to instantly display its Chinese translation in a floating card. Uses the free Bing/MyMemory engine — no API Key required.

Machine translated

dsh-selection-translate

test

DSH Web GUI 的划词翻译插件:用鼠标选中英文,松手后在选区旁浮现一张只显示译文的小卡片。

  • 划词即译:约 60 ms 发起翻译,卡片贴着选区定位,并始终绘制在菜单、弹窗之上。
  • 只显示译文:没有标题栏、按钮或语言标签;材质、字体与圆角跟随 DSH 浅色/深色主题。
  • 免费免密钥:主用 Bing(Edge 翻译接口),失败降级到 MyMemory,不调用任何付费模型。
  • 零打断、不落日志:不抢焦点、不改选区;选中文本只发给上述翻译接口,不写入会话日志。
  • 中英混排可翻:英文句里夹中文、中文句里嵌成段英文都能翻;纯中文与零散英文 token 静默。

需要已安装 DSH,并通过它的 Plugin Manager 加载。

安装

把仓库克隆到任意目录,然后在 DSH 里安装本地 bundle:

plugin_manager install_bundle("<本仓库目录的绝对路径>")

开发

离线测试(Node ≥ 20.4,无需网络):

node --test test/host-route.test.mjs test/client-harness.test.mjs

交互规则、验证步骤、实现说明与已知限制见 docs/DEVELOPMENT.md。

License

MIT,见 LICENSE。

Comments

Loading…

Similar plugins

dsh-translate-on-select

by syzke

DSH 划词翻译插件:鼠标选中非中文内容后,在选区下方就地浮出简体中文译文 | Select-to-translate plugin for DeepSeek Harness (DSH)

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 1

MIT

JavaScript

Oct 14, 2026

dsh plugin --profile web add dsh-translate-on-select

by Eyeing0721

DSH Web 插件:展开英文思考块即时呈现中文译文,不改动任何会话原文。

UI & ExperienceDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 2

MIT

JavaScript

Sep 18, 2026

dsh plugin --profile web add dsh-cot-en2cn

by yfwu2020

DSH 划词解读:选中文字浮出按钮,点击弹窗流式显示专业中英翻译 + 该文字在当前上下文中的含义详解

UI & ExperienceManifest valid

★ 2

↓ 469/wk

MIT

JavaScript

Sep 25, 2026

dsh plugin --profile web add @yfwu2020/dsh-selection-explain

by bjcdeshu

Windows 全局划词助手:Cherry 同款取词基础,复用 DSH 模型翻译、解释与总结。MIT 开源。

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Oct 17, 2026

dsh plugin --profile web add dsh-selection-assistant

by qwert702

DeepSeek Harness 插件:英文回复自动翻译成中文,工具调用附带一行中文注释;翻译走独立请求,不占用上下文窗口

UI & ExperienceSessions & MessagesManifest valid

★ 4

↓ 96/wk

JavaScript

Oct 17, 2026

dsh plugin --profile web add dsh-auto-translate

by DevinMx520

In-place selection translation for DeepSeek Harness — right-click selected text to replace it with Chinese, right-click again to restore the original. 右键划词翻译,再次右键还原。

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Oct 19, 2026

dsh plugin --profile web add dsh-selection-translator