rshh5/dsh-health-reminder ↗★ 1

dsh-health-reminder

DSH web 健康提醒插件(绿色卡通弹窗 + 动态打卡动画):可设置间隔与提醒词,弹窗「喝了喝了」打卡喝水;累计喝水成就系统(水牛/大水牛等)+ 解锁庆祝动画 + 天统计健康得分 + 近 14 天曲线 核心用于在 DSH 网页端为用户提供定时喝水与运动提醒。适合长时间在 DSH 平台工作、需要健康打卡和趣味成就激励的个人用户。

Package
dsh-health-reminder
Compatibility
Unverified
Version
1.3.0
License
MIT
Last updated
Aug 17, 2026

Other repositories with this package name

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

使用

  1. 页面左下角出现 💧 悬浮球(角标为今日健康得分),点击打开面板;
  2. 统计页:今日工作时长、喝水(含目标)、健康得分与等级、当前成就卡片;下方为成就区(累计喝水次数解锁全部成就)与近 14 天趋势曲线;底部有「清空历史统计」;
  3. 设置页(精简):提醒间隔、工作时段、喝水目标、提示音开关、提醒词(可在其中写运动提醒),保存后立即生效;可恢复默认。

配置(可选)

默认配置如下;除了在面板中修改,也可以在 DSH 页面按 F12 打开控制台执行(刷新页面生效):

localStorage.setItem("dsh.healthReminder", JSON.stringify({
  intervalMinutes: 60,   // 提醒间隔(分钟,1–480)
  startHour: 9,          // 工作时段开始(小时,24 小时制)
  endHour: 22,           // 工作时段结束(小时,需晚于开始)
  sound: true,           // 是否播放提示音
  waterGoal: 8,          // 每日喝水目标(次,1–20),也是成就参考线
  messages: [            // 提醒词列表(轮换使用,可在其中写运动提醒)
    "💧 该喝水啦!起身接杯温水,小口慢饮~",
    "🥤 水分补充时间到,喝口水再继续",
  ],
}));

恢复默认:localStorage.removeItem("dsh.healthReminder") 后刷新页面,或在设置页点击「恢复默认」。