{"id":15286382,"url":"https://github.com/piebro/github-repo-traffic-stats","last_synced_at":"2026-05-06T05:33:26.272Z","repository":{"id":255764513,"uuid":"852889867","full_name":"piebro/github-repo-traffic-stats","owner":"piebro","description":"A simple tool to collect and view GitHub repos traffic history longer than 14 days using GitHub Actions.","archived":false,"fork":false,"pushed_at":"2024-10-24T23:35:08.000Z","size":2391,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-25T03:39:08.616Z","etag":null,"topics":["dashboard","github","github-actions","github-tracker","github-traffic","monitoring"],"latest_commit_sha":null,"homepage":"https://piebro.github.io/github-repo-traffic-stats","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/piebro.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}},"created_at":"2024-09-05T15:49:52.000Z","updated_at":"2024-10-24T23:35:11.000Z","dependencies_parsed_at":"2024-10-25T02:57:13.408Z","dependency_job_id":null,"html_url":"https://github.com/piebro/github-repo-traffic-stats","commit_stats":null,"previous_names":["piebro/github-repo-traffic-stats"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piebro%2Fgithub-repo-traffic-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piebro%2Fgithub-repo-traffic-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piebro%2Fgithub-repo-traffic-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piebro%2Fgithub-repo-traffic-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piebro","download_url":"https://codeload.github.com/piebro/github-repo-traffic-stats/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245170023,"owners_count":20571995,"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":["dashboard","github","github-actions","github-tracker","github-traffic","monitoring"],"created_at":"2024-09-30T15:13:32.648Z","updated_at":"2026-05-06T05:33:21.242Z","avatar_url":"https://github.com/piebro.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Repo Traffic Stats\n\nA simple tool to collect and view GitHub repos traffic history longer than 14 days using GitHub Actions.\n\n[![A screenshot of the website.](dashboard_screenshot.png)](https://piebro.github.io/github-repo-traffic-stats)\n\n## Features\n\n- Collect traffic metrics for all your repos using GitHub Actions\n- A simple web interface to view the stats locally or hosted using GitHub Pages\n- A demo website is here: [piebro.github.io/github-repo-traffic-stats](https://piebro.github.io/github-repo-traffic-stats)\n\n## How to use\n\n1. Fork the repo\n2. Delete the existing data in the `data` and `preview_plots` folders\n3. Change the \"owner\" in `github_username.txt` and change the websites in `index.html`\n4. Create a GitHub token to access this API: https://docs.github.com/en/rest/metrics/traffic\n5. Add the token as an Action secret to the repo and name it `GH_TOKEN`\n6. In the settings, enable the Read and Write Action Permissions (to allow the action to push the data to the repo)\n\nAll your public repos should now be queried at 23:30 UTC every day.\nThe data is stored in the data folder.\nYou can enable GitHub Pages to host the dashboard or host it locally using `python -m http.server` in the project root folder.\n\n## Contributing\n\nContributions are welcome. Open an Issue if you want to report a bug, have an idea or want to propose a change.\n\n## Website Statistics\n\nThere is lightweight tracking with [Plausible](https://plausible.io/about) for the [website](https://piebro.github.io/github-repo-traffic-stats/) to get info about how many people are visiting. Everyone who is interested can look at these stats here: https://plausible.io/piebro.github.io%2Fgithub-repo-traffic-stats?period=30d. Only users without an AdBlocker are counted, so these statistics are underestimating the actual count of visitors. I would guess that quite a few people (including me) visiting the site have an AdBlocker.\n\n## License\n\nAll code in this project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiebro%2Fgithub-repo-traffic-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiebro%2Fgithub-repo-traffic-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiebro%2Fgithub-repo-traffic-stats/lists"}