github-download-stats

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2024 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

github-download-stats Actions Status

Download statistics for GitHub release assets are only available via the API. github-download-stats is a command line utility to fetch them for a specific repository.

Installation

Pre-built binaries for Linux, macOS, and Windows are available in the releases tab.

Docker images are also available:

docker run andrewsomething/github-download-stats

github-download-stats can be installed from source by running:

Go Version 1.16 and Earlier
go get -u github.com/andrewsomething/github-download-stats
Go Version 1.17 and Later
go install github.com/andrewsomething/github-download-stats@latest

Usage

Usage of ./github-download-stats:
  -api-endpoint string
    	API endpoint for use with GitHub Enterprise
  -json
    	Output in JSON
  -owner string
    	The GitHub repository's owner (required)
  -release string
    	The tag name of the release; excluding will list all releases
  -repo string
    	The GitHub repository (required)
  -token string
    	GitHub API token (default "")
  -version
    	Print version
Usage for Get Stats for All Releases
github-download-stats -owner <owner> -repo <repo> -token <your_token>
Usage for Get Stats for Specific Releases
github-download-stats -owner <owner> -repo <repo> -release <release_tag> -token <your_token>
Usage for Get Stats in JSON
github-download-stats -owner <owner> -repo <repo> -json -token <your_token>

License

github-download-stats is available via the MIT license.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL