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
- Host: GitHub
- URL: https://github.com/gmal1/shorten
- Owner: gmal1
- License: mit
- Created: 2019-06-30T20:32:58.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-07T04:29:42.000Z (almost 7 years ago)
- Last Synced: 2025-03-10T18:09:12.424Z (over 1 year ago)
- Topics: shell-script, shell-scripting
- Language: Shell
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.