This Visual Studio Code extension monitors and displays your current GitHub API rate limit status in the status bar.
It helps you avoid hitting GitHub's API rate limits by providing real-time feedback and alerts.
- Shows the number of remaining GitHub API requests in the status bar.
- Alerts you when the rate limit is exceeded and displays the reset time.
- Polls the GitHub API at a configurable interval (supports partial seconds, e.g., 0.5).
- Automatically updates the polling interval if you change the setting in VS Code.
- Tracks rate limit usage over time - Stores historical data points every 5 minutes (configurable).
- Visual usage graph - Display a chart showing your API usage patterns over the last hour to identify bursts and trends.
You can configure the polling interval in seconds (including fractional values) via the setting:
"githubRateLimit.pollIntervalSeconds": 1
- Default:
1(polls every 1 second) - Example: Set to
0.5for polling every half second
You can also configure how often historical data points are saved:
"githubRateLimit.historySaveIntervalMinutes": 5
- Default:
5(saves a data point every 5 minutes) - Data is kept for the last hour to show usage trends
- You must be signed in to GitHub in VS Code for the extension to access your rate limit status.
- Install the extension.
- Make sure you are signed in to GitHub in VS Code.
- The status bar will show your current GitHub API rate limit. If you exceed the limit, you will see a warning and the reset time.
- Adjust the polling interval in your settings if needed.
- View usage history: Run the command "Show GitHub Rate Limit History" from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) to see a visual graph of your API usage over the last hour. This helps identify:
- When rate limit usage spikes occur
- Patterns in API consumption
- Whether usage is from automation, tools at startup, or other sources
MIT

