Skip to content

This is a simple command-line interface (CLI) tool for URL shrinking

License

Notifications You must be signed in to change notification settings

dev-adalz/Url_Shrinker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Shrinker CLI

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. Home Page Generating links Result

Features

  • 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

Prerequisites

  • Python 3.11

Installation

  1. Clone the repository:

    git clone https://github.com/dev-adalz/Url_Shrinker.git
  2. Navigate to the project directory:

    cd Url_Shrinker
  3. Install the required dependencies:

    pip install -r requirements.txt

Usage

To use the URL Shrinker CLI, simply run the script with the URL you wish to shorten:

python main.py

Dependencies

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

Author

This script is written by 𝗗𝗘𝗩-𝗔𝗗𝗔𝗟𝗭 ™.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This is a simple command-line interface (CLI) tool for URL shrinking

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages