AI Agent Hub
Back to plugins
🧰

dsh-translator

Web Tools Updated 2026.08.19

Run the following command in DeepSeek Harness:

dsh plugin install zhinian558/dsh-translator

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install zhinian558/dsh-translator in your terminal (source: https://github.com/zhinian558/dsh-translator), then restart dsh and refresh the page to activate the plugin.

About this plugin

Working back and forth between English and Chinese inside the DeepSeek Harness Web GUI—drafting prompts, reading papers, debugging agent output—meets a small but constant friction: opening another tab, pasting text, switching back. dsh-translator removes that step by embedding a draggable, resizable floating window directly into the GUI shell. It carries a language picker, side-by-side source and result panes, and one-click copy; position and size persist in localStorage so the window stays exactly where you last parked it.

Every translation call is routed through the host-side /translator/translate endpoint, so your API key never reaches the browser. The plugin speaks DeepSeek natively and works with any OpenAI-compatible gateway (one-api, new-api, vLLM, and others). The footer gives you a live balance lookup (DeepSeek /user/balance, OpenAI credit grants) and a running CNY cost estimate for the day, automatically flipping between peak and off-peak pricing tiers based on Beijing time (16:30–00:30 UTC+8). The estimate counts only requests made through this window, making it a quick sanity check rather than a billing record—your official statement is always authoritative.

This plugin suits anyone who alternates between English and Chinese all day inside Harness and wants a single, always-on entry point for translation without juggling yet another browser tab. It also helps if you want to glance at API spend without leaving the current page. All settings live under the translator: namespace in $DSH_HOME/settings.yaml; the in-window gear popover and Settings → Plugins write to the same document, and changes take effect immediately without a restart.

Use Cases

  • Translate text on the fly while working inside the Web GUI without opening another browser tab
  • Check your DeepSeek or OpenAI account balance right after a translation to stay on top of budget
  • Estimate daily API spend at a glance using peak and off-peak CNY pricing in the window footer

Best For

  • Developers who work bilingually in DeepSeek Harness and need frequent translation
  • Users who prefer everything in one GUI surface over juggling extra browser tabs
  • Teams that track API costs and want a quick, always-visible spend estimate