尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
macOS notch & menu bar app that shows your Claude Code and OpenAI Codex usage limits (5h session + weekly) across multiple accounts. Native SwiftUI, no dependencies.
翻译准备中
正在加载完整 README。
查看完整 README ↗Website · Download for macOS · Releases
A tiny native macOS app that shows your Claude Code and OpenAI Codex usage limits around the MacBook notch. It covers the 5-hour session limit, the weekly limit and per-model limits, for as many accounts as you use.
The notch area becomes a Dynamic Island-style pill with one progress ring per account. Hover over it and it expands to show every rate-limit window, its percentage and when it resets. On Macs without a notch it falls back to a menu bar item.
If you juggle multiple Claude Code accounts (for example personal Max and a work Team plan via CLAUDE_CONFIG_DIR) and a ChatGPT/Codex plan, you can see at a glance which one still has quota left, without running /usage in each terminal.
~/.claude* and ~/.codex* and managed in a Settings window.xcode-select --install)One line (installs into ~/Applications, no Gatekeeper prompt):
curl -fsSL https://raw.githubusercontent.com/matheusm/notch-limits/main/install.sh | bash
Or download the app: grab NotchLimits.dmg (or the .zip), open it and drag Notch Limits to Applications. The app is not notarized yet, so on first launch open System Settings → Privacy & Security → Open Anyway.
Universal binary (Apple Silicon + Intel): a 3 MB DMG or a 1.7 MB zip.
git clone https://github.com/matheusm/notch-limits.git
cd notch-limits
./build.sh # build, install to ~/Applications and launch
./build.sh --dist # universal NotchLimits.dmg + .zip in dist/
swift test # run the test suite
Code must pass the same checks CI runs on every push and pull request:
brew install swiftlint
swiftlint lint --strict # strict style rules (.swiftlint.yml); any warning fails
swift build # compiler warnings are errors
swift test
The website in site/ deploys to notch-limits.vercel.app automatically on every push to main that changes it.
Accounts are found automatically. At launch, and whenever you open Settings, the app looks at the folders directly inside your home folder:
| Account | Found when | Default name |
|---|---|---|
| Default Claude Code account | ~/.claude.json exists | Claude |
| Other Claude Code config dirs | a ~/.claude<suffix> folder contains a .claude.json file | Claude Work (for ~/.claude-work) |
| Codex | a ~/.codex or ~/.codex<suffix> folder contains an auth.json file | Codex, Codex Team (for ~/.codex-team) |
Discovery only checks that these files exist. It does not read them, your shell configuration or the Keychain. If nothing is found, the app shows the default Claude Code (~/.claude) and Codex (~/.codex) accounts with a hint to log in.
Open Settings with the gear button in the expanded notch or in the menu bar panel. The window uses the same black look as the notch panel. Clicking the gear in the notch collapses the notch so it never covers the window; it expands again once you move the pointer away from the notch and back.
Every account, found or configured, has a row where you can:
以上为 README 的开头部分。其余内容请阅读原文。 查看完整 README ↗