A TUI tool that compares your remaining GitHub Copilot Premium requests against the days left in the billing cycle.
cargo install --git https://github.com/tknkaa/cpm# Fetch quota automatically via GitHub API
cpm
# Choose a display style
cpm --style progress # default
cpm --style text
cpm --style graph
# Skip API fetch and specify remaining percentage directly
cpm --premium 23.4Press any key to exit.
gh auth token is used to retrieve your GitHub OAuth token, which is then used to call the GitHub API and fetch your current quota snapshot. If the API call fails, cpm falls back to a TUI prompt where you can enter the remaining percentage manually (visible in your GitHub billing settings).
- GitHub CLI (
gh) — for authentication - A GitHub account with Copilot enabled
MIT
