dsh-english-reader: Read English Aloud in DeepSeek Harness

Introduction

When reading long English texts in DeepSeek Harness, the audio playback position and your reading position often fall out of sync: the player might be on sentence 12 while your eyes have already moved to sentence 30. Switching back and forth makes it easy to lose your place. This plugin ties “where you’re heard” and “where you’re looking” together, offering sentence-level positioning, word-level highlighting, and progress persistence. After closing the panel or restarting Harness, it resumes from exactly where you left off.

The plugin supports both article and dialogue scenarios: hard-wrapped articles are split by paragraph, while dialogues are recognized by speaker with two distinct voices alternating. The plugin is maintained by KNtnx, categorized under Model Inference, and currently has 0 stars.

Core Features

The plugin offers two ways to open: a tab in the right sidebar, or a full-page panel in the sidebar. In both modes, you can read sentence by sentence—click any sentence to start playback from that point. Reading progress is written to storage and automatically restored after closing the panel or restarting Harness.

Word-level highlighting depends on the voice source: when using the Microsoft Edge online engine, the plugin leverages the engine’s actual word timestamps so the current word moves in real time with the audio; when using the local Kokoro engine or other sources, highlighting positions are estimated based on character length.

Sentence-by-sentence translation supports multiple sources: you can use a model already configured in DSH, or choose Google or Volcano Translate with no API key required. Translations are displayed in a serif font with a lighter color to distinguish them from the original text. The translation source can be switched at any time from the panel, and translations update immediately.

The plugin automatically detects text type: hard-wrapped articles are segmented by paragraph, while dialogues are identified by detecting two names and read with dual-voice alternation. Dialogues can be saved to the dialogue library, supporting renaming, pinning, and deletion. The list displays “Sentence X / of Y total.”

For playback control, single-sentence loop and “read next sentence” are independent toggles. When continuous reading is off, playback stops at the end of the current sentence; when on, it automatically advances to the next. Right-click dictionary lookup is only available for the currently playing sentence: only that sentence is decomposed into word-level tokens, showing a subtle box on hover and a definition popup on right-click. All other sentences remain plain text, so rendering overhead doesn’t grow with the number of sentences in long documents.

The dictionary feature offers three display modes: Chinese-English, English-English, and Chinese. Chinese definitions can come from iciba (free) or a DSH model; English definitions can come from WordNet (free), Wiktionary (free), Collins (requires API key), or a DSH model. When selecting “Use Model,” you can specify the provider and model below, with separate settings for each language. Model-generated definitions are full sentences (e.g., To regulate an activity means to control it by means of official rules.) rather than a list of synonyms. Each word’s model definition is generated only once—switching display language or source won’t consume additional quota.

The word favorites feature lets you add words to your favorites list. The header entry leads to “My Words.” Clicking a favorite row expands the entry, example sentences, and the original sentence from when it was saved in place. The expanded content follows your current dictionary settings: after changing the source or display language, the expanded area re-parses immediately. Favorites only store the word and the original sentence; definitions come from the dictionary or cache—so the same word shows WordNet in “English-English” mode and iciba in “Chinese” mode. Each word, example sentence, and original sentence has its own speaker button. Words favorited from the dictionary card have no original sentence, and their speaker button is grayed out.

Reading width and font size are shared across the reading page, dialogue library, and My Words. Width options are narrow / medium / wide / custom, and font size options are small / medium / large / custom px.

The settings card is divided into four collapsible sections, with only the “Engine” section expanded by default. The plugin remembers which sections you’ve opened.

Installation & Activation

Install from npm (recommended):

In the DSH interface, go to “Plugins → Add Plugin” and enter:

dsh-english-reader

Or run in the command line:

dsh plugin --profile web add dsh-english-reader

Install from GitHub:

In “Plugins → Add Plugin,” enter:

github:KNtnx/dsh-english-reader

Install from a local directory:

  1. Clone the repository locally:
git clone https://github.com/KNtnx/dsh-english-reader.git
  1. Navigate to the cloned directory and add the plugin (modify web to desktop or another value depending on your actual profile):
dsh plugin --profile web add link:./dsh-english-reader
  1. After installation, restart DSH (for the Web version, run dsh web):
dsh web

After installation, Microsoft Edge online voice is ready to use. For local models, you can click “Download & Use” in the “Add Source” section of the sidebar panel. The plugin will automatically install the local engine (approximately 120 MB, installed only once) and download the model (approximately 89 MB). No local model installation is needed if you only use Edge voice.

Typical Usage

For dialogue reading: paste dialogue text into the DSH chat window, then open the “English Reader” tab in the right sidebar or the sidebar panel. The plugin automatically identifies speakers and alternates between two voices. Click any sentence to start playback from that point; progress is saved automatically.

For reading articles: paste the article text into the chat window and view sentence-by-sentence translations in the panel. When using Edge voice, the currently spoken word is highlighted in sync. After closing and reopening the panel, playback resumes from where it stopped.

In “My Words,” favorite interesting words and click a row to expand the entry and example sentences. After switching the dictionary source or display language, the expanded area refreshes immediately.

Use Cases & Notes

This plugin is suitable for users who need to read along with English texts, practice listening, or read long English materials in DeepSeek Harness. The plugin runs with the current DSH process permissions; review the source code and license before installing.

Privacy: local models operate fully offline; Edge and custom APIs send sentences to the respective service providers; dictionary lookups only send the currently queried word; API keys are stored locally only; dialogue library, reading progress, favorited words, and settings are all stored on the host machine and never uploaded.

In Short

The dsh-english-reader plugin synchronizes voice playback with reading position through sentence-level positioning and word-level highlighting, supports automatic detection of articles and dialogues, and offers multiple translation and dictionary sources. It is ideal for English read-along and reading scenarios in DeepSeek Harness. For more information, visit: https://www.skillhub.cn/plugins/KNtnx/dsh-english-reader or https://github.com/KNtnx/dsh-english-reader.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye