A TUI tool that compares your remaining GitHub Copilot Premium requests against the days left in the billing cycle.
Warning
This tool uses GitHub Copilot's internal API, which is unofficial and not intended for external use. It may break without notice if GitHub changes their API. Use at your own risk.
go install github.com/tknkaa/cpm@latest# Fetch quota automatically via Copilot Internal API
cpmgh api is used to call the GitHub API and fetch your current quota snapshot, using gh's built-in authentication. 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
