macOS menu bar app + WidgetKit widget tracking Claude Max and Codex Pro usage limits.
- Requires: Xcode 16.4+, macOS 14.0+ (Sonoma), XcodeGen
- Generate project:
xcodegen generate - Build:
xcodebuild -project Throttle.xcodeproj -scheme Throttle -destination 'platform=macOS' build - Test shared lib:
cd ThrottleShared && swift test
Three targets sharing a Swift Package:
- Throttle — menu bar app, owns polling loop
- ThrottleWidget — WidgetKit extension, reads App Group store
- ThrottleShared — models, API clients, Keychain, App Group store
- Claude:
GET https://claude.ai/api/organizations/{org_id}/usage - Codex:
GET https://chatgpt.com/backend-api/wham/usage