DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

nicearrack /

nicearrack/dsh-translator

Verified

基于 DSH 的有道风格划词翻译:划选即现「译」按钮,harness 自带大模型,零 API key / Youdao-style word-selection translation for DSH: select text, click 「译」, powered by the harness's own LLM, no API keys

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@a389d4e3

dsh-translator

Youdao-style word-selection translation for DeepSeek Harness (DSH).

Select any text — a conversation message, the sidebar, an input field — and a floating 「译」 button appears at the selection's top-right corner. Click it to get a translation card. Translations are produced by the harness's own LLM: no API keys, no third-party endpoints, your selected text never leaves the model pipeline you already configured.

English 中文 README

Usage

Select text → click the 「译」 button at the selection's top-right corner → the translation card appears. That's it.

Features

  • Word-selection trigger anywhere in the app; floating button follows the selection, theme-aware (light/dark)
  • Automatic direction detection (Chinese → English, everything else → Simplified Chinese)
  • Translation card with source, direction badge, result, and retry on failure; dismiss with Esc / click-outside / scroll
  • Uses your configured default model — zero extra configuration

Install

From npm:

dsh plugin --profile web add @nicearrack/dsh-translator@latest

From a local checkout:

dsh plugin --profile web add /path/to/dsh-translator

From git:

dsh plugin --profile web add github:nicearrack/dsh-translator

Git installs run the package's prepare build script. pnpm ≥ 10 requires one-time authorization: add allowBuilds: { "@nicearrack/dsh-translator": true } to the profile's pnpm-workspace.yaml if the first install is refused.

Uninstall

dsh plugin --profile web remove @nicearrack/dsh-translator

Restart the instance (dsh --profile web) for the removal to take effect.

License

MIT

—/ 5

No ratings yet

Verified DSH bundle

Commit a389d4e3a94c

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout