{"id":24570312,"url":"https://github.com/civermau/github-api-usage","last_synced_at":"2025-07-19T06:35:21.072Z","repository":{"id":263555896,"uuid":"890769939","full_name":"Civermau/GitHub-Api-Usage","owner":"Civermau","description":"I got tired of running out of api calls and not knowing how much time was left until refresh, so I quickly made this page","archived":false,"fork":false,"pushed_at":"2025-03-11T05:05:53.000Z","size":300,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T06:19:30.263Z","etag":null,"topics":["bulma","bulma-css","github-api","handy","utilities","website"],"latest_commit_sha":null,"homepage":"https://github-api-usage.civermau.dev/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Civermau.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-19T06:32:29.000Z","updated_at":"2025-03-11T05:05:57.000Z","dependencies_parsed_at":"2025-03-11T06:29:14.217Z","dependency_job_id":null,"html_url":"https://github.com/Civermau/GitHub-Api-Usage","commit_stats":null,"previous_names":["civermau/gitgub-api-usage"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Civermau/GitHub-Api-Usage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Civermau%2FGitHub-Api-Usage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Civermau%2FGitHub-Api-Usage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Civermau%2FGitHub-Api-Usage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Civermau%2FGitHub-Api-Usage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Civermau","download_url":"https://codeload.github.com/Civermau/GitHub-Api-Usage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Civermau%2FGitHub-Api-Usage/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265898313,"owners_count":23845771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bulma","bulma-css","github-api","handy","utilities","website"],"created_at":"2025-01-23T16:19:05.115Z","updated_at":"2025-07-19T06:35:21.008Z","avatar_url":"https://github.com/Civermau.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub API Usage Dashboard\n\n## Overview\n\nThe **GitHub API Usage Dashboard** is a lightweight web application that helps developers monitor their GitHub API rate limits in real-time. It displays data such as:\n- **Total requests allowed** in different API categories (Core, Search, and GraphQL).\n- **Remaining requests** before hitting the rate limit.\n- **Time until reset** of the rate limits.\n- **Your public IP address** for quick reference.\n\n## Features\n- **Real-Time Updates**: Automatically refreshes data every 60 seconds.\n- **User-Friendly Interface**: Styled with Bulma CSS for a clean and responsive design.\n- **Lightweight and Fast**: Built with plain HTML, JavaScript, and CSS—no dependencies or backend required.\n- **IP Address Display**: Uses the IPify API to fetch and display your public IP address.\n\n## How It Works\n1. Fetches the user's IP address using the [IPify API](https://www.ipify.org/).\n2. Fetches GitHub API rate limit data from the [GitHub Rate Limit API](https://docs.github.com/en/rest/rate-limit).\n3. Displays the data in an organized and visually appealing layout.\n4. Updates the displayed data every minute using `setInterval`.\n\n## Prerequisites\n- A web browser with JavaScript enabled.\n- Internet connection to access the external APIs.\n\n## Installation and Usage\nOption 1\n1. Clone or download the repository to your local machine.\n2. Open the `index.html` file in a web browser.\n3. View your IP address and GitHub API usage details.\n\nOption 2\n1. You can also just open the page hosted with GitHub Pages \n\nNo additional setup or dependencies are required.\n\n## Code Explanation\n### HTML\nThe structure of the application is divided into sections:\n- **Core API**: Displays information about requests allowed and remaining for the Core API.\n- **Search API**: Displays similar details for the Search API.\n- **GraphQL API**: Displays details for GraphQL rate limits.\n\n### JavaScript\n- Fetches data from:\n  - [IPify API](https://api.ipify.org) to get the user's IP address.\n  - [GitHub Rate Limit API](https://api.github.com/rate_limit) to retrieve API usage details.\n- Parses and formats the API response data for display.\n- Updates the data every 60 seconds with `setInterval`.\n\n### CSS\n- Uses [Bulma](https://bulma.io/) for responsive and aesthetic styling.\n- Customizes sections to make data readable and organized.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcivermau%2Fgithub-api-usage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcivermau%2Fgithub-api-usage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcivermau%2Fgithub-api-usage/lists"}