{"id":26780959,"url":"https://github.com/acaciaman/github-stats-page","last_synced_at":"2026-04-19T04:33:12.391Z","repository":{"id":277744848,"uuid":"933361726","full_name":"AcaciaMan/github-stats-page","owner":"AcaciaMan","description":"Dashboard github user repositories statistics page","archived":false,"fork":false,"pushed_at":"2025-12-09T00:06:07.000Z","size":158,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-09T14:00:05.900Z","etag":null,"topics":["dashboard","github","statistics"],"latest_commit_sha":null,"homepage":"https://acaciaman.github.io/github-stats-page/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AcaciaMan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-15T19:15:04.000Z","updated_at":"2025-12-09T00:06:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"bf915661-d9d2-436b-b0cc-4e3388cc0f17","html_url":"https://github.com/AcaciaMan/github-stats-page","commit_stats":null,"previous_names":["acaciaman/github-stats-page"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AcaciaMan/github-stats-page","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcaciaMan%2Fgithub-stats-page","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcaciaMan%2Fgithub-stats-page/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcaciaMan%2Fgithub-stats-page/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcaciaMan%2Fgithub-stats-page/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AcaciaMan","download_url":"https://codeload.github.com/AcaciaMan/github-stats-page/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcaciaMan%2Fgithub-stats-page/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31995009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dashboard","github","statistics"],"created_at":"2025-03-29T07:19:10.754Z","updated_at":"2026-04-19T04:33:12.375Z","avatar_url":"https://github.com/AcaciaMan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-stats-page\n\n## GitHub Stats Page\n\nThis page displays GitHub user stats such as followers count, stars count, stars last 14 days count, repositories count, unique viewers count, and allows sorting by these stats.\n\n![Screenshot_stats_page](https://github.com/user-attachments/assets/dd32e9ef-bec1-4816-8ca3-d8bc2757cabe)\n\n### How to Use\n\n1. Open the `github-stats-page/index.html` file in your web browser.\n2. The page will automatically fetch and display the GitHub user stats.\n3. Click on the table headers to sort the stats by the respective column.\n\n### New Static Nature and Daily Update Mechanism\n\nThe `github-stats-page/index.html` file is now static and no longer fetches data dynamically. Instead, the stats are updated once a day using a GitHub Action workflow.\n\nThe GitHub Action workflow fetches data from the GitHub API and updates a JSON file `github-stats-page/stats.json` with the latest stats. The `github-stats-page/script.js` file is modified to fetch data from the local `stats.json` file instead of the GitHub API.\n\n### Creating a Personal Access Token\n\nTo give push access to the `acacia-forex` repository, you need to create a personal access token with the required permissions:\n\n1. Go to your GitHub account settings.\n2. Navigate to \"Developer settings\" and then \"Personal access tokens\".\n3. Click on \"Generate new token\".\n4. Give your token a descriptive name and select the `repo` scope to allow pushing to the `acacia-forex` repository.\n5. Click \"Generate token\" and copy the token. Make sure to store it securely as you won't be able to see it again.\n\n### Adding the Personal Access Token as a Secret\n\nTo use the personal access token in the workflow, you need to add it as a secret in the repository:\n\n1. Go to the repository on GitHub.\n2. Click on \"Settings\" and then \"Secrets\".\n3. Click on \"New repository secret\".\n4. Name the secret `GITHUB_TOKEN` and paste the personal access token you generated earlier.\n5. Click \"Add secret\".\n\n### Using the GITHUB_TOKEN Environment Variable\n\nThe script `.github/scripts/fetch-stats.js` uses the `GITHUB_TOKEN` environment variable for authentication when making requests to the GitHub API. Make sure to set the `GITHUB_TOKEN` environment variable in your GitHub Action workflows to avoid rate limiting issues.\n\n### Running the Workflow on Demand\n\nTo run the workflow on demand, you can use the `workflow_dispatch` event trigger. This allows you to manually trigger the workflow from the GitHub Actions tab in your repository.\n\n1. Go to the repository on GitHub.\n2. Click on the \"Actions\" tab.\n3. Select the workflow you want to run.\n4. Click on the \"Run workflow\" button.\n5. Optionally, provide any required inputs and click \"Run workflow\" to start the workflow.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facaciaman%2Fgithub-stats-page","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facaciaman%2Fgithub-stats-page","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facaciaman%2Fgithub-stats-page/lists"}