Skip to main content
H

dsh-off-work-countdown

handsye/dsh-off-work-countdown

Adds a draggable off-work countdown card with customizable workdays and off-work time.

Install

dsh plugin --profile web add github:handsye/dsh-off-work-countdown

README

Off-work Countdown / 下班倒计时

A draggable floating off-work countdown card for DeepSeek Harness.

在 DeepSeek Harness 中显示一张可自由拖动位置的下班倒计时悬浮卡片。

Features / 功能

  • Defaults to 18:00, Monday through Friday. / 默认周一至周五 18:00 下班。
  • Customize the off-work time and workdays. / 自定义下班时间和每周工作日。
  • Drag the card by its blank area; its position is remembered in the current browser. / 按住卡片空白区域拖动,位置自动保存在当前浏览器。
  • Focus the card and use arrow keys to move it by 10 px; hold Shift for 1 px adjustments. / 聚焦卡片后用方向键移动 10 像素,按住 Shift 可精细移动 1 像素。
  • The card stays within the viewport, including after resizing or opening settings. / 窗口始终限制在视口内,浏览器缩放或展开设置时自动调整位置。
  • Uses the device's local time and updates every second. / 使用设备本地时间,每秒更新。
  • Stores preferences locally and makes no network requests. / 偏好仅保存在当前浏览器,不发送网络请求。

Installation / 安装

Install from the GitHub repository with DeepSeek Harness:

dsh plugin add https://github.com/HandsYe/dsh-off-work-countdown

Installing the bundle activates it right away in the profile — no separate enable step is needed.

安装即自动加入 profile 并激活,无需单独的开启步骤。

Usage / 使用

  1. Click Settings / 设置 on the card.
  2. Choose your off-work time and workdays, then save.
  3. Drag the card's blank area to reposition it. Interactive controls and the settings panel do not start dragging.

工作日到点后显示“下班啦”,非工作日显示“今日休息”。停用插件后卡片消失,本地设置保留。

Development / 开发检查

npm run check

Privacy / 隐私

The plugin does not read conversation content or send network requests. Settings and window position use the browser's localStorage.

插件不读取会话内容,不发送网络请求;设置和窗口位置均保存在浏览器 localStorage 中。

License

MIT

Related plugins