akitaonrails / ai-usagebar
PublicRust-based waybar widget to monitor status of Claude, GPT, GLM, OpenRouter plans/credits - inspired by claudebar/codexbar
ai-usagebar is a desktop widget and terminal app that monitors how much you've used your AI service quotas (Claude, ChatGPT, Z.AI, OpenRouter). It displays usage percentages and reset timers on your Linux status bar, with automatic credential refresh and caching to avoid hitting API limits. You can view all vendors at once in a colorful terminal window or cycle through them with your mouse scroll wheel.
How It Works
You pay for Claude, ChatGPT, or other AI services and want to see at a glance how much quota you've used.
You install ai-usagebar from your Linux package manager (like yay on Arch) or compile it from source.
For Claude and ChatGPT, you just run their login commands once. For Z.AI and OpenRouter, you enter your API key in the settings screen.
A small widget shows up on your status bar displaying 'Claude 62% · 1h 30m' or similar, with a color that changes as you get closer to your limit.
Use your mouse scroll wheel on the widget to quickly check different services one at a time.
Click the widget to open a colorful terminal window showing all your AI services side by side.
The widget refreshes automatically every few minutes, and your credentials are kept fresh without you having to do anything.
No more surprise 'out of quota' errors mid-conversation. Your AI usage is always visible on your screen.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.