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

https://github.com/gmal1/shorten

a shell script to generate shortened GitHub urls
https://github.com/gmal1/shorten

shell-script shell-scripting

Last synced: 9 months ago
JSON representation

a shell script to generate shortened GitHub urls

Awesome Lists containing this project

README

          

# shorten

Shorten is a shell script that generates shortened GitHub urls using [Git.io](https://github.blog/2011-11-10-git-io-github-url-shortener/). It takes two arguments: the first is the GitHub url to be shortened (e.g. https://github.com/gmal1), and the second optional argument is a string for the vanity url (e.g. https://git.io/somevanityurl). Without the second argument, the url will be auto-generated for you.

`cecho` function borrowed from @nnja.