Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to see count of project downloads on GitHub? [duplicate]

Tags:

github

Possible Duplicate:
Github: Can I see the number of downloads for a repo?

Can anybody tell where can I found the number of downloads of my project on GitHub?

like image 389
5hrp Avatar asked Jun 01 '11 08:06

5hrp


People also ask

How do I see GitHub download count?

Look for the 'download_count' entry. Theres more info at http://developer.github.com/v3/repos/releases/.

Can you see who downloads your repo GitHub?

That does not seem to be possible. You only have statistics, but not on downloads (unless you are talking about downloads of the releases associated with your project), or on clones of your repo.

Can git track clones?

Cloning is a read-only operation, the original repository isn't modified. There is no way you can pull statistics for data that simply isn't tracked.

How do I see stats on GitHub?

You can find the link to the left of the nav bar. You should have a look to repoXplorer, an open source project I develop. It is able to compute stats for a project (a group of git repositories) as well as for a contributor and a group of contributors. It provides a REST interface and a web UI.


2 Answers

You can find answer on the github support.

There are technical limitations, we tried this in the past and it had a negative impact on performance. If we find a solution, we'll re-implement it.

https://help.github.com/articles/getting-the-download-count-for-your-releases/

like image 109
Xhinking Avatar answered Sep 21 '22 01:09

Xhinking


You can also perform this programmatically by leveraging the GitHub API. There's a whole section dedicated to the Package Download API.

Below the syntax to retrieve the list of downloads

GET /repos/:user/:repo/downloads

For instance here are the list of downloads of the libgit2 project:

  • Web: https://github.com/libgit2/libgit2/downloads
  • API: https://api.github.com/repos/libgit2/libgit2/downloads
like image 22
nulltoken Avatar answered Sep 19 '22 01:09

nulltoken