Skip to main content

QuotaBubble

ci codecov PyPI Python versions License Ruff

Your AI usage limits, always in sight.

QuotaBubble is a small, frameless desktop widget that keeps the usage limits for your AI coding tools visible without opening a dashboard, terminal, or browser. It floats above your windows, fades to almost nothing when idle, and expands into a compact detail panel when you click it.

Idle bubble Expanded detail

Features

  • Frameless floating bubble — translucent, rounded, always on top, and it never steals keyboard focus.
  • Fades away when idle — a configurable low opacity keeps it unobtrusive; hover to bring it back.
  • Click to expand — see each usage window, the percentage used, and a live reset countdown.
  • Drag anywhere — move it across monitors; the position is remembered.
  • Tray icon — show/hide, settings, open logs, and quit.
  • Resilient — refreshes every 5 minutes, caches the last good values, and keeps showing them (dimmed) through transient network or rate-limit errors.
  • Local only — it reuses the credentials your tools already store and talks straight to the providers. No telemetry, no QuotaBubble server.

Supported providers

Provider Authentication
Claude Code macOS Keychain or ~/.claude/.credentials.json
Codex ~/.codex/auth.json
Google Antigravity Windows Credential Manager, macOS Keychain, or Linux Secret Service
GitHub Copilot Windows Credential Manager, macOS Keychain, or Linux Secret Service
Cursor Cursor IDE state.vscdb / auth.json (CURSOR_SESSION_TOKEN override)
Grok (SuperGrok) ~/.grok/auth.json from grok login (GROK_HOME override)
Zed Windows Credential Manager (sign in to Zed)
Kimi Code Kimi Code CLI login in ~/.kimi-code (KIMI_CODE_HOME override)
OpenCode ~/.local/share/opencode/auth.json / opencode.jsonc (OPENCODE_API_KEY override) or API key
DeepSeek API key
OpenRouter API key
Z.ai (GLM Coding Plan) API key (Z_AI_API_KEY override)

Kimi Code runs separate regional services (kimi.com and kimi.ai): the login is only ever sent to the host the CLI itself is configured for (override with KIMI_CODE_BASE_URL). QuotaBubble never refreshes the CLI's login; when it expires, open Kimi Code to renew it.

Providers are detected automatically. Enable or disable them in Settings; API keys are entered there and validated inline with a Test button. Antigravity and Copilot reuse their existing OS keychain sign-ins, including Linux Secret Service. Cursor reuses the IDE session token from state.vscdb or auth.json (or CURSOR_SESSION_TOKEN).

Install

Windows

With winget:

winget install Izzet.QuotaBubble

Or with Chocolatey:

choco install quotabubble

Or with Scoop:

scoop bucket add izzet https://github.com/izzet/scoop-bucket
scoop install izzet/quotabubble

Or download the latest QuotaBubble-windows-x64.zip from the Releases page, unzip it, and run QuotaBubble.exe.

The binary is not code-signed yet, so Windows SmartScreen may warn you. Choose More info → Run anyway.

Ubuntu GNOME

Download QuotaBubble-linux-amd64.deb from the matching GitHub Release, then install it:

sudo apt install ./QuotaBubble-linux-amd64.deb
gnome-extensions enable quotabubble@izzet.dev

The extension activates the user-session service on demand. Open quotabubble-settings to configure providers, notifications, and launch at login.

macOS

Download the matching disk image from the Releases page:

  • QuotaBubble-macos-arm64.dmg for Apple Silicon Macs.
  • QuotaBubble-macos-x64.dmg for Intel Macs.

Install or upgrade with Homebrew after adding the first-party tap:

brew install --cask izzet/tap/quotabubble

Open the disk image and drag QuotaBubble to Applications. The initial macOS builds are not yet Developer ID signed or notarized; Control-click the app, choose Open, then confirm the first-launch dialog. Signing and notarization will be added in a later release.

From source (Python 3.11+)

git clone https://github.com/izzet/quotabubble.git
cd quotabubble
uv tool install --editable .
quotabubble

You can also install it as a standalone command with pipx: pipx install quotabubble.

Usage

  • Idle — a faint bubble; hover to make it fully visible.
  • Click — expand the detail panel; click again to collapse.
  • Drag — grab and move it anywhere, including across monitors.
  • Right-click / tray — Settings, Open logs, Show/Hide, Quit.
  • Launch at login — enable it in Settings.

Settings

Idle opacity, fade delay, refresh interval (default 5 minutes), show percentage used vs. remaining, launch at login, and which providers are visible.

Where things live

On Windows:

Path Purpose
%LOCALAPPDATA%\quotabubble\settings.json Settings
%LOCALAPPDATA%\quotabubble\Cache\last_good.json Last-good snapshots
%LOCALAPPDATA%\quotabubble\Logs\quotabubble.log Rotating log

On macOS and Linux these map to the standard platform directories.

Development

uv sync
uv run ruff check src tests
uv run pytest -q
uv run pytest -q --cov=src/quotabubble --cov-report=term-missing  # with coverage

CI gates on coverage (currently 80% minimum, see [tool.coverage.report] in pyproject.toml) and uploads results to Codecov.

See AGENTS.md for architecture and contribution conventions. The provider layer (src/quotabubble/providers/) is pure Python behind a Provider protocol, and platform specifics live in src/quotabubble/platform/.

Status

Windows, macOS, and Ubuntu GNOME 24.04 (amd64) have native release artifacts. Claude, Codex, Cursor, OpenCode, DeepSeek, OpenRouter, Kimi Code, Z.ai, and Grok work anywhere. Zed currently works on Windows only. Antigravity and Copilot reuse Windows Credential Manager, macOS Keychain, and Linux Secret Service credentials. API keys entered in Settings are stored in the OS credential store via keyring; if no OS keyring backend is available, they fall back to the local settings file.

License

MIT

Release files for quotabubble 0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quotabubble 0.2.5
File Size Uploaded
quotabubble-0.2.5.tar.gz 627.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quotabubble 0.2.5
File Interpreter ABI Platform
quotabubble-0.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 708.4 kB

Release files / quotabubble-0.2.5.tar.gz

Download URL quotabubble-0.2.5.tar.gz
Size 627.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fdfa06151b191f2784c33f13211ce12eb9a61581ae893169d84fa1d25297a270
BLAKE2b-256 checksum
How to use checksums
ec92b260ad991dfd65053be2e6bc790f6b62d93292242133eb78da7087072281
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / quotabubble-0.2.5-py3-none-any.whl

Download URL quotabubble-0.2.5-py3-none-any.whl
Size 80.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9cc690abf7fc63b6d68b8d7f545f73839285b2a05aa7ebc1504b67893e6c7a6d
BLAKE2b-256 checksum
How to use checksums
e7d8d3e0cba155c926e8327934038cb35a56883594bc00e08b4f30d3eb41f203
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.2.5 This release

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page