URL Shortner V1.1 – A simple web-based URL shortener built with Flask and Python.
This app allows users to enter a long HTTPS URL and generate a shortened version.
This is version v1.1, which improves upon v1.0 by adding:
🖥 Input a URL through a web form
✂️ Generate a shortened URL using Python/Flask
📄 Display the shortened URL on the same page
📋 New! Copy button with JavaScript for quick copying
- 🐍 Built with Python Flask for backend
- 🎨 Responsive form UI using HTML/CSS
- 🔒 URL validation for HTTPS links
- 👍 User-friendly layout with gradient styling
v1.1/ ├── main.py ├── templates/ │ └── index.html └── static/ └── styles.css └── script.js
- Clone the repository:
git clone https://github.com/chamika-u/URL-SHORTNER.git
cd URL-SHORTNER/v1.0- Create a virtual environment:
python -m venv myenv- Activate the environment:
myenv\Scripts\Activate.ps1- Install dependencies:
pip install -r requirements.txt- Run the Flask app:
python main.py- Open your browser and go to http://127.0.0.1:5000/
Thanks for checking out URL Shortner v1.0! 🎉
Feel free to experiment, contribute, or suggest improvements.
Stay curious and keep building amazing web tools! 🌐✨
Built with ❤️ using Python, Flask, pyshorteners, and Bitly API.