A handy CLI tool to shorten github.com URLs.
Install Nodejs & then
npm i -g gio-cli
To shorten a GitHub URL, just run:
$ gi <githuburl>
It outputs a git.io URL.
To get a custom short link, for example, to shorten https://github.com/satyarohith/shark
to git.io/sharkcli
, run:
$ gi https://github.com/satyarohith/shark sharkcli
To shorten the copied URL, run:
$ gi
To get a custom short link for the copied URL, run:
$ gi <code>
- chalk - Terminal string styling done right.
- clipboardy - Access the system clipboard.
- request - Simplified HTTP request client.
MIT © Satya Rohith