https://github.com/satyarohith/gio
A handy CLI tool to shorten github.com URLs
https://github.com/satyarohith/gio
cli git-io github-url-shortener url-shortener
Last synced: about 1 year ago
JSON representation
A handy CLI tool to shorten github.com URLs
- Host: GitHub
- URL: https://github.com/satyarohith/gio
- Owner: satyarohith
- License: mit
- Created: 2018-08-07T11:27:24.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-12-09T06:21:40.000Z (over 6 years ago)
- Last Synced: 2025-03-09T19:35:38.445Z (about 1 year ago)
- Topics: cli, git-io, github-url-shortener, url-shortener
- Language: JavaScript
- Homepage: https://git.io/gio-cli
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🔗 gio
> A handy CLI tool to shorten github.com URLs.
## Installation
Install [Nodejs](https://nodejs.org) & then
```sh
npm i -g gio-cli
```
## Usage
To shorten a GitHub URL, just run:
```sh
$ gi
```
It outputs a git.io URL.
To get a custom short link, for example, to shorten [`https://github.com/satyarohith/shark`](https://github.com/satyarohith/shark) to [`git.io/sharkcli`](https://git.io/sharkcli), run:
```sh
$ gi https://github.com/satyarohith/shark sharkcli
```
#### If your clipboard has a `github.com` URL.
To shorten the copied URL, run:
```sh
$ gi
```
To get a custom short link for the copied URL, run:
```sh
$ gi
```
## Built with
- [chalk](https://github.com/chalk/chalk) - Terminal string styling done right.
- [clipboardy](https://github.com/sindresorhus/clipboardy) - Access the system clipboard.
- [request](https://github.com/request/request) - Simplified HTTP request client.
## License
MIT © [Satya Rohith](https://satyarohith.com)