Skip to content

manifold-systems/github-traffic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub traffic CLI

Use this command line interface (CLI) tool to produce a textual GitHub traffic report for any repository. The report is similar in format to GitHub's Traffic page, but includes additional features such as star diffs between usages, who starred/unstarred the repo, and unique view ratio per top views. See the example below.

Build

Requirements

Command line

From the project root directory:

mvn package

This will produce an executable JAR file in the ./target directory.

Usage

Requirements

  • Java 8 or later

Ensure a JVM 8 or greater is on your execution path.

Use the included shell script to run the GitHub traffic CLI tool.

  • traffic for Unix/Mac
  • traffic.bat for Windows

Example:

traffic -user joeuser -repo joeswidget -token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Required parameters:

-user: Github user/org name

-repo: Github repository name

-token: Github authentication token

Optional parameters:

-days: Number of days to display. Values may range from 1..14. Default is 14.

Sample report

sample.png

About

GitHub traffic CLI utility with bonus features

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published