nicearrack/dsh-translator

nicearrack★ 1JavaScript最后同步: 2026-08-22

在 GitHub 打开

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

README 摘要

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. Drag the card by its header to move it, or pin it so it can't be dismissed by accident. 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 - Draggable card: drag it by its header to move it out of the way — it stays where you put it - Pinnable card: lock it in place (drag / Esc / click-outside disabled) until you close it — only one card at a time, so no nesting - Streami…

在 GitHub 查看完整 README →
终端/TUIcordisdeepseekdshdsh-plugindsh-pluginsdsh-webtranslationtranslator

分类