Zero-OAuth desktop menu-bar & tray monitor for 6 AI coding CLIs — live subscription quotas, file-level incremental offline token & cache-hit analytics, Share Studio heatmaps, and signed online auto-updates.
English · 简体中文 · Download Latest Release
Highlights · How It Queries · CLI Setup · Why Zero-OAuth · Architecture · Quick Start · Safety
- Native Rust + Tauri v2: Zero
node_modules, zero frontend bundler, ~11 MB signed & Apple-notarized macOS bundle (plus Windows x64/ARM64 installers), and instant startup via persistent local caches. - 6 Official AI Coding CLIs + Custom Hiding: Manage Antigravity (
agy), Codex (codex), Claude Code (claude), Grok (grok), Kimi Code (kimi), and MiniMax (mmx) from one brand-icon sidebar with weekly-first progress bars and one-click parallel refresh. Don't use some CLIs? Hover×or toggle chips in Settings → Visible CLI Providers (including Hide Uninstalled) to hide them from the sidebar, background scheduler, tray, and Share Studio. - Unified File-Level Incremental Token Index: Read-only zstd-compressed file index (
token-index-v1.json.zst) keyed by(mtime, size)with a gentle 4-worker ceiling, Single-Flight coalescing, 150s freshness TTL, and 0 disk writes when idle. Unchanged historical sessions are never re-parsed; switching between Overview (Today/7D/30D), Models, and Share Studio (30D/90D) projects from memory in milliseconds, and idle tray ticks cost 0 ms. - macOS Menu Bar Quota & Today's Tokens: 4-mode menu bar readout (Off / Quota / Tokens / Both) showing remaining quota and/or today's compact total token usage across all CLIs (
All → Today), backed by the shared incremental index. - Share Studio (30D & 90D Usage Cards): Generate crisp
1920×1200offline PNG cards in Swiss Alabaster (light default) or Obsidian Dark themes with Top 5 Models, P90 contribution heatmap, cache efficiency meter, animated live scan feedback, and one-click Copy (⌘⇧C/Ctrl+Shift+C) or Save to Downloads. - Signed Online Auto-Updates + OS Proxy Support: Built-in Ed25519-verified updates via GitHub Releases with automatic macOS (
scutil) & Windows registry proxy detection, custom HTTP/HTTPS/SOCKS5 proxy option, and automatic direct fallback. - Low-Quota Alerts & Bilingual UX: Configurable thresholds (
20%/10%/5%) across weekly and 5-hour windows with non-focus-stealing desktop floating toasts, auto OS locale (EnglishB/M/K· 简体中文亿/万), and click-to-mask email privacy pill.
VibeBar never sends HTTP requests to any AI provider and never reads your OS Keychain, API keys, or OAuth tokens. Live quota is queried strictly through each unmodified official local CLI, paired with pure offline local log scanning for token and cache-hit analytics:
Prompt Cache Hit Rate formula: All log parsers normalize uncached input (including cache writes) into
input_tokensand cache reads intocached_input_tokens, reporting exact standard prompt cache hit rates:cached_input_tokens / (input_tokens + cached_input_tokens) × 100%.
API Key / Team Plan users: If
codex,claude, orgrokruns in API Key / Bedrock / Vertex / Foundry / Team mode without a personal quota window, VibeBar displays the mode gracefully while keeping full Offline Token & Cache-Hit Analytics active.
Important
Because VibeBar is 100% Zero-OAuth, it relies on the official CLIs installed and signed in on your machine. You do NOT need all six — install only the ones you use, and hide the rest with one click in Settings → Visible CLI Providers.
- Google Antigravity (
agy) — Install Antigravity CLI, runagyto sign in, and verify/usage. - OpenAI Codex (
codex) —npm i -g @openai/codex && codex login - Anthropic Claude Code (
claude) —npm i -g @anthropic-ai/claude-code && claude auth login - xAI Grok (
grok) — Install official Grok Build CLI and rungrok login. - Kimi Code (
kimi) — Install official Kimi Code CLI (~/.kimi-code/bin/kimi) and runkimito sign in. - MiniMax (
mmx) —npm i -g mmx-cli && mmx auth login
Custom binary paths: VibeBar auto-searches
PATHplus commonnvm,fnm, Volta, Bun, Homebrew,~/.kimi-code/bin, and npm global locations. For custom paths, open Settings → Privacy & CLI Paths.
Third-party quota tools that extract personal OAuth tokens from your OS Keychain and embed official client secrets to poll private AI endpoints directly risk violating provider Terms of Service. VibeBar is auditable by inspection: open src-tauri/src/ — there is zero Keychain/credential reading and zero HTTP requests to any AI vendor. The only optional network module (updater.rs + tauri-plugin-updater) exclusively checks and downloads Ed25519-signed VibeBar binaries from GitHub Releases.
- Tauri v2 Desktop Core (
lib.rs,refresh_policy.rs,alerts.rs,storage.rs,updater.rs) Manages the native tray & macOS menu bar readout, multi-monitor DPI popover anchoring, non-focus-stealing low-quota toast window,sys-localei18n,Condvar-driven low-frequency quota scheduler (defaults to random jitter with idle/error gradient backoff, plus fixed interval or 0-wakeup manual mode), and Ed25519-signed GitHub Releases updater with automatic OS proxy detection. - Unified File-Level Incremental Token Indexer (
token_index.rs,token_usage.rs) Maintains a single zstd-compressed file-stamp index (token-index-v1.json.zst) shared across Overview, Models, Share Studio (with SWR caching & liveheatmap-scan-progressevents), and the macOS menu bar Today's Tokens display — using a bounded 4-worker pool, Single-Flight coalescing, 150s freshness TTL, and zero disk writes when idle. - Zero-OAuth Official CLI Adapters (
pty_quota.rs,codex_quota.rs,claude_quota.rs,grok_quota.rs,kimi_quota.rs,minimax_quota.rs) Drives each unmodified official binary through its native local interface (PTY/VT100, stdio JSON-RPC/ACP, or structured CLI JSON) with strict timeouts and RAII process-group teardown. - Zero-OAuth Trust Wall All authentication, Keychain access, OAuth refresh, User-Agent, TLS fingerprint, and AI vendor API traffic stay 100% inside each official CLI binary.
Signed installers are built automatically via GitHub Actions for every tagged release (v*):
- macOS (Developer ID Signed & Apple Notarized): Apple Silicon (
aarch64).dmg& Intel (x86_64).dmg - Windows: Intel/AMD (
x64).msi/-setup.exe& ARM64 (aarch64)-setup.exe
Download from GitHub Releases. Starting from v0.1.7, future versions can be installed directly inside Settings → Software Updates with automatic system proxy support.
Prerequisites: At least one supported official CLI installed & signed in, plus Rust (1.80+). On Linux, install libwebkit2gtk-4.1-dev and libappindicator3-dev.
git clone https://github.com/NanmiCoder/VibeBar.git
cd VibeBar/src-tauri
# Run all Rust unit tests
cargo test
# Launch desktop tray app
cargo run# macOS: build local VibeBar.app bundle (no tauri-cli needed)
./scripts/build-macos-app.sh
cp -R ./dist/VibeBar.app /Applications/VibeBar.app
open /Applications/VibeBar.app
# Cross-platform installers (.dmg / .msi / .exe / .AppImage / .deb)
cargo install tauri-cli --version "^2"
cargo tauri build| Setting / Invariant | Default | Why |
|---|---|---|
| Quota refresh mode | Random · Balanced (20–40m base) |
Irregular seconds + adaptive idle/error gradient backoff (1.0× → 1.35× → 1.8× → 2.4×, capped at 150m) + wake jitter (15–75s) |
| Alternative modes | Random (Active 12–24m / Relaxed 40–70m), Fixed (15m / 30m / 60m), or Manual (0 wakeups) |
Wall-clock Condvar scheduler — never high-frequency polling |
| Cooldown debounce | 10s manual / 60s auto |
Prevents accidental double-click storms |
| Incremental log scanner | File-level (mtime, size) index · 4 workers max · 150s TTL |
Zero re-parsing of unchanged historical sessions, zero idle disk writes, 0ms idle tray checks |
| Credential & AI network access | None | Never touches Keychain, Secret Service, API keys, or OAuth files; never calls AI provider endpoints |
| Signed online updates | Optional · GitHub Releases only | Ed25519 signature verified against embedded public key; supports OS system proxy, custom proxy, or direct |
| Local state | ~/.config/vibebar/ |
Stores only settings.json, quota/heatmap caches, and token-index-v1.json.zst (no credentials) |

