Preface¶
The right sidebar of DeepSeek Harness (DSH) shares the same set of apps mechanisms with “Files / Terminal / Browser,” allowing third-party plugins to embed additional entries within it. When writing prompts, running terminal commands, or consulting documentation for extended periods, you might desire an “atmosphere zone” alongside your main workspace—one that offers visuals and audio entertainment without requiring a separate browser tab. This necessitates a lightweight solution embedded directly within the sidebar.
Below is an introduction to the dsh-radio-dock (Community Category: Fun Customization) maintained by lemonhall. It ports the in-car radio logic from the author’s Godot project, godot_citys, to DSH: featuring a tab in the right sidebar where three.js renders an in-car perspective and winding night roads, with radio channels sourced from radio-browser.info and preset tags covering genres like City Pop.
What is this¶
- Repository: lemonhall/dsh-radio-dock
- Directory Page: skillhub.cn plugin page
- Version (package.json): 0.1.1
- License: MIT
In short: It adds a “📻 In-Car Radio” to the right sidebar of the DSH desktop version—allowing you to chat and develop on the left while enjoying a night road scene and network radio UI (power switch, station switching, volume, quick slots) on the right.
Core Features¶
Visuals & Scene (Client)¶
- In-Car Perspective: Driver’s seat height, silhouettes of the dashboard and steering wheel; moonlight, starry sky, and a moon with a halo.
- Winding Roads: The road surface uses vertex displacement based on three superimposed sine curves (96 segments); the camera follows the curve laterally and aligns with the tangent direction.
- Traffic & Environment: Slower vehicles in the same direction are overtaken (red taillights), oncoming vehicles pass by (warm white headlights); guardrail posts, streetlights, and distant city silhouettes loop continuously. Traffic is procedurally generated and not a simulation of real traffic.
three.js is bundled locally (r169) and does not rely on a CDN.
Radio (UI + Host Relay)¶
- The channel directory comes from radio-browser; the interface provides four tag presets: City Pop / Jazz / Synthwave / Lofi, along with a channel list, 8 quick slots, and controls for power, next/previous station, and volume.
- Stream Self-Healing: Public radio streams are often disconnected by servers; the client includes reconnection and watchdog mechanisms (including detection of “zombie connections” where the stream isn’t paused but the playback position isn’t advancing).
Audio and directory requests are routed through the host side (see “Architecture” below) to utilize local proxies and avoid mixed content and CORS issues.
Host-Provided HTTP Routes¶
| Path | Function |
|---|---|
/dsh-radio/ping |
Configuration self-check |
/dsh-radio/stations |
Fetch channel directory (accessing radio-browser via local proxy) |
/dsh-radio/stream |
Audio stream forwarding (curl via proxy, piping while receiving) |
/dsh-radio/three.module.js |
Serve the bundled three.module.js provided by the plugin |
Installation & Activation¶
The installation method provided in the official README is plugin_manager install_bundle, targeting a local link path (replace with the actual path on your machine):
plugin_manager install_bundle target=link:E:\development\dsh-radio-dock
If the repository is already local, change the path after target=link: to that directory. The README also provides an example of replacing the path after cloning, but the installation action remains install_bundle, not some other fabricated CLI subcommand.
Note: Changes to the client side (right sidebar tab) require a restart of the DSH application; the host side can be hot-reloaded.
Once installed: Click “+” in the right sidebar → Select 📻 In-Car Radio.
Typical Usage¶
- Install the bundle and restart as required (if client scripts were just updated).
- Add the “In-Car Radio” tab in the right sidebar; once expanded, you will see the currently playing station, four style tags, and the real-time result list from radio-browser.
- Use the power switch, next/previous station, volume, and 8 quick slots to switch between frequently listened channels; the scene continuously renders the night road within the tab.
- If directory or stream fetching fails, check if the proxy and API base in
cordis.patch.ymlmatch your network environment (default proxy ishttp://127.0.0.1:7897).
Hotkey semantics are ported from the vehicle_radio related actions in the original Godot project’s project.godot (e.g., power_toggle, next, prev, quick_open, etc.). Whether all are mapped within DSH depends on the current version of the client.
Configuration¶
Edit cordis.patch.yml within the plugin package:
| Key | Default | Description |
|---|---|---|
apiBase |
https://de1.api.radio-browser.info |
Radio directory API |
proxy |
http://127.0.0.1:7897 |
Both directory and audio streams go through this proxy |
defaultCountry / defaultTag |
Japan / city pop |
Default filtering preferences |
cacheTtlMs |
21600000 (6h) |
Directory cache duration |
streamTimeoutMs |
21600000 (6h) |
Total audio stream time limit (corresponds to curl --max-time); too small will cause playback to stop on its own after a while |
Architecture Overview¶
lib/index.js Host: The /dsh-radio/* routes mentioned above
lib/client.js Client: Registers sidebarRightTabs; RadioScene (three.js) + RadioPanel (Radio UI)
vendor/three.module.js three r169
Why audio requires host relay (README explanation): Directory and audio need to go through a local proxy; many public stations are http streams, while the page is http://127.0.0.1:19387, so direct requests trigger mixed content blocking; simultaneously, this bypasses CORS.
The FFmpeg GDExtension backend from the original Godot side is not needed in this plugin; the browser <audio> element can play the host-forwarded stream directly.
Use Cases & Notes¶
Suitable for: Users already using the DSH desktop version who want a lightweight “night drive + radio” atmosphere in the right sidebar; users accustomed to selecting stations from radio-browser using tags like City Pop / Jazz.
Limitations (README explicit):
- Channels rely on public directories and public streams, so availability is not guaranteed (dropping stations and rate limiting are common).
- Display of “currently playing track” is not implemented (most public streams lack reliable ICY metadata).
Security & Permissions: The plugin runs with the current DSH process privileges; the host uses curl via the configured proxy to fetch external directories and audio streams. Before installation, please read the source repository and the MIT license to ensure the proxy, API, and routing behaviors comply with your environment policies.
The DSH community plugin directory (e.g., skillhub.cn) is an independent ecosystem site with no official affiliation with DeepSeek / High-Flyer; installation sources should be based on directory pages or GitHub that you trust.
Conclusion¶
dsh-radio-dock brings the in-car radio experience of godot_citys into the DSH right sidebar: three.js night roads and winding curves handle the visuals, radio-browser handles station selection, and host routing handles proxying and mixed stream compatibility. If you need a switchable City Pop sidebar hanging alongside your main development interface, you can follow the install_bundle steps in the README to integrate it.
- Directory Page: https://www.skillhub.cn/plugins/lemonhall/dsh-radio-dock
- GitHub: https://github.com/lemonhall/dsh-radio-dock