GitHub Release Downloads
GitHub Release Downloads allows you to get the download count, links and more information for releases of GitHub repositories. Download count The shortcode is [grd_count] . It returns a number corresponding to the sum of all download count values for the selected releases. For instance, you can get
About this tool.
GitHub Release Downloads allows you to get the download count, links and more information for releases of GitHub repositories.
Download count
The shortcode is [grd_count] . It returns a number corresponding to the sum of all download count values for the selected releases. For instance, you can get the number of total downloads for one GitHub repository.
Attributes
- user : the GitHub username.
- repo : the GitHub repository name.
- latest : only gets information about the latest published release for the repository.
- tag : only gets information about the release with the specified tag name.
- prereleases : includes draft releases and prereleases. Default value is false .
Examples
- All repository downloads: [grd_count user="IvanRF" repo="MassiveFileRenamer"]
- Latest release downloads: [grd_count user="IvanRF" repo="MassiveFileRenamer" latest="true"]
- Specific release downloads: [grd_count user="IvanRF" repo="MassiveFileRenamer" tag="v1.6.0"]
Note: user and/or repo can be omitted if default values are set.
Release downloads list
The shortcode is [grd_list] . It returns an HTML list for the selected releases including the release tag name, the release description and the list of files that can be downloaded, like release assets or the source code. For styling, class selectors are provided (e.g.: release-downloads-header , release-name , etc.).
Attributes
- user , repo , latest , tag , prereleases : same as above.
- hide_description : hides the release description.
- hide_size : hides information about the file size.
- hide_downloads : hides information about the download count.
- downloads_suffix : use it for internationalization. Default value is " downloads" .
- hide_source_code : hides the download link for the source code.
Examples