RiRi9909/DeepSeekHarness-community-index0

dsh-sentiment-cockpit

DSH web plugin: r/DeepSeek community sentiment cockpit — DSI optimism/anger index dashboard with an auto-refresh data pipeline (Fear & Greed style).

包名
dsh-sentiment-cockpit
版本
0.2.3
许可证
MIT
最近更新
2026年8月18日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:RiRi9909/DeepSeekHarness-community-index

Usage

  • Open Settings → Sentiment Cockpit for the panel; it polls for new data every 60 seconds.
  • Click Refresh to re-run the pipeline immediately (about 1–20 minutes; the button shows "Refreshing…" meanwhile).
  • Click Open in new tab to view the self-contained HTML snapshot standalone.
  • Settings namespace sentiment-cockpit: enabled (default true), intervalMinutes (default 60, range 10–1440).

Desktop widget

Configured in the sentiment-cockpit settings namespace:

KeyDefaultDescription
desktopEnabledfalseOpen the desktop widget when DSH starts
desktopMode"desktop""desktop" sticks to the desktop layer (normal windows cover it); "floating" keeps it on top
desktopScale1Scale (0.7–1.6)
desktopX / desktopY-1Window position; negative values auto-place it at the bottom-right

Changes take effect after restarting DSH. The widget has two states and always boots in the mini state:

  • Mini state: a small pill showing 📈 + the DSI value (parked at the bottom-right corner by default). Click the pill to expand the full card; drag the pill to move it.
  • Full state: the header shows the live DSI index and offers four actions — minimize (—), refresh (⟳), open snapshot in browser (⧉), close (✕). Drag the header to move the window.

Positions of both states are remembered and restored across restarts (each boot still starts from the mini state).

If the bundled binary is missing (e.g. a non-arm64 Mac), the plugin attempts to compile assets/desktop/main.swift on the fly with the local swiftc.