Preface¶
When using the DeepSeek Harness (DSH) Web GUI for extended periods, watching the conversation and waiting for streaming model output can be taxing on the eyes. If you wish to have the content—from the latest round of questions to the assistant’s replies—read aloud, and adjust in-page media and system output volume without leaving the page, you need a fixed entry point next to the input box, rather than having to dive into system settings or open separate tools every time.
Below is the community plugin sh-volume-knob (Maintainer: jianghu-lao-yao, Category: Client). It adds a speaker button to the right of the microphone button in the DSH input box toolbar: a single click reads aloud from the default starting point and pages through markers; clicking again stops it. Dragging allows changing the starting point or opening a vertical mixing console. Note: This GitHub repository is archived, and the npm package sh-volume-knob is deprecated. The successor repository is underworld-oddball/dsh-volume-knob. The official README suggests using dsh plugin add dsh-volume-knob for new installations. However, the installation commands in this article are listed according to the original text of the current repository’s README to facilitate comparison with historical documents and SkillHub directory entries.
What is this¶
sh-volume-knob is a plugin for the DSH Web client (current package version 0.8.6, MIT license). In one sentence: Read aloud + Volume, in one button—starting from the beginning of your latest question (default), it reads through the readable nodes of the conversation all the way to the end of the latest reply; simultaneously, it provides a vertical mixing console for in-page volume and system volume (macOS / Linux).
The plugin’s order in the composer toolbar is approximately 30 (Microphone) / 40 (Speaker). It requires no additional build steps; the browser-side logic is loaded directly from lib/client.js.
Core Features¶
Read Aloud & Starting Point¶
- Default Starting Point: The first character of the latest user question. After a single click, the page scrolls to that location, a cursor blinks (not an editor selection, so copying is unaffected), and the reading order is “that question → subsequent assistant replies (including the latest one).”
- Custom Starting Point: Press and hold the speaker icon and drag right (≥16px). The cursor follows the mouse, showing the character index and a preview on the side; release to set the starting point, then click to start reading from there.
- Persistence: The starting point is saved per conversation in
localStorage; it remains after a refresh. When a new reply appears, it automatically reverts to the “start of the latest question.” - Text Source: Concatenated according to the DSH DOM whitelist—nodes with
[data-chat-flow], distinguished bydata-chat-flow-kind;data-chat-group-part="response"withinuserandassistant-stepnodes are read, whilereasoning,turn-process,turn-tail,tool-call, etc., are skipped.
Volume Mixing Console¶
Press and hold the icon and drag up (≥18px) to pop up a vertical mixing console above the icon:
| Fader | Scope |
|---|---|
| In-page Volume | The volume of all <audio> / <video> elements in the current tab (including TTS, notification sounds, etc.) |
| System Volume | System output and mute (macOS osascript, Linux pactl) |
These two are chained: system volume acts as the upper limit. Clicking elsewhere on the page or pressing Esc collapses the mixing console or cancels the starting point selection.
Synthesis & Dependencies¶
- Text is chunked into approximately 220 characters and sent via
POST /dsh-tts/speakfor each chunk, reusing the installed dsh-tts provider chain. If it is not installed or a specific chunk fails, the remaining part falls back to browserspeechSynthesis, without restarting from the beginning. - Before starting to read via a click, any currently playing audio on the page is paused to avoid overlap with dsh-tts’s
speakReplies. - dsh-tts is optional; it works without it, but audio quality and the pipeline will rely solely on browser speech.
Keyboard & Anti-mistouch¶
| Action | Behavior |
|---|---|
| Enter / Space | Read / Stop |
| Alt + ↑ | Toggle Mixing Console |
| ← / → | Move cursor by 1 character |
| Shift + ← / → | Move cursor by 20 characters |
| Long press without drag (>400ms) | Do not read (Anti-mistouch) |
| Single click icon while console is open | Collapse console only |
While reading, the icon turns blue with a sound wave arc; when in-page is muted, the icon turns red with a diagonal line; while picking a start point, the cursor is amber, and during reading, it takes the UI theme color.
Installation & Enablement¶
Installation commands from the repository README (Web profile):
# Install from npm (Recommended)
dsh plugin --profile web add sh-volume-knob
Equivalently, install source from GitHub:
dsh plugin --profile web add github:jianghu-lao-yao/sh-volume-knob
Once included in the community list, it can also be searched and installed with one click in dsh-market (Settings → Plugin Market).
After installation, restart dsh web once (the plugin is integrated into the boot graph at startup), then refresh the browser page.
Environment Requirements (README & package.json):
- DSH
>= 0.1.5-rc.3, Web GUI. - Verified used slot interfaces on
next(0.1.7-rc.1) andlatest(0.1.5-rc.3) channels; message DOM specifics likedata-chat-flow-kinddepend on the actual page. - System Volume: Available on macOS and Linux; on other platforms, this row is greyed out with a reason displayed.
If you are selecting from scratch, note that the README top states the npm package is deprecated. You may switch to the installation method for the successor package dsh-volume-knob (see the successor repository instructions).
Typical Usage¶
- Start DSH Web and confirm the speaker button appears to the right of the input box (right side of the microphone).
- After completing a round of conversation, single-click the speaker: the page scrolls to the start of the latest question, the cursor blinks, and it reads from the question to the latest assistant reply; click again to stop, and the cursor disappears.
- If you only want to start reading from a specific segment of the reply: press and hold the icon and drag right onto the target text and release, then click to start reading.
- To adjust both in-page TTS and system volume simultaneously: press and hold the icon and drag up to open the mixing console, drag the fader or mute; click on empty space or press Esc to collapse.
- (Optional) Install and configure dsh-tts first; reading will prioritize the
/dsh-tts/speakroute; otherwise, it automatically falls back to browser synthesis.
Use Cases & Notes¶
Suitable for: Developers who want to “listen to the latest round of conversation” in the Web GUI, for accessibility or to free up their sightline; local DSH users who need to quickly distinguish between in-page media volume and system output volume.
Notes:
- The plugin runs with the current dsh process permissions; review the GitHub Source and MIT license before installing. Mixing console related host routes only accept loopback or same-origin requests to prevent arbitrary pages from changing system volume.
- In-page volume is the master volume, overriding any
element.volumepreviously set by the plugin; browserspeechSynthesislacks a volume API, so when muted, onlycancel()is possible. - If the DOM re-renders while streaming output is not finished, the starting point may be re-clamped to the same node; if the node is replaced entirely, it falls back to the default starting point.
- The community directory SkillHub Plugin Page and GitHub are independent sources of information; the DSH ecosystem emphasizes “Everything is a plugin,” and directory sites have no official affiliation with DeepSeek / High-Flyer.
Conclusion¶
sh-volume-knob consolidates “reading the visible body text of the entire round starting from the latest question” and “in-page + system volume” into a single speaker button next to the input box: click to read and page through markers, drag to change the start point or open the mixing console, and it works with dsh-tts or browser fallbacks. Refer to the directory and source code:
- Directory Page: https://www.skillhub.cn/plugins/jianghu-lao-yao/sh-volume-knob
- GitHub: https://github.com/jianghu-lao-yao/sh-volume-knob (Archived, Successor: https://github.com/underworld-oddball/dsh-volume-knob)