Elfvision monitors AI provider quotas, reset times and API spending from your Linux desktop. Keep separate connectors for personal and work accounts, check usage and balances, and receive alerts without opening each provider's website.
The current build integrates with GNOME Shell 50 and 51 through a native extension. Elfvision is expanding to other desktop environments and window managers, including KDE Plasma. The OAuth integrations are unofficial and carry account risks; read Provider access and consent before connecting.
- How it works
- Desktop integrations
- Getting started
- Providers
- Features
- Configuration
- Privacy
- Troubleshooting
- Contributing
- License
| Environment | Status | Package |
|---|---|---|
| GNOME Shell 50 and 51 | Available | GNOME Shell extension ZIP |
| KDE Plasma / KWin | Planned | Integration and package not released yet |
| Other desktop environments and window managers | Planned | Integration and compatibility to be defined |
The instructions and screenshots below describe the GNOME integration. Features and installation steps for additional integrations will be documented when their builds are available.
Add a connector for each account you want to monitor in Preferences. You can connect several accounts from the same provider. Each connector has its own quota card and status; usage and balances are never combined. The top bar shows the highest quota usage or a monetary amount for each connector. Progress bars appear only when a limit is known; quota windows carry a short label. Warning, critical, stale and error states have symbols as well as colors. Hover for the state and time until reset.
Click the indicator to open the popup. Provider cards show usage windows, reset times, available plan information and a pacing marker for steady usage. The footer offers a legend, Refresh and Preferences. Providers that cannot fit on the bar stay accessible in the popup. Local connector names distinguish accounts in the cards. You can pause one connector without removing its account. Choose the popup's connector order and visibility separately: hiding a card keeps its polling, notifications and top-bar eligibility active.
The extension starts without connectors in both Live and Demo mode. The popup's Add connector action opens Accounts, without selecting a provider. Preferences opens an optional setup assistant that guides you through providers, panel display and notifications. Every provider is optional; selecting one does not sign you in.
- GNOME Shell 50 or 51. GNOME Shell 50 is declared compatible but has not been tested; other versions are not declared compatible.
- A desktop Secret Service, such as GNOME Keyring, for API keys and sign-ins.
flockfrom util-linux (at/usr/bin/flock) for safe coordination across login sessions.- Python 3 for the optional OAuth client-ID helper.
- To build from source:
gnome-extensions,glib-compile-schemas,msgfmt, Python 3 and thezip/unzipcommands. On Fedora, the schema and translation tools are provided byglib2-develandgettext.
The installable file is named
elfvision-gnome.shell-extension.zip. Download it and
SHA256SUMS from the releases page.
The release also includes build-manifest.json, which identifies the source commit
(tools/release-assets.sh writes both files; releases before 0.2.7 may lack them).
There is no extensions.gnome.org listing. From the download folder, verify and
install the archive:
sha256sum --check SHA256SUMS
gnome-extensions install --force elfvision-gnome.shell-extension.zipThe GNOME integration retains its original installation ID despite the rename to Elfvision, so updates reuse existing connectors, credentials and settings.
Log out and log back in, then enable the extension:
gnome-extensions enable [email protected]
gnome-extensions prefs [email protected]A new login also loads an updated build. On Wayland, the running shell does not reload newly installed extension code. If you disable and re-enable the extension before logging in again, it keeps using the files paired with the code already loaded in the current Shell session; the update takes effect at the next login.
Install the new release ZIP with the same gnome-extensions install --force
command, then log out and back in to load its code. Ordinary updates replace the
extension files and preserve connectors, keyring credentials, preferences,
custom themes and public client configuration. Do not uninstall or delete the
extension's configuration directories to update it. Restore configuration and
Delete all connectors are separate, explicitly confirmed actions.
From a checkout containing the revision you want to install:
tools/pack.sh
gnome-extensions install --force dist/elfvision-gnome.shell-extension.zipThe pack script compiles schemas and translations, then creates the standard GNOME
extension ZIP in dist/. Log out and back in, and run the enable command above.
The default repository branch may differ from the published release;
check the checkout's metadata.json for its declared version and shell support.
Open Preferences → Accounts → Add connector…, choose a provider, and give the connector a name such as “Codex work”. Creating a connector does not sign you in. Its editor lets you rename it, configure access, and control tracking. Add another connector for another account, including an account from the same provider.
For Command Code, enter your account name to open the key-management link, then paste your API key into the key field and save it. The extension stores the key in the desktop keyring.
For Codex, Claude or Antigravity, install the corresponding client if you use it. In the connector editor, choose Find configuration automatically to run the packaged helper for that provider. The helper checks the installed client and verified public source where available, then writes the extension's private OAuth client configuration. You can cancel the search or use the copy-command fallback:
python3 -I "${XDG_DATA_HOME:-$HOME/.local/share}/gnome-shell/extensions/[email protected]/tools/import-client-ids.py"Add codex, claude or antigravity to run the helper for one provider only.
From a source checkout, use python3 -I tools/import-client-ids.py instead. It
reads public OAuth client configuration, never account tokens.
Then press Connect, review the provider notice, and sign in through your browser. If the browser cannot return to this computer, paste the final callback address or displayed code into the field offered by Preferences.
By default, the extension keeps API keys and OAuth tokens in the desktop
keyring. For Command Code, Codex, Claude or Antigravity, you can instead turn on
Use credentials from a local tool for that connector. This
mode reads only the documented source for the selected provider: Command Code's
~/.commandcode/auth.json, Codex's ~/.codex/auth.json, Claude Code's
~/.claude/.credentials.json, or the service=gemini keyring item for
Antigravity. The token or key is sent to the provider only for quota checks and
is not copied, refreshed or removed by the extension. If it expires, renew it in
the owning tool and choose Check now. OpenAI API, Anthropic API, Cursor and
OpenRouter admin-key connectors do not yet have a verified local-tool source;
use their normal key field.
Available data depends on the provider and account permissions. Subscription quotas, organization spending and key allowances are separate measurements. Missing limits never become a made-up percentage or balance.
| Provider | Connection | Data and requirements |
|---|---|---|
| Command Code | API key | Five-hour and weekly usage; remaining monthly credits in USD |
| Codex | OAuth 2 with PKCE | Subscription rate-limit windows, reset times and plan |
| Claude | OAuth 2 with PKCE | Subscription five-hour and seven-day usage |
| Antigravity | Google OAuth 2 with PKCE | Gemini and shared Claude/GPT subscription pools |
| OpenAI API | Organization Admin API key | Current UTC-month organization costs; configured monthly spending limit when available |
| Anthropic API | Organization Admin API key | Current UTC-month organization costs; no assumed balance or limit |
| Cursor | Team Admin API key | Team aggregate spending; hourly polling, no personal subscription quota |
| OpenRouter | API key | Remaining key allowance, or account credits with a management key; unlimited keys show spending |
The provider selector identifies API keys and OAuth 2 with icons and text. Gemini and Z.ai are deferred to future versions. OpenAI and Anthropic administrative keys require organization permissions; ordinary inference keys cannot access these reports. Cursor requires a team administrator. See provider endpoints and limitations for exact APIs and primary sources. Synthetic tests cover all supported reporting contracts; no successful real-account round trip has been recorded for these additions.
PKCE means Proof Key for Code Exchange. The subscription integrations create their own sign-in and do not reuse the official clients' saved sessions.
This is a personal-use project. The three OAuth integrations use another application's public client configuration and unofficial quota endpoints. A successful sign-in does not mean the provider permits this access. Preferences requires an explicit acknowledgement before an OAuth connection starts.
- Codex: access may conflict with OpenAI's Terms of Use, including restrictions on automated extraction and bypassing limits. Provider permission for this extension is not established.
- Claude: Anthropic's credential-use rules prohibit third-party Claude.ai sign-in and collecting or storing subscription session tokens. This integration uses that unofficial access; an account may be limited or suspended. Acknowledgement does not grant permission.
- Antigravity: its additional terms prohibit third-party tools accessing the service and identify account suspension or termination as possible consequences. The extension also warns about risk to your wider Google account and requests the Google Cloud scope. Connect only if you accept the notice.
- Command Code: API-key authentication appears in the official Provider API documentation. That documentation does not certify this extension's quota endpoint.
- Panel and popup: choose left, center or right placement, show one to five connector items, choose which connectors take them, pick session or week as the main metric, and use automatic, always, or never compact mode. Connector cards can open automatically when they need attention. Set popup width and maximum height in logical pixels, or use automatic sizing; the current monitor limits its displayed size. Choose which cards appear and arrange them with accessible up/down controls independently of the bar's priority order.
- Reset times: follow GNOME's clock setting or choose 12/24-hour time; display
countdowns as
1h 20minor1h20. - Notifications: critical quota notices are enabled at 95% by default. Earlier warning notices are opt-in, initially 80%. Configure five-hour, weekly, monthly and credit rules separately, with warnings below critical. Connection notices and a test notification have their own controls.
- Themes: 22 built-in themes, each with light and dark variants. Follow the system scheme or choose one explicitly; add your own theme files.
- Native materials and effects: every built-in theme lets you choose translucency, decorative glass, or frost. Effects Off stops motion and textures while preserving the selected material. Turn Transparency off for an opaque background. Subtle and Full control motion, with system animation settings taking precedence; ambient work stops when the popup closes.
- Optional fonts: review an explicit download of the pinned fonts used by all built-in themes, with OFL-1.1 licenses included. The preferences page shows per-theme font availability in the current user and system directories and confirms Fontconfig and Shell/Pango refresh separately. Choosing a theme never downloads fonts; missing fonts use fallbacks.
- Demo mode: try
steady,flaky, anddriftwith fictional quotas. Accounts provides a separate demo connector list with simulated connect, disconnect, and remove actions. These actions use no browser, keyring, or provider request. - Languages: English and Brazilian Portuguese follow the GNOME session language. Other languages fall back to English.
The built-in theme catalog contains System (GNOME), AI-native / Generative UI, Broadsheet Newspaper, Aurora / Mesh Gradient, Bento Grid, Card-based UI, Cyberpunk & Tactical HUD, De Stijl, Variable Type & Anti-Hero, Flat Design, Glassmorphism & Spatial UI, Hand-drawn / Sketch, Holographic Foil, Isometric, Linear SaaS, Lunarpunk, Mid-century Modern, Nanopunk, Organic / Biophilic, Solarpunk & Biomorphic, Terminal / TUI and Web Brutalism & Data-Dense.
Open Preferences from the popup or run:
gnome-extensions prefs [email protected]Accounts creates, configures, disconnects, and pauses connectors. General controls the panel, popup, themes, fonts and demo data. Notifications controls thresholds, connection notices and the test notification. The settings reference describes the available controls; local configuration locations explains where preferences, public OAuth client configuration and credentials are stored.
The GNOME UUID, settings schema and local folders retain the gnome-ai-quota
name so Elfvision reuses existing settings and accounts. Use the command above
and the documented legacy paths when configuring this GNOME build.
Adding a connector saves its configuration; use Connect in its editor to authenticate (or Simulate connect in Demo). If the popup has a saved connector awaiting connection, open Accounts and choose its editor. Its quota card appears automatically after connecting.
General → Restore configuration resets appearance, notifications, tracking, and setup dismissal. All connectors are tracked again and setup becomes available. Saved connectors, credentials, terms acknowledgements, client configuration, and the selected live/demo data source stay saved. Popup dimensions, order and visibility return to their defaults; ordinary upgrades preserve those choices.
Remove connector… removes only the selected connector, its local credential, and its quota and alert data after confirmation. Other accounts stay saved. Accounts → Delete all connectors… removes every connector in the current Live or Demo mode after confirmation. Demo deletion never accesses live credentials. Live deletion removes this extension's credentials, quota snapshots and alert history, including orphaned credential entries. Appearance, themes, fonts and client configuration stay saved. Local deletion does not revoke an API key on the provider's site. Failed deletions remain blocked with a retry rather than reporting success.
If the connector list is invalid, Recover list… rebuilds it from saved credential identities after confirmation. Secret values are not read or deleted; connector names and usernames may need to be entered again.
For custom themes, open General → Your themes. The theme reference describes the file format.
In the default mode, API keys and OAuth tokens are stored through libsecret in the desktop keyring, with no plaintext fallback. The optional local-tool mode is read-only and accesses only the exact provider source listed above after the user selects that mode. It never writes, deletes or refreshes the tool's credential. The Find configuration automatically action runs the packaged helper for the selected OAuth provider; the helper reads public client configuration, not account tokens. For Codex it can also fetch the official public source; for Antigravity it checks candidate client pairs with Google's token endpoint using a made-up authorization code.
Quota requests go to the configured provider hosts over HTTPS. Choosing a theme does not contact a font server; optional font downloads require a separate action. Notification text includes the trusted provider name, quota window, percentage, and reset time; it excludes local connector labels, account identities, plans, and raw errors.
| Problem | What to check |
|---|---|
| Extension is missing after installation | Confirm GNOME Shell 50 or 51, log out and back in, then run the enable command. |
| Only the extension icon appears | Add and connect an account in Accounts. In Demo, use Simulate connect for a fictional connector. |
| Connect asks for client configuration | Choose Find configuration automatically or use Copy command in the connector editor. |
| Harness credential is missing or expired | Sign in or renew it in the named local tool, then choose Check now. The extension does not refresh borrowed credentials. |
| The browser cannot complete the return | Use the callback address/code field in Preferences. Never put tokens or callback URLs in an issue. |
| Keyring is locked or unavailable | Unlock the desktop keyring and retry. The extension cannot store secrets in ordinary files. |
| Usage is stale or an account is rejected | Refresh; check connectivity and account status in Accounts. Reconnect explicitly if requested. |
| Some providers disappear from the bar | Increase the provider count or use compact mode; open the popup to see hidden providers. |
| Notification banners do not appear | Check the master switch and GNOME Do Not Disturb, then send a test notification. Warnings are opt-in. |
| Motion or transparency is absent | Effects Off stops motion and textures. Select a material and turn Transparency on for glass or translucency; check the system animation setting for motion. |
| A quota field disappears after a provider update | Unofficial endpoints can change. Report the provider and fixed error category without credentials or response bodies. |
GNOME disables extensions while the screen is locked. Quota notices resume after unlocking; an earlier unread extension notification may disappear. See lock screen and suspend.
Use the bug form for public bug reports and the private security form for vulnerabilities. Both are accessible in Preferences → General. Review anything you share; no diagnostics or credentials are attached automatically. See SECURITY.md for vulnerability disclosure.
Created by Daniel G. Araujo. Pull requests are welcome.
The development guide covers local setup, checks, isolated shells, themes and translations. The documentation index links the reference guides.
AGPL-3.0. See LICENSE. Optional font files retain their bundled OFL-1.1 licenses.