dsh-plugin-crypto-ticker: Real-Time Cryptocurrency Ticker Card for DSH Sidebar

Introduction

The design philosophy of DeepSeek Harness (DSH) is “everything is a plugin.” In Web GUI development or usage scenarios, the bottom-left corner of the sidebar is a common display area. If you need to display real-time cryptocurrency prices (such as BTC and ETH) in the sidebar without introducing complex dependencies or configuring API keys, dsh-plugin-crypto-ticker provides a zero-dependency, key-free solution.

Plugin Overview

This is an online utility plugin maintained by 18569663yz-web, installed by default in the bottom-left corner of the DSH Web GUI sidebar. It displays the prices, 24h changes, and mini trend charts of mainstream tokens such as BTC, ETH, SOL, and JUP. The plugin provides pulse feedback when prices tick, and supports multi-source data fallback and automatic adaptation to system proxy settings.

Core Features

  • Red for rises, green for falls: Follows the display convention in the Chinese market.
  • Real 24-hour data: Retrieves actual 1-hour candlestick data from OKX or Binance, rather than decorative charts.
  • Price pulse feedback: Price increases are marked red and decreases green, accompanied by a brief visual pulse for quick recognition of changes.
  • Multi-source fallback: Data source priority is OKX → Binance → CoinGecko. If all sources are unavailable, the plugin retains the last known price and greys it out instead of clearing the interface.
  • Host-side cache: Multiple tabs share the same data, avoiding duplicate requests to upstream APIs.
  • Automatic adaptation to system proxy: At runtime, the plugin automatically detects and adapts to Windows system proxy settings, resolving direct-connection issues under mainland China network conditions.
  • Zero dependencies, no key required: No external API keys are required; ready to use out of the box.

Installation and Activation

Install it using the official command:

dsh plugin --profile web add github:18569663yz-web/dsh-plugin-crypto-ticker

After installation completes, you must restart dsh web for the change to take effect (for the desktop app, fully quit it and reopen it).

Configuration

The configuration options are written in the profile’s cordis.patch.yml. All are optional.

- id: crypto-ticker
  config:
    symbols: [BTC, ETH, SOL, JUP]   # 要显示的标的,默认 BTC, ETH, SOL, JUP
    schedule: 15                    # 刷新间隔(秒),默认 15
    cacheMs: 10000                  # 宿主缓存窗口,默认 10 秒
    sparklineCacheMs: 300000        # 走势序列重取间隔,默认 5 分钟
    upstreamTimeoutMs: 8000         # 单个信源超时,默认 8 秒
    proxy: false                    # 显式代理 / false 强制直连 / 不填自动探测
  • Add tokens: Add other tokens (such as BNB and XRP) via the symbols option.
  • Refresh frequency: Adjust the refresh interval via the schedule option.
  • Proxy settings: Control whether to use a proxy via the proxy option (only http:// proxies are supported).

Known Limitations

  • Display scope: Only Web GUI display in web/desktop profiles is supported; headless profiles or profiles without a sidebar are not supported.
  • Candlestick limitation: The CoinGecko free API does not support candlesticks. When only CoinGecko is available, the trend chart degrades to a curve of real-time readings within the current session.
  • Hard-coded copy: The UI text is hard-coded in Chinese and is not connected to DSH’s locale dictionary.
  • Proxy protocol: Only http:// proxies are supported; https:// proxies are not supported.
  • Data ownership: Market data copyright belongs to the respective exchanges and is intended for personal reference only.

Summary

For developers who need to quickly check market prices in a development environment, dsh-plugin-crypto-ticker provides a lightweight solution. Its multi-source fallback and system proxy adaptation are especially useful under mainland China network conditions. See the GitHub repository for more details.

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

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

Xiaoye