在 dsh 页面添加一个国内金价悬浮窗
eastbadman/dsh-gold-price is a DeepSeek Harness plugin categorized as a network tool. It renders a draggable floating window within the dsh page, displaying real-time prices for Shanghai Gold Exchange 99.99, Gold Deferred (Au T+D), Gold Bar 100g (CNY/g, with fluctuations based on yesterday's settlement price), and Spot Gold (London) (USD/oz), featuring flashing alerts for price changes (red for rise, green for fall) and plotting a 30-minute trend line for Shanghai Gold Exchange 99.99. It auto-refreshes every 20 seconds, pauses when the page is hidden, and refreshes immediately upon returning to the foreground; the dragged position is saved to localStorage and can be collapsed. The data is sourced from the Sina Finance public API. Since the API requires a Sina domain Referer and lacks CORS headers, the Host side of the plugin scrapes on the Node.js side (with Referer and a 15-second cache) and exposes a same-origin route `/gold-price/ticker.json` via `webServer.register()`, while the Client side registers for same-origin polling on the `shell.overlay` slot. The installation command is `dsh plugin --profile <profile> add dsh-gold-price` or adding the GitHub address directly; no restart is required after installation (HMR). Version 1.0.0, Node >= 20, MIT License. The data is for reference only and does not constitute investment advice; the plugin runs with the permissions of the current dsh process, so the source code should be reviewed before installation.
Read Moredsh-gold-price: Always display domestic gold price in the DSH Web client sidebar
dsh-gold-price is a plugin for the DeepSeek Harness Web client, maintained by douzhihao111, version 0.1.0, released under the MIT license. It permanently displays the latest price and percentage change of Gold 9999 at the bottom of the sidebar and provides an openable real-time panel containing the Au99.99 main quote, market cards for Gold T+D, Shanghai Gold, and Shanghai Gold Main Contract, intraday tick charts, and trading status. Quotes refresh every 5 seconds, while tick charts refresh every 30 seconds; requests are paused when the page is hidden. Data is sourced from the East Money public quote interface, with subscribed contracts being 118.AU9999, 118.AUTD, 118.SHAU, and 113.aum. The plugin is installed as a profile bundle via `dsh plugin --profile desktop add` and is written to `dsh.profile.bundles` in `package.json`. The plugin is for display purposes only and does not constitute investment advice; it runs with the permissions of the current DSH process. Please check the source code and license before installation.
Read More