https://github.com/zuoxinyu/quotify
Native codexbar alternative for Windows
https://github.com/zuoxinyu/quotify
ai-tools claude-code codex codexbar opencode windows
Last synced: 8 days ago
JSON representation
Native codexbar alternative for Windows
- Host: GitHub
- URL: https://github.com/zuoxinyu/quotify
- Owner: zuoxinyu
- License: mit
- Created: 2026-05-26T17:47:37.000Z (29 days ago)
- Default Branch: main
- Last Pushed: 2026-06-05T12:07:36.000Z (19 days ago)
- Last Synced: 2026-06-05T14:07:25.188Z (19 days ago)
- Topics: ai-tools, claude-code, codex, codexbar, opencode, windows
- Language: Rust
- Homepage:
- Size: 1.26 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
README
# Quotify
Quotify is a small Windows tray app for checking AI provider quota usage.
It shows a compact flyout with provider status, reset times, and a tray icon that can reflect a primary provider. The app is Windows-only and uses Win32 APIs with an `egui` popup UI.
Quotify is inspired by [CodexBar](https://github.com/steipete/CodexBar), especially its practical approach to surfacing provider usage in a lightweight desktop utility.
## Screenshots


## Providers
Supported providers:
- Codex/OpenAI
- OpenCode Zen/Go
- Claude
- Gemini/Antigravity
- Github Copilot
- DeepSeek
- Moonshot/Kimi
- z.ai
- Xiaomi MiMo
- Alibaba Token Plan
- MiniMax
- StepFun
- Windsurf
- Cursor
- Amp
- Augment
- Kiro
- Kilo Code
- Ollama
- OpenRouter
- Azure OpenAI
- AWS Bedrock
- Vertex AI
- Mistral
- Grok
Authentication is intentionally explicit. The app does not scrape browser cookies at runtime; configure credentials through `quotify.toml` or environment variables.
## Usage
Create a default config:
```powershell
cargo run -- init
```
Fetch provider usage once:
```powershell
cargo run -- fetch
cargo run -- fetch --provider claude
```
Run the tray app:
```powershell
cargo run -- tray
```
Build an optimized release binary:
```powershell
cargo build --release
```
## Configuration
The default config path is:
```text
%APPDATA%\quotify\quotify.toml
```
See `config.example.toml` for available fields. Common environment variables include
- `OPENCODE_AUTH_COOKIE`
- `OPENCODE_WORKSPACE_ID`
- `CLAUDE_ACCESS_TOKEN`
- `CLAUDE_SESSION_KEY`
- `GEMINI_API_KEY`
- `GOOGLE_API_KEY`
- `OPENAI_ADMIN_KEY`
- `OPENAI_API_KEY`
- `DEEPSEEK_API_KEY`
- `OPENROUTER_API_KEY`
- `MOONSHOT_API_KEY`
- `ELEVENLABS_API_KEY`
- `ARK_API_KEY`
- `Z_AI_API_KEY`
- `VENICE_API_KEY`
- `CROF_API_KEY`
- `SYNTHETIC_API_KEY`
- `WARP_API_KEY`
- `GROQ_API_KEY`
- `DEEPGRAM_API_KEY`
- `LLM_PROXY_API_KEY`
- `CODEBUFF_API_KEY`
- `KIRO_API_KEY`
- `GITHUB_COPILOT_TOKEN`
- `AZURE_OPENAI_API_KEY`
- `OLLAMA_API_KEY`
- `MINIMAX_API_KEY`
- `KIMI_AUTH_TOKEN`
- `KILO_API_KEY`
- `AUGMENT_SESSION_TOKEN`
- `CODEXBAR_BEDROCK_BUDGET`
- `GOOGLE_CLOUD_PROJECT`
- `STEPFUN_TOKEN`
- `ABACUS_COOKIE`
- `ALIBABA_TOKEN_PLAN_COOKIE`
- `T3_CHAT_COOKIE`
- `AMP_COOKIE`
- `MISTRAL_API_KEY`
- `XAI_API_KEY`
- `CURSOR_COOKIE`
- `FACTORY_API_KEY`
- `WINDSURF_SERVICE_KEY`
- `MIMO_SERVICE_TOKEN`
- `MIMO_COOKIE_HEADER`.
### Cookie helper scripts
Some providers require an explicit browser cookie header in `quotify.toml`. The
PowerShell helper can open a separate Chrome profile with remote debugging,
wait for you to log in, fetch cookies for the selected provider, and sync the
cookie header into the matching config field.
Run the interactive flow:
```powershell
.\scripts\get_cdp_cookies.ps1
```
This prompts for a provider, opens the provider page, waits for you to press
Enter after login, then writes the cookie to `%APPDATA%\quotify\quotify.toml`.
For MiMo, the script opens `https://platform.xiaomimimo.com/console/balance`.
You can also run it directly for a provider:
```powershell
.\scripts\get_cdp_cookies.ps1 -Provider mimo -OpenChrome -Sync
.\scripts\get_cdp_cookies.ps1 -Provider opencode -OpenChrome -Sync
```
If Chrome is already running with remote debugging enabled, fetch and sync from
the existing browser session:
```powershell
.\scripts\get_cdp_cookies.ps1 -Domain platform.xiaomimimo.com -Sync
```
Supported cookie-sync providers are `mimo`, `opencode`, `opencodego`,
`abacus`, `alibabatoken`, `t3chat`, `amp`, and `cursor`.
Provider card order is controlled by `[general].provider_order`. In the tray popup
long-press and drag a provider card to reorder it; the new order is saved back to the config.
For explicit network proxying, set `[network].proxy` to an HTTP or SOCKS5 URL, for example `http://127.0.0.1:7890` or `socks5://127.0.0.1:7890`.
## License
MIT. See `LICENSE`.