This is a simple command-line interface (CLI) tool for URL shrinking, written in Python 3.11. The tool uses the requests
module to interact with a URL shortening API, the colorama
module to add some color to the CLI, and the os
module to handle some background tasks.
- Shrinks long URLs into short, manageable links.
- Adds colorful output to the CLI using
colorama
. - Automates certain tasks using the
os
module. - Bulk shrinker
- password protective option
- usage of custom alias for the short link
- Python 3.11
-
Clone the repository:
git clone https://github.com/dev-adalz/Url_Shrinker.git
-
Navigate to the project directory:
cd Url_Shrinker
-
Install the required dependencies:
pip install -r requirements.txt
To use the URL Shrinker CLI, simply run the script with the URL you wish to shorten:
python main.py
Api that was used:
https://spoo.me/api
: The api for shrinking url
The project uses the following Python modules:
requests
: For making HTTP requests to the URL shortening API.colorama
: For colorful CLI output.os
: For handling system tasks.Tkinter
: For file dialogue box
This script is written by 𝗗𝗘𝗩-𝗔𝗗𝗔𝗟𝗭 ™.
This project is licensed under the MIT License - see the LICENSE file for details.