An open API service indexing awesome lists of open source software.

https://github.com/david-lor/git.iourlshotenerbash

A Bash script to short any URL using the Git.io shortener service API
https://github.com/david-lor/git.iourlshotenerbash

bash bash-script gitio linux script sh shell shell-script url-shortener url-shortening

Last synced: 11 months ago
JSON representation

A Bash script to short any URL using the Git.io shortener service API

Awesome Lists containing this project

README

          

# Git.io URL Shortener Bash Script

This script will short any URL you want, using the Git.io shortener service [API](https://blog.github.com/2011-11-10-git-io-github-url-shortener/).

## Usage

(Remember to use **chmod +x** to give the script execution privileges)

Just call the script and pass the desired URL as an argument. The shortened URL will be returned, if no errors happened.

```bash
$ ./shotener.sh https://www.github.com
https://git.io/vDN6Ig
```