https://github.com/zingerlittlebee/crs-quota
quota of claude-relay-service for macOS
https://github.com/zingerlittlebee/crs-quota
Last synced: 6 months ago
JSON representation
quota of claude-relay-service for macOS
- Host: GitHub
- URL: https://github.com/zingerlittlebee/crs-quota
- Owner: ZingerLittleBee
- Created: 2026-01-03T04:35:07.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2026-01-12T15:41:10.000Z (6 months ago)
- Last Synced: 2026-01-12T21:39:08.159Z (6 months ago)
- Language: Swift
- Homepage:
- Size: 363 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# CRS Quota
Language: đēđ¸ English | [đ¨đŗ įŽäŊ䏿](./README.zh-CN.md)
A macOS menu bar app for monitoring claude-relay-service API usage quota.
## Screenshot

## Features
- **Menu Bar Display** - Click the icon to view statistics, shows daily limit percentage
- **Multi-Account Support** - Configure multiple API endpoints
- **Real-time Data** - Display costs, token usage, expiration time, etc.
- **Auto Refresh** - Updates every 5 minutes, supports manual refresh
- **Quick Access** - One-click to open admin page in browser
## Displayed Data
- User name, account status
- Total cost / Today's cost
- Daily limit progress bar
- Weekly limit progress bar (if available)
- Total tokens / Today's tokens
- Concurrency limit, expiration date and remaining days
## Requirements
- macOS 13.0+
- Xcode 15.0+
## How to Run
1. Open `crs-quota.xcodeproj`
2. Click **Run** (Cmd + R)
3. Click the menu bar icon, go to Settings to add API configuration
## Configuration
- **Name** - Configuration name
- **Base URL** - API address (e.g., `http://127.0.0.1:3000`)
- **API ID** - User API ID
- **Show in Menu Bar** - Whether to display this config's usage percentage in menu bar
## Tech Stack
- Swift / SwiftUI
- async/await for asynchronous requests
- UserDefaults for persistent storage