Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flexdev45/shorter
A simple bash script to shorten urls using the public api "is.gd".
https://github.com/flexdev45/shorter
bash bash-tool curl distros linkshort linux tools ubuntu
Last synced: 16 days ago
JSON representation
A simple bash script to shorten urls using the public api "is.gd".
- Host: GitHub
- URL: https://github.com/flexdev45/shorter
- Owner: Flexdev45
- Created: 2024-10-29T20:27:04.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-29T20:44:48.000Z (2 months ago)
- Last Synced: 2024-10-29T22:50:23.526Z (2 months ago)
- Topics: bash, bash-tool, curl, distros, linkshort, linux, tools, ubuntu
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bash Shortener V0.2
***Description: It's a simple bash script to short urls using the public api "is.gd".******Reason Why: I've made this script only to be executed on linux because sometimes we need a such a quick tool to short our urls and don't want to spend a lot of time creating an account on a "url shortener service".***
***What does it use:***
* *Curl 8.0>higher*
* *Bash 5.2>Higher****Where does it should work?***
* ***It should work on any linux system.***
* ***It had been tested in ubuntu 24.04 and ran perfectly.******What's new in the version 0.2 #***
* ***You can set a customised filename to save your shorten url.***
* ***Consequently, you now can choose whether to save or not your url.***
* ***There are more conditionals and logical structure, making the script slightly more stable.******Notes for the version 0.1 #***
* ***It must be executed with superuser privileges; otherwise, it will not open.***
* ***If you don't have curl in your system, it will download it automatically.***
* ***It saves your shortening URL in a text file.******How to install it?***
1. Run this in your bash.
```
# Run this in your terminal
git clone 'https://github.com/Flexdev45/Shorter.git';
cd 'Shorter';
sudo bash shorter.sh;
```