This is a Python Flask application that shortens URL and hosts it, similar to bit.ly
.
Before you begin, ensure you have the following installed:
Python 3.x
(You can download it from Python's official website)pip
(Python package manager)
- Clone the repository
git clone https://github.com/SinisterDeveloper/url-shortener.git
- Navigate to the project directory:
cd url-shortener
- Install the dependencies:
pip install -r requirements.txt
- Run the Application
python -m flask run
After running this command, the application will be available at http://127.0.0.1:5000/panel
You can choose to run the application on a different host. When running on a custom public domain, make sure you open app.py
and modify the BASE_URL
variable to match your domain (Defaulte to http://localhost:5000
)
This program is licensed under the MIT License