Skip to content

chamika-u/URL-SHORTNER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 URL Shortner v1.1

URL Shortner V1.1 – A simple web-based URL shortener built with Flask and Python.


📝 Project Overview

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


✨ Features

  • 🐍 Built with Python Flask for backend
  • 🎨 Responsive form UI using HTML/CSS
  • 🔒 URL validation for HTTPS links
  • 👍 User-friendly layout with gradient styling

📂 Folder Structure

v1.1/ ├── main.py ├── templates/ │ └── index.html └── static/ └── styles.css └── script.js


⚙️ Installation & Setup

  1. Clone the repository:
git clone https://github.com/chamika-u/URL-SHORTNER.git
cd URL-SHORTNER/v1.0
  1. Create a virtual environment:
python -m venv myenv
  1. Activate the environment:
myenv\Scripts\Activate.ps1
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the Flask app:
python main.py
  1. Open your browser and go to http://127.0.0.1:5000/

✨ Quick Links


🙌 Thank You

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.


About

URL Shortner – A modern web-based URL shortener built with Flask and Python. Users can input a long HTTPS URL and instantly get a shortened version with the option to copy it to the clipboard. Features a sleek, responsive UI with gradient color schemes, soft shadows, and a user-friendly form interface. I

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors