54 Commits

Author SHA1 Message Date
hkfires
9df3e7c8ec feat(docker): 增加 Docker 支持以实现自动化定时任务
新增通过 `docker-compose` 进行部署和运行的方式,实现了本地自动化定时签到。

主要更新包括:
- 引入 `scheduler.py` 脚本,根据 `RUN_AT` 环境变量管理定时任务,支持固定时间或随机时间范围。
- 在 Docker 环境中,Cookie 将被持久化到 `./cookie` 卷中,以在容器重启后保持登录状态。
- 新增了本地开发和测试流程,通过 `test_run.py` 和 `.env` 文件简化了调试。
- 更新了 `README.md` 文档,包含详细的 Docker 部署和本地开发指南。
2025-08-03 11:05:52 +08:00
f2bc001c74 fix: Prevent invalid value for days in get_signin_stats 2025-07-09 14:55:47 +08:00
cc84684db1 fix(timezone): Use zoneinfo for accurate timezone conversion
Replaced manual UTC+8 offset calculation with the `zoneinfo` library to ensure correct handling of timezone-aware datetimes, particularly for the Shanghai timezone.
2025-07-09 14:45:38 +08:00
4bb08f2ccf feat: Make sign-in stats query time-range flexible
Refactors `get_signin_stats` to query reward statistics over a customizable number of days, instead of being fixed to the current month. Defaults to 30 days.
2025-07-09 14:38:44 +08:00
0eaf76dd6a fix: Add Content-Type header to request
The NodeSeek check-in API has been updated to require a
'Content-Type' header on POST requests. This change adds the
'Content-Type: application/json' header to fix the resulting
check-in failures.
2025-07-09 01:59:18 +08:00
yowiv
af3c7503a4 使用UTC+8时区统计 2025-06-04 18:59:40 +08:00
yowiv
0f4d2b6e66 只计算本月收益统计 2025-06-04 18:53:22 +08:00
yowiv
d0abe5ebb8 签到收益统计 2025-05-26 21:11:37 +08:00
yowiv
bc31bc82ed Update nodeseek_sign.py 2025-05-13 01:22:59 +08:00
yowiv
d2f54a6fee Update nodeseek_sign.py 2025-05-11 01:58:27 +08:00
yowiv
8d128ab3da Update nodeseek_sign.py 2025-05-11 01:50:14 +08:00
yowiv
68598a8bb0 修复多账号签到问题 2025-05-11 01:40:22 +08:00
yowiv
6bfb024321 修改通知显示账号 2025-05-11 01:35:07 +08:00
yowiv
472be564a4 恢复NS_RANDOM变量 2025-05-10 21:00:03 +08:00
yowiv
b6d33ed3ce 修复GitHub保存ck的bug 2025-05-09 17:29:49 +08:00
yowiv
aa53f66d52 修改github保持bug 2025-05-09 17:09:25 +08:00
yowiv
2382ffe7f6 Update nodeseek_sign.py
删除自建cloudflare验证,适配青龙面板自动保存cookie(无需应用设置)
2025-05-09 17:01:17 +08:00
Spark
9b67194250 支持青龙面板自动保存cookie
支持青龙面板自动保存cookie cookie到环境变量 失效自动更新 并且发送新cookie到tg 同时修改环境变量 增加修改时间到备注
2025-05-05 12:28:41 +08:00
yowiv
505805ca67 Add files via upload 2025-04-28 19:48:49 +08:00
yowiv
da35eb67ad Update nodeseek_sign.py 2025-04-28 18:45:37 +08:00
yowiv
e104bb208e Add files via upload 2025-04-28 18:38:34 +08:00
yowiv
40f9a6d7bb 打印 2025-04-28 18:17:07 +08:00
yowiv
4dc7fd7900 支持多账号 2025-04-28 18:01:13 +08:00
yowiv
55a35940ae GitHub Actions 写入变量 2025-04-28 17:40:40 +08:00
yowiv
2f94d00c0a Add files via upload 2025-03-17 13:56:46 +08:00
yowiv
06efa8a14f 修复显示bug 2025-03-16 00:35:57 +08:00
yowiv
d055ae309f Update nodeseek_sign.py 2025-03-15 15:23:55 +08:00
yowiv
3d9207ccbd Add files via upload 2025-03-15 15:12:40 +08:00
yowiv
c5e72e577a Update nodeseek_sign.py 2025-03-12 00:26:08 +08:00
yowiv
e515ed3211 nodeseek 登录签到 2025-03-12 00:24:41 +08:00
yowiv
cdf168d34b 修改变量及添加代理访问 2025-03-06 05:00:34 +08:00
Qianyue
ef36efdb87 Update nodeseek_sign.py 2025-01-17 19:02:10 +08:00
Qianyue
61a0c8474a Update nodeseek_sign.py
添加tg超级群组话题通知
2025-01-17 19:01:40 +08:00
yowiv
a5e1f7354c Update nodeseek_sign.py 2024-10-31 00:04:45 +08:00
YYWO
e9526fea27 更新NS_RANDOM变量 2024-06-04 00:30:54 +08:00
YYWO
cf3f1f0313 Update nodeseek_sign.py 2024-05-28 23:33:18 +08:00
YYWO
a3f96584e6 Update nodeseek_sign.py 2024-05-27 22:48:46 +08:00
YYWO
2d3b4e7313 Update nodeseek_sign.py 2024-05-27 22:48:29 +08:00
YYWO
614715372f 解决Cloudflare防护 2024-05-27 22:41:08 +08:00
YYWO
1058f28af8 更新青龙面板变量 2024-05-27 22:14:02 +08:00
YYWO
f3f012d7ff Update nodeseek_sign.py 2024-05-27 20:41:09 +08:00
YYWO
1d6e70daf1 Update nodeseek_sign.py 2024-05-21 16:13:09 +08:00
YYWO
201e6c52bd Update nodeseek_sign.py 2024-05-21 16:07:41 +08:00
YYWO
98fbd5fd1a Update nodeseek_sign.py 2024-05-21 16:01:12 +08:00
YYWO
6ffbf6cd82 Update nodeseek_sign.py 2024-05-21 15:59:48 +08:00
YYWO
204344851a Update nodeseek_sign.py 2024-05-21 15:58:41 +08:00
YYWO
02e26a7bcc Update nodeseek_sign.py 2024-05-21 15:57:49 +08:00
YYWO
6b780b034f Update nodeseek_sign.py 2024-05-21 15:54:21 +08:00
YYWO
6cbadc0fe9 Update nodeseek_sign.py 2024-05-21 15:36:59 +08:00
YYWO
9ea0df2f85 改为固定🍗5 2024-04-01 23:55:28 +08:00