Small macOS menubar app that shows your GitHub Copilot premium request quota.
This app is “Vibe coded” and not tested on a large audience yet — expect rough edges, unexpected bugs, or errors.
The app tries, in order:
- VS Code (
Code - Insiders,Code,VSCodium) – reads the GitHub auth session from VS Code’s local storage + Keychain. - GitHub CLI (
gh auth token)
If none work, the menubar UI shows a Setup required section with install/sign-in links.
Override the lookup order with:
COPILOT_QUOTA_VSCODE_PRODUCTS="Code - Insiders,Code" \
/path/to/app- Download the latest
*.zipfrom Releases - Unzip
- Move
Copilot Quota.appto/Applications - Open it
swift build
swift runbash scripts/package-app.sh
open "dist/Copilot Quota.app"Optional overrides:
APP_NAME="Copilot Quota" \
BUNDLE_ID="dev.staticvar.copilot-quota-menubar" \
AUTHOR="staticvar" \
VERSION="1.2.3" \
bash scripts/package-app.shTag a release:
git tag v1.2.3
git push --tagsThe GitHub Actions workflow builds the .app and publishes dist/*.zip to the GitHub Release for that tag.
For frictionless public distribution, macOS expects apps to be code signed and notarized. Unsigned apps will typically require the user to explicitly allow opening them in macOS Privacy & Security.