gitio
gitio copied to clipboard
🔑 A simple CLI to get your own custom git.io domain (eg. http://git.io/krish)
gitIO 
A simple CLI to get your own custom git.io domain
Getting Started
Install the module with: npm install -g gitio-cli
To create a new git.io URL:
$ gitio 'http://github.com/your-project-url' 'your-short-url-path'
Examples
If I wanted to make http://git.io/krish
redirect to http://github.com/krrishd
:
$ gitio 'http://github.com/krrishd' 'krish'
Note: If you've already inputted a GitHub URL through the default webservice, this CLI will just give you the short URL that was originally generated. To bypass it, use a minor variation of the URL you're trying to shorten: for example, change http://github.com/krrishd to http://github.com/krrishd?v1.
License
Copyright (c) 2014 Krish Dholakiya. Licensed under the MIT license.