A system tray application to track your AI coding assistant usage quotas (Antigravity, Cursor, JetBrains, Claude, etc.) on Windows.
- Multi-Provider Support: Track usage for Gemini, Antigravity, Cursor, JetBrains AI, and Claude.
- System Tray Icon: Runs quietly in the background; hover or click to check status.
- Real-time Updates: Periodically fetches the latest usage data.
- Detailed View: Tabbed settings window with detailed usage breakdown and reset times (in local time).
- Python 3.12+
- uv (Recommended for dependency management) or
pip.
- Clone this repository.
- Navigate to the directory:
cd codexbar_window
Note
This project is a Windows port of CodexBar by @steipete.
- Install dependencies:
uv sync # OR using pip pip install -r requirements.txt
After building (see below), simply run the generated executable:
./dist/CodexBar.exe- The app will appear in your system tray (Notification Area).
- Left-Click or Right-Click -> Settings to open the dashboard.
- Right-Click -> Quit to exit.
To create the standalone .exe file yourself:
- Install the build dependencies:
uv add --dev pyinstaller # or pip install pyinstaller
- Run the build script:
uv run build.py
- The executable will be created at
dist/CodexBar.exe.
If you prefer to run from source:
# Before building, or for development
uv run main.py- Claude: Requires
claudeCLI to be installed and authenticated. - Gemini: Requires
oauth_creds.jsonor authenticatedgcloudCLI. - JetBrains: Automatically detects AI Assistant usage if you use JetBrains IDEs.
- Antigravity: Automatically detects the running local process.
- Tray Icon Not Visible: Check your "Hidden Icons" menu (^) in the taskbar.
- Crash on Startup: ensure all dependencies in
requirements.txtare installed.
