Skip to content
A handy CLI tool to shorten github.com URLs
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
cli.js
package.json

README.md

🔗 gio

A handy CLI tool to shorten github.com URLs.

Installation

Install Nodejs & then

npm i -g gio-cli

Usage

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 as follows:

$ gi https://github.com/satyarohith/shark sharkcli

If your clipboard has a github.com URL.

To shorten the copied URL, run:

$ gi

To get a custom short link for the copied URL, run:

$ gi <code>

Built with

  • chalk - Terminal string styling done right.
  • clipboardy - Access the system clipboard.
  • request - Simplified HTTP request client.

License

MIT © Satya Rohith

You can’t perform that action at this time.