Skip to content
项目

wavever/CCLimitPing has 60 GitHub stars and 12 forks. GitHot measured 0 in 7 days and 0 in 15 days. Last checked 2026-11-15 15:32 UTC. Last push 2026-11-03.

这些数字如何统计

可以做什么

  • ⏱️ Back-to-back windows — pings each provider right after reset, via the official CLI.
  • 🧠 Never interrupts you — CLI hooks detect an active session and let it start the window itself.
  • 🌙 Auto-continue overnight tasks — limitping continue codex types "continue" the moment the limit recovers (Unix only; it needs a PTY).
  • 📊 Real token & cost numbers — today / week / month, from local session transcripts.

实测星标增长

24小时
更新延迟
7天
0
15天
0
1个月
更新延迟

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

关于

Keep your Claude Code / Codex 5h rate-limit windows back-to-back — auto-pings each provider the moment its window resets. | 在 5 小时限额窗口重置的瞬间自动触发计时,让 Claude Code / Codex 的窗口背靠背、不留空档。

开发工具

README.zh-CN.md

原文

CCLimitPing

CCLimitPing

别再浪费 Claude Code / Codex 的 5 小时窗口。
limitping 在上一个限额窗口重置的瞬间,自动拉起下一个。

Release CI Stars Platform MIT

English · 中文

问题

新的 5 小时窗口,从你发出第一次计费请求才开始,不是从上一个窗口重置的那一刻。 晚回来 2 小时,这 2 小时就没了,后面的节奏也会越拖越偏。

没有 limitping   |====== 5h ======|..... 空档 2h .....|====== 5h ======|
有 limitping     |====== 5h ======|====== 5h ======|====== 5h ======|
                                  ↑ 重置瞬间自动 ping

快速开始

curl -fsSL https://raw.githubusercontent.com/wavever/CCLimitPing/main/install.sh | sh
limitping status        # 查看 5h / 周用量和重置倒计时
limitping bg start      # 在后台把窗口首尾相接

单个二进制,不需要安装 Go。复用你已经登录的 claude / codex,不新增凭据,没有遥测。 想先看会发生什么、先不花额度?limitping ping --dry-run。

亮点

  • ⏱️ 窗口首尾相接 — 重置后立刻通过官方 CLI ping。
  • 🧠 不打断你正在做的事 — CLI 钩子发现活跃会话时,让这次会话自己起算窗口。
  • 🌙 夜里的任务自动续上 — limitping continue codex 在限额恢复的瞬间输入 continue(仅 Unix,需要 PTY)。
  • 📊 真实的 token 和费用 — 今日 / 本周 / 本月,读本地会话记录。
  • 🎟️ 重置卡别过期作废 — 列出 Codex 重置额度与 Claude 重置卡;可在过期前打开 auto_redeem。
  • ⌨️ 短命令 — 每条命令都能用 lmp(lmp s、lmp w)。
Provider 读取用量(零消耗) 触发方式 鉴权
Claude Code …/api/oauth/usage 交互式 Claude Code CLI OAuth(钥匙串 / ~/.claude)
Codex …/backend-api/wham/usage codex exec --ephemeral OAuth(~/.codex/auth.json)

ping 实际跑了什么、用量如何在不起算窗口的情况下读到,见 工作原理。

文档

隐私 · 安全 · 贡献 · 行为准则

许可证

MIT © wavever