Windows native UI for AI coding tool usage monitoring.
A Windows 11 native app that displays usage limits for AI coding tools (Claude, Codex, Gemini) in the system tray.
This is a WinUI 3 frontend wrapper for CodexBar CLI.
Multi-provider usage monitoring with real-time updates
- Native Windows 11 UI (WinUI 3 + Mica)
- Multi-provider support
- System tray integration
- Dark mode support
- Auto refresh
- Claude
- Codex (OpenAI)
- Gemini
- Windows 10 (1809+) / Windows 11
- WSL 2 with a Linux distribution (Ubuntu recommended)
- .NET 10.0 Runtime
- CodexBar CLI
MSIX packages provide automatic updates and a clean installation experience.
- Download
CodexBarWin-vX.X.X-Certificate.cerfrom Releases - Right-click the
.cerfile and select Install Certificate - Select Local Machine (requires Administrator)
- Choose Place all certificates in the following store
- Click Browse and select Trusted People
- Click OK and Finish
Option A: Using .appinstaller (Auto-update enabled)
- Download
CodexBarWin.appinstallerfrom Releases - Double-click the
.appinstallerfile - Click Install in the App Installer dialog
- The app will automatically check for updates on launch
Option B: Using .msix (Manual install)
- Download
CodexBarWin-vX.X.X-x64.msixfrom Releases - Double-click the
.msixfile - Click Install in the App Installer dialog
- Open Settings > Apps > Installed apps
- Find CodexBarWin and click Uninstall
git clone https://github.com/nek0der/CodexBarWin.git
cd CodexBarWin
dotnet build -c Release -p:Platform=x64- Launch CodexBarWin
- App minimizes to system tray
- Click tray icon to view usage
You need to install the certificate first (see Installation Step 1 above).
The certificate was not installed to Trusted People. Uninstall the certificate and reinstall it to the correct store.
- Ensure you're running Windows 10 (1809+) or Windows 11
- Check if there's an existing installation and uninstall it first
- Run PowerShell as Administrator and execute:
Get-AppxPackage *CodexBarWin* | Remove-AppxPackage
- Open PowerShell as Administrator
- Run:
wsl --install - Restart your computer
- Run:
wsl --set-default-version 2
- Install CodexBar CLI
- Follow the installation instructions in the CLI repository
- Verify installation:
wsl codexbar --version
- Ensure .NET 10.0 Runtime is installed
- Check Windows version (requires 1809+)
- Try running as Administrator
- Check
%LOCALAPPDATA%\CodexBarWin\for logs
- Check WSL is running:
wsl --status - Verify CodexBar CLI works:
wsl codexbar --provider claude --format json - Check Settings page for refresh interval configuration
Settings are stored in %LOCALAPPDATA%\CodexBarWin\settings.json:
{
"version": 1,
"refreshIntervalSeconds": 120,
"startWithWindows": false,
"startMinimized": true,
"timeouts": {
"wslCommandTimeoutSeconds": 30,
"cliProviderFirstFetchTimeoutSeconds": 60,
"cliProviderTimeoutSeconds": 45,
"standardProviderFirstFetchTimeoutSeconds": 20,
"standardProviderTimeoutSeconds": 10
}
}Contributions are welcome! Please read our Contributing Guidelines before submitting a Pull Request.
- CodexBar - Original macOS app
This project is licensed under the MIT License - see the LICENSE.txt file for details.
Third-party dependency licenses are automatically checked in CI. To generate a license report locally:
dotnet tool install --global nuget-license
nuget-license --input CodexBarWin.sln