{"id":28999951,"url":"https://github.com/ripred/github-traffic","last_synced_at":"2025-08-03T04:07:06.657Z","repository":{"id":282285269,"uuid":"948080486","full_name":"ripred/github-traffic","owner":"ripred","description":"command line utility to gather, organize, and display the metrics about all of your github repositories ","archived":false,"fork":false,"pushed_at":"2025-03-13T18:17:58.000Z","size":952,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-21T21:13:23.632Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/ripred.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":"2025-03-13T18:03:42.000Z","updated_at":"2025-03-13T20:19:28.000Z","dependencies_parsed_at":"2025-03-13T19:45:13.616Z","dependency_job_id":null,"html_url":"https://github.com/ripred/github-traffic","commit_stats":null,"previous_names":["ripred/github-traffic"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ripred/github-traffic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripred%2Fgithub-traffic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripred%2Fgithub-traffic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripred%2Fgithub-traffic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripred%2Fgithub-traffic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ripred","download_url":"https://codeload.github.com/ripred/github-traffic/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripred%2Fgithub-traffic/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268492252,"owners_count":24258784,"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","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"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":[],"created_at":"2025-06-25T08:41:05.264Z","updated_at":"2025-08-03T04:07:06.610Z","avatar_url":"https://github.com/ripred.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-traffic\ncommand line utility to gather, organize, and display the metrics about all of your github repositories.\n## Usage\n```bash\nusage: traffic.py [-h] [-e] [-z] [-c] [-s {views_total,views_unique,clones_total,clones_unique,stars,forks,combined_metrics}] [-t TIMEFRAME]\n\nGitHub Repository Traffic Analyzer\n\noptions:\n  -h, --help            show this help message and exit\n  -e, --hide-empty      Hide repositories with all metrics equal to zero\n  -z, --no-zero-views   Exclude repositories with zero views from the output\n  -c, --write-csv       Write results to a CSV file\n  -s {views_total,views_unique,clones_total,clones_unique,stars,forks,combined_metrics}, --sort-by {views_total,views_unique,clones_total,clones_unique,stars,forks,combined_metrics}\n                        Sort results by a specific metric (default: combined_metrics)\n  -t TIMEFRAME, --timeframe TIMEFRAME\n                        Set the timeframe for reports in days (default: 14, GitHub API maximum)\n\nExamples:\n  python traffic.py                       # Basic usage with default settings\n  python traffic.py -z                    # Exclude repos with zero views\n  python traffic.py -e -c                 # Hide empty repos and save to CSV\n  python traffic.py -s views_total        # Sort by total views\n  python traffic.py -z -s clones_unique   # Show only repos with views, sorted by unique clones\n  python traffic.py -t 14                 # Get data for the last 14 days (GitHub API maximum)\n```\n## Example Command Line Execution and Output ![](Screen%20Shot%202025-03-13%20at%201.00.52%20PM.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fripred%2Fgithub-traffic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fripred%2Fgithub-traffic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fripred%2Fgithub-traffic/lists"}