Shorten your Github repo url with Github's service.

npm install gus
2 downloads in the last week
4 downloads in the last month


Shorten your Github repo urls with Github's service.


  • Pastes the url to your clipboard
  • Opens the url in your default browser


$ npm install gus


var gus = require( 'gus' );

gus( url );

Command Line Usage

Installing the module locally (without the -g flag) requires a little more verbosity:

$ node path/to/gus [url]

With a global installation:

$ npm install -g gus

You can use it like any other command:

$ gus [url]

Known Issues

So far it only works on OSX (uses the echo and pbcopy unix commands). Support for other platforms coming soon.

npm loves you