{"id":49876603,"url":"https://github.com/fresh-milkshake/github-metrics","last_synced_at":"2026-05-15T12:38:53.048Z","repository":{"id":307915870,"uuid":"1031073208","full_name":"fresh-milkshake/github-metrics","owner":"fresh-milkshake","description":"A Python script to analyze download statistics","archived":false,"fork":false,"pushed_at":"2025-08-03T00:26:01.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-03T02:28:37.191Z","etag":null,"topics":["github-api","github-releases"],"latest_commit_sha":null,"homepage":"","language":"Python","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/fresh-milkshake.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,"zenodo":null}},"created_at":"2025-08-03T00:23:17.000Z","updated_at":"2025-08-03T00:26:04.000Z","dependencies_parsed_at":"2025-08-03T02:39:17.458Z","dependency_job_id":null,"html_url":"https://github.com/fresh-milkshake/github-metrics","commit_stats":null,"previous_names":["fresh-milkshake/github-metrics"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/fresh-milkshake/github-metrics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fresh-milkshake%2Fgithub-metrics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fresh-milkshake%2Fgithub-metrics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fresh-milkshake%2Fgithub-metrics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fresh-milkshake%2Fgithub-metrics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fresh-milkshake","download_url":"https://codeload.github.com/fresh-milkshake/github-metrics/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fresh-milkshake%2Fgithub-metrics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33067473,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["github-api","github-releases"],"created_at":"2026-05-15T12:38:51.324Z","updated_at":"2026-05-15T12:38:53.042Z","avatar_url":"https://github.com/fresh-milkshake.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Releases Metrics\n\n![python](https://img.shields.io/badge/python-3.10-blue)\n![GitHub](https://img.shields.io/badge/GitHub-API-white)\n\nA Python script to analyze download statistics for all releases across all repositories of a GitHub user.\n\n## Installation\n\n1. Install dependencies:\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n2. Fill in the `.env` file with your GitHub token:\n\n    ```bash\n    GITHUB_TOKEN=your_github_token\n    ```\n\n\u003e [!TIP]\n\u003e You can get your GitHub token from [here](https://github.com/settings/tokens). You need to create a token with the `public_repo` scope.\n\n## Usage\n\n```bash\npython github-metrics.py \u003cusername\u003e\n```\n\n## Output\n\nThe script summarizes overall statistics such as repositories with releases, total releases, releases with downloads, total files, and total downloads. For each repository, it shows detailed stats and a table of files with their release name, file name, download count, size, and type.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffresh-milkshake%2Fgithub-metrics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffresh-milkshake%2Fgithub-metrics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffresh-milkshake%2Fgithub-metrics/lists"}