URL Shortener is a simple program written in Python to shorten long URLs. It features a user-friendly interface built via Tkinter library. URLs are shortened using the pyshorteners library with the tinyurl service. New URL's are valid lifetime and do not expire. It is part of Python Mini Projects List of my GitHub.
Download main.py, constants, gui_utils and url_shortener. You need Python >3.6 presintalled. Install pyshorteners module:
> pip install pyshorteners
Run main.py.
Copy the URL you want to shorten and paste it into the first field. Click on the "Shorten URL" button. The shortened URL will appear in the second field below. You can copy your new URL to the clipboard using the "Copy" button. The generated URL is permanent and will always be valid.
The URL field cannot be left blank. If left empty, you will receive a warning and the program will not execute. On Linux systems the interface pops up smaller than Windows.
🔻Version 2.0 - 26.03.2024
- Code broken into smaller functions and classes.
- More Modular: easier to handle.
- All versions of 1.0 removed.
- ReadMe file updated.
🔻Version 1.02 - 25.03.2024
- Top menu added. File, Edit, Tools, Help created.
- File, Help contents created.
- Documentation, Licence, About sections added.
🔻Version 1.01: - 24.03.2024
- Added a Clear Clipboard button and function.
- ReadMe file created.
- MIT licence added.
🔻Version 1.0: - 21.03.2024
- Added Shorten URL and Copy buttons.
- Created a user interface using Tkinter.
- Undo & Redo in Edit menu not working.
- It is possible that copy and shorten URL buttons may not work on different OPs.
- History menu will be added. It will implement 5 last shortened URLS.
- Keyboard shortcuts will be added.
- .exe file will be created.
- appimage and flatpak will be created.