Live crypto price ticker for the DSH right sidebar with Binance WebSocket, REST fallbacks and carousel float windows.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:TomContral/dsh-plugin-crypto-ticker
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
A DeepSeek Harness plugin that adds a Markets tab to the right sidebar, streaming live USDT prices and 24h change for major coins.
Features
- Live feed — connects to the Binance combined ticker WebSocket first; price ticks flash green/red.
- Resilient fallback — if the socket delivers nothing within 8s or drops, it falls back to a REST polling chain: Binance (5s) → OKX (5s) → CoinGecko (15s). A supplement loop backfills any pair the stream never delivers, so no row stays stuck.
- Carousel floats — multi-select coins and float them in a single window that rotates through them (default every 5s). Dots show the current position; click a dot to jump.
- Switch interval — set the rotation interval (1–120s) in the sidebar Manage coins panel; it applies to all carousel floats instantly and persists.
- Per-window opacity — each float has a 20–100% opacity slider, remembered per window.
- Manage coins — add/remove coins from the gear panel; Binance/OKX pairs are derived automatically (
SYM+USDT/SYM-USDT). The feed rebuilds live. - Master power switch — stop all real-time fetching (socket, polling, supplement) with one click; prices freeze, state persists across restarts.
- Floats are draggable, position-persisted, and keep streaming even when the sidebar is collapsed. UI follows the DSH language (English / 中文).
Install
From a plugin market / index (recommended): enable Plugins → Experimental plugins → Custom plugin indexes, open Discover, Add index source, and paste the index URL:
https://tomcontral.github.io/dsh-plugin-crypto-ticker/index.json
Manual (Git): install the bundle from this repository in the DSH Plugins page, or add it to your web profile:
github:TomContral/dsh-plugin-crypto-ticker#v0.1.0
Data sources
Binance WebSocket → Binance REST → OKX REST → CoinGecko REST. If all sources fail it shows Offline with a retry button and retries every 30s.
Known limitations
- Colors follow the international crypto convention (green up / red down).
- Direct Binance access may be blocked on some networks (e.g. mainland China); the plugin automatically falls back to OKX / CoinGecko. A system proxy may be needed if all sources are unreachable.
Development
| File | Role |
|---|---|
package.json |
dsh.bundle.patch + dsh.client (platform: web) declaration |
cordis.patch.yml |
Inserts one host Loader row crypto-ticker |
lib/index.js |
Host half: empty apply (placeholder Loader row) |
lib/client.js |
Browser half: hand-written factory-style CJS bundle; registers the tab type + slot body + float layer |
docs/index.json |
Plugin-market index (served via GitHub Pages) |
docs/icons/crypto-ticker.svg |
Market / repo icon |
lib/client.js follows the @deepseek-ai/dsh-client-modules bundle protocol (window.__ModuleLoader__.load({ id, factory })) — no build step. It only requires react, react/jsx-runtime, react-dom/client from the platform base. Singletons: coinStore (watchlist), feedManager (refcounted feed), floatStore (float windows), intervalStore (global rotation interval), and FloatLayer (an independent React root on document.body).
The market index lives in docs/, so GitHub Pages (main branch /docs) serves it at https://tomcontral.github.io/dsh-plugin-crypto-ticker/index.json.
License
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10703
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10703
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 8557
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7523
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 5405
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
omdsh-dev/dsh-genui★ 1091
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.