Skip to content

itsluckysharma01/Python-URL-Shortner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Python-URL-Shortner


βœ… Suggested Tweaks:

  1. Improve the Screenshot Section (replace placeholder with actual image once ready).
  2. Add GUI Preview GIF for more engagement (if available).
  3. Add Requirements Section before installation.
  4. Link to .py file directly if it's in the repo root.

πŸ”— Python URL Shortener (GUI)

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.

Python URL Shortener Tkinter GUI URL Shortening


πŸ’‘ Features

  • βœ‚οΈ 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)

🧰 Built With


πŸ”§ Requirements

  • Python 3.6 or higher
  • Internet connection (TinyURL is an online service)
  • pyshorteners library

Install it using:

pip install pyshorteners

πŸ“Έ App Preview

Enter a long URL β†’ Click β€œSHORTEN” β†’ Get a short link instantly!


πŸ“¦ Installation & Usage

  1. Clone this repository:

    git clone https://github.com/yourusername/url-shortener-python.git
    cd url-shortener-python
  2. Install dependencies:

    pip install pyshorteners
  3. Run the app:

    python url_shortener.py

🧠 How It Works

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 pyshorteners to fetch a TinyURL.
  • The result is displayed instantly in the output field.

πŸ› οΈ Future Enhancements

  • πŸ“‹ "Copy to Clipboard" button
  • πŸ§ͺ Better error handling for invalid URLs
  • 🌐 Support for other services like Bitly, is.gd, etc.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages