This is a simple URL Shortener application created by Ryan using Python and the Tkinter library for the user interface. It uses the Cutt.ly API to shorten long URLs.
To get started with this project, you can follow the instructions below.
- Python installed on your system.
- The
requests
library for making HTTP requests. - The
tkinter
library for the user interface. - The
ttkbootstrap
library for styling the user interface.
You can install the required Python libraries using pip
:
pip -r install requirements.txt
- Clone this repository:
git clone https://github.com/RyanBaig/URLShortner.git
- Open the folder in the terminal:
cd URLShortner
- Run the Python script url_shortener.py:
python url_shortener.py
-
The GUI application will open, allowing you to enter a long URL and convert it into a short URL.
-
Click the "Convert into Short URL" button to retrieve the shortened URL. You can also copy the Shortened URL in the Text Box/Widget.
-
The application makes use of the Cutt.ly API to shorten URLs.
-
It requests an API key, which you should replace with your own API key.
-
Enter the long URL in the input field and click the button to trigger the URL shortening process.
-
The shortened URL will be displayed in the application's window.
- requests: A library for making HTTP requests in Python.
- ttkbootstrap: A theme for tkinter applications.
This project is licensed under the MIT License - see the LICENSE file for details.