MeteorNOX/DeepSeek-Balance-Whale-Widget

DeepSeek Harness(DSH)一只住在 DSH 界面右下角的小鲸鱼娘,帮你盯着DeepSeek账户余额。QQ弹弹,支持拖拽吸附、左吸附翻转、数字滚动动画,随界面自动启用,建议直接喊来你的dsh安装

What it solves

This project provides a visual balance tracker for users of the DeepSeek Harness (DSH) Web interface. It solves the problem of having to manually check API usage and costs by integrating a persistent, interactive "whale" widget that displays real-time balance and spending statistics directly on the screen.

How it works

The widget acts as a plugin for the DSH Web interface. It fetches the current balance using the DEEPSEEK_API_KEY and tracks daily usage through two different methods: a local "bookkeeping" mode that calculates spending based on balance drops, or a "token" mode that uses a platform session token to pull precise usage data from the DeepSeek platform. It also listens to local session events to calculate and display the exact cost of each individual conversation turn.

Who it’s for

Users of the DeepSeek Harness (DSH) who want a convenient, non-intrusive way to monitor their API credits and daily expenditures without leaving their chat interface.

Highlights

  • Real-time Tracking: Automatically refreshes balance every 60 seconds with smooth rolling animations.
  • Dual Usage Modes: Offers both a zero-config local tracking mode and a high-precision token-based mode.
  • Per-Turn Costing: Displays the exact cost of each conversation turn immediately after it ends.
  • Interactive UI: Features a draggable, snap-to-edge widget with customizable size, sound effects, and random dialogue bubbles.
  • Easy Installation: Standard DSH bundle plugin that can be installed via the dsh plugin command.

Related

  • Project
  • Project
  • Project
  • Project
  • Project