{"id":16718239,"url":"https://github.com/akhileshthite/github-release-download-stats","last_synced_at":"2025-07-27T19:42:03.057Z","repository":{"id":257318579,"uuid":"857902985","full_name":"akhileshthite/github-release-download-stats","owner":"akhileshthite","description":"A simple JavaScript script that fetches and displays the total and latest download counts for all releases of a specified GitHub repository.","archived":false,"fork":false,"pushed_at":"2024-09-15T23:22:50.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-09T16:13:21.271Z","etag":null,"topics":["github-releases","github-stats"],"latest_commit_sha":null,"homepage":"https://akhileshthite.github.io/github-release-download-stats/","language":"JavaScript","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/akhileshthite.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-15T22:39:21.000Z","updated_at":"2024-09-15T23:25:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"33d9194b-8cbd-4266-b076-bc41d60d820f","html_url":"https://github.com/akhileshthite/github-release-download-stats","commit_stats":null,"previous_names":["akhileshthite/github-release-download-stats"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akhileshthite/github-release-download-stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhileshthite%2Fgithub-release-download-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhileshthite%2Fgithub-release-download-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhileshthite%2Fgithub-release-download-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhileshthite%2Fgithub-release-download-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akhileshthite","download_url":"https://codeload.github.com/akhileshthite/github-release-download-stats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhileshthite%2Fgithub-release-download-stats/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264505734,"owners_count":23618962,"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":["github-releases","github-stats"],"created_at":"2024-10-12T21:35:50.174Z","updated_at":"2025-07-10T00:02:37.611Z","avatar_url":"https://github.com/akhileshthite.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-release-download-stats\n\n![demo](./demo.png)\n\nInclude `script.js` or copy the `getDownloadCounts` function into your code.\n\n```javascript\n// Call the function with desired parameters\ngetDownloadCounts('ipfs', 'ipfs-desktop')\n  .then((counts) =\u003e {\n    // Use the counts in your application\n    document.getElementById('totalDownloads').textContent = counts.total;\n    document.getElementById('latestDownloads').textContent = counts.latest;\n    document.getElementById('latestTag').textContent = counts.latestTag;\n  })\n  .catch((error) =\u003e {\n    // Handle errors\n    console.error('Error fetching download counts:', error);\n  });\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakhileshthite%2Fgithub-release-download-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakhileshthite%2Fgithub-release-download-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakhileshthite%2Fgithub-release-download-stats/lists"}