π₯οΈ Windows system tray app for AI coding tool usage stats
Features β’ Screenshots β’ Installation β’ Providers β’ Acknowledgments
UsageBar is a lightweight Windows-only system tray application that displays your AI coding tool usage statistics at a glance. Stay on top of your usage limits across multiple AI coding assistants without switching between browser tabs or apps.
β οΈ Windows Only β This app is designed exclusively for Windows 10/11. For macOS, check out CodexBar.
- π₯οΈ System Tray Integration β Lives in your taskbar, always accessible
- π Real-time Usage Meters β Session and weekly usage at a glance
- β¨οΈ Customizable Hotkey β Default
Ctrl+Shift+U, configurable in Settings - β±οΈ Reset Countdown Timers β Shows "Resets in 2h 15m" for quick reference
- π Quota Alert Notifications β Windows toast notification when usage > 80% (configurable)
- π Auto-Refresh β Configurable refresh intervals (1-30 minutes)
- π¨ Glassmorphism UI β Modern gradient design with transparency slider
- π Multi-Provider Support β Monitor usage across multiple AI tools
- β‘ Instant Toggle β Enable/disable providers with one click
- π Dynamic Tray Icon β Usage meter updates in real-time
- π Quick Links β Jump to dashboards and status pages
- πͺ Frameless & Resizable β Drag to move, resize as needed
- π One-Click Updates β Version badge shows when updates are available
- π Manual Refresh β One-click refresh button in Settings
- π Retry on Error β Quick retry button when providers show errors
- π± Auto-Start β Launch UsageBar at Windows login
System tray popup with transparent glass effect and usage stats
Settings window with gradient glassmorphism theme
Latest Version: v1.5.0 β Cloud CI/CD, auto-release, test coverage
- Go to Releases.
- Download
UsageBar-v1.4.1-Portable.zip. - Extract the ZIP file to a folder of your choice (e.g.,
Documents\UsageBar). - Open the folder and double-click
UsageBar.exeto run. - (Optional) Right-click
UsageBar.exeβ "Send to" β "Desktop (create shortcut)" for easy access.
UsageBar automatically checks for updates on launch. When an update is available:
- The version badge (top-right in Settings) changes to "π Update Available"
- Click it to download the update
- Once downloaded, click "β Install Update" to restart with the new version
# Clone the repository
git clone https://github.com/ai-dev-2024/UsageBar.git
cd UsageBar
# Install dependencies
npm install
# Run in development
npm run dev
# Build installer
npm run packageStatus Summary: β 3 Tested & Working |
β οΈ 1 Limited | β 3 Untested
| Provider | Auth Method | Status | Docs |
|---|---|---|---|
| Cursor | Browser login | β Tested | docs/cursor.md |
| GitHub Copilot | GitHub OAuth | β Tested | docs/copilot.md |
| Antigravity (Windsurf) | Auto-detect | β Tested | docs/antigravity.md |
| Claude | Browser/CLI | docs/claude.md | |
| Codex (OpenAI) | CLI | β Untested | docs/codex.md |
| Factory (Droid) | App login | β Untested | docs/factory.md |
| z.ai | API Token | β Untested | docs/zai.md |
π See docs/provider.md for the provider authoring guide.
- Refresh Interval: 1, 2, 5, 10, 15, or 30 minutes
- Reset Session Daily: Auto-reset session meter every 24 hours
- Global Hotkey: Customizable keyboard shortcut (default: Ctrl+Shift+U)
Each provider can be individually enabled/disabled. Some require additional configuration:
- Providers with auto-detection work out-of-the-box
- CLI-based providers need you to run their login command
- API-based providers need an API key in Settings
# Clone and install
git clone https://github.com/ai-dev-2024/UsageBar.git
cd UsageBar
npm install
# Run locally for testing
npm run dev| Task | Command |
|---|---|
| Test changes | npm run dev |
| Format code | npm run format |
| Run tests locally | npm run test |
| Task | Where |
|---|---|
| Lint & type check | GitHub Actions |
| Unit tests | GitHub Actions |
| Build Windows installer | GitHub Actions |
| Create release | GitHub Actions |
| Close issues | GitHub Actions |
- Electron 28 β Cross-platform desktop framework
- TypeScript 5 β Type-safe JavaScript
- Vitest β Unit testing with coverage
- Electron-Builder β Packaging and distribution
- Electron-Store β Persistent settings storage
- Prettier β Code formatting
- GitHub Actions β Cloud CI/CD
- Auto-Resolve β Cloud-only issue/PR resolution on release
Everything happens in GitHub's cloud - no local build servers needed!
| Action | Where |
|---|---|
| TypeScript build | GitHub Actions |
| Unit tests | GitHub Actions |
| Test coverage | GitHub Actions |
| Windows installer build | GitHub Actions |
| Release creation | GitHub Actions |
| Issue resolution | GitHub Actions |
To release (cloud-only):
# Just push a version tag - everything else happens automatically!
git tag v1.5.0
git push origin v1.5.0
# GitHub Actions will:
# 1. Build and test
# 2. Create release with auto-generated notes
# 3. Upload Windows installer
# 4. Auto-close resolved issues- CodexBar by @steipete β The original macOS inspiration for this project. UsageBar is the Windows counterpart, bringing the same great experience to Windows users.
- Thanks to all the AI coding tool providers for making development more productive!
If you find UsageBar helpful, consider supporting the development:
MIT License β feel free to use, modify, and distribute.
Made with β€οΈ for the Windows developer community
