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
- Host: GitHub
- URL: https://github.com/david-lor/git.iourlshotenerbash
- Owner: David-Lor
- Created: 2018-06-13T19:30:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-13T19:31:03.000Z (over 7 years ago)
- Last Synced: 2025-02-03T23:54:58.441Z (about 1 year ago)
- Topics: bash, bash-script, gitio, linux, script, sh, shell, shell-script, url-shortener, url-shortening
- Language: Shell
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```