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

后端 未结 17 1034
甜味超标
甜味超标 2020-11-28 02:35

In Github, is there a way I can see the number of downloads for a repo?

17条回答
  •  情深已故
    2020-11-28 03:24

    As already stated, you can get information about your Releases via the API.

    For those using WordPress, I developed this plugin: GitHub Release Downloads. It allows you to get the download count, links and more information for releases of GitHub repositories.

    To address the original question, the shortcode [grd_count user="User" repo="MyRepo"] will return the number of downloads for a repository. This number corresponds to the sum of all download count values of all releases for one GitHub repository.

    Example: Example

提交回复
热议问题