- Improve the Screenshot Section (replace placeholder with actual image once ready).
- Add GUI Preview GIF for more engagement (if available).
- Add Requirements Section before installation.
- Link to
.pyfile directly if it's in the repo root.
A fun and beginner-friendly desktop app to shorten long URLs using Python! This app uses the TinyURL API and provides a colorful Tkinter GUI to make URL shortening smooth and interactive.
- βοΈ Convert long URLs into short links using TinyURL
- π₯οΈ Simple graphical interfaceβno coding required
- β‘ Real-time results with one click
- π¨ User-friendly color scheme (purple and red themed)
- Python
- Tkinter β GUI framework
- pyshorteners β URL shortening library
- Python 3.6 or higher
- Internet connection (TinyURL is an online service)
pyshortenerslibrary
Install it using:
pip install pyshortenersEnter a long URL β Click βSHORTENβ β Get a short link instantly!
-
Clone this repository:
git clone https://github.com/yourusername/url-shortener-python.git cd url-shortener-python -
Install dependencies:
pip install pyshorteners
-
Run the app:
python url_shortener.py
shortner = pyshorteners.Shortener()
short_url = shortner.tinyurl.short(longurl_entry.get())- The user enters a URL into the input field.
- On clicking the SHORTEN button, the app uses
pyshortenersto fetch a TinyURL. - The result is displayed instantly in the output field.
- π "Copy to Clipboard" button
- π§ͺ Better error handling for invalid URLs
- π Support for other services like Bitly, is.gd, etc.