Skip to content

Latest commit

 

History

42 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coding-quota

See the remaining quota of five AI coding plans in one place: OpenAI Codex, xAI Grok, Zhipu GLM Coding Plan, Kimi Code, and Cursor.

TUI screenshot

Two flavors

coding-quota-gui.exe (desktop widget) coding-quota-tui.exe (terminal TUI / CLI)
UI Borderless acrylic widget pinned to the desktop Compact 48-column TUI in a frameless Windows Terminal window
Interaction Drag by the title bar, tray icon context menu R refresh, Q quit, auto-refresh every 2 minutes
Extras Launch with Windows, per-provider visibility, window position memory --snapshot plain text, --json for scripts, -p <provider> to filter, --demo for a mock-data preview

Download

Grab the executables from Releases:

  • coding-quota-tui.exe — terminal TUI / CLI
  • coding-quota-gui.exe — desktop widget

Both are standalone (only Windows system DLLs are linked), no installation required.

Credentials

Zero configuration: the tool reads the existing omp credential store (~/.omp/agent/agent.db) read-only and refreshes expiring tokens through omp. Providers without credentials are hidden automatically — nothing ever asks you to log in.

Features

  • Each quota window shows the remaining percentage, a usage-colored bar (green <70%, yellow ≥70%, red ≥90%), and its reset time
  • Codex additionally shows remaining rate-limit reset credits
  • Failed refreshes keep the last good values (cached in %APPDATA%\coding-quota\last_good.json), drawn dimmed with their age; --json / --snapshot always report the live result
  • Both the widget and the TUI fit their size to the content

Build from source

cargo build --release --features gui

The Windows target is x86_64-pc-windows-gnu (see .cargo/config.toml for the linker setup).

License

MIT

About

Unified coding-plan quota viewer for Codex, Grok, GLM, Kimi, and Cursor

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages