Skip to content
Shorten your repo url with Github's Git.io service.
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
main.js
package.json
readme.md

readme.md

gus

Shorten your Github repo urls with Github's Git.io service.

Features

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

Installation

$ npm install gus

Usage

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 open and pbcopy unix commands).

Something went wrong with that request. Please try again.