Skip to content
/ Luchly Public

A URL shortening application to hep reduce the length of URLs.

Notifications You must be signed in to change notification settings

Lucheee/Luchly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Documentation: Luchly URL Shortener

Luchly URL Shortener app is one that helps users sucessfully shorten long and complex URLs. The idea of tghe application is to minimize the web page address into something that's easier to remember and track. It also provides additional features such as link analytics and QR code generation.

Main Features of the App:

  1. URL Shortening: Users can provide/input long and complex URLs and generate shortened URLs that are easier to share and remember.

  2. Custom URLs Back-half: Users have the option to customize the back half of the shortened URLs to help users identify their URLs.

  3. Link Analytics: The application will track and provide insightful analytics on the usage and performance of the shortened URLs, including clicks/vistors.

  4. Dashboard: The application provides an easy to use dashboard upon shortening a long and complex URL where users can edit, delete and view creation dates of shortened URLs.

  5. QR Code Generation: The system will download QR codes for each shortened URL, allowing users to easily share them in printed materials or mobile devices.

  6. Link History: Users will have access to a comprehensive history of their shortened URLs, including creation dates and original URLs.

  7. Secure and Scalable: The application will prioritize data security, implement proper authentication mechanisms, and ensure scalability to handle a large volume of requests.

  8. User Management: The system will provide user registration and authentication functionalities, allowing users to manage their shortened URLs and access personalized features.

Built with:

Flask

Python

SQLite

Installation;

If you have python installed, Open CMD or terminal

  1. Clone this repo
git clone https://github.com/Lucheee/Luchly.git
  1. Open the directory
cd website
  1. Create Virtual Environment
python -m venv <your-venv-name>
  1. Activate virtual environment on CMD or Powershell
<your-venv-name>\Scripts\activate.bat

On gitbash terminal

source <your-venv-name>/Scripts/activate.csh
  1. Install project packages
pip install -r requirements.txt
  1. Set environment variable
set FLASK_APP=app.py

On gitbash terminal

export FLASK_APP=run.py
  1. Create database
flask shell
db.create_all()
exit()
  1. Run program
python app.py


Usage;

  1. Start the Flask Development Server
http://localhost:5000.
  1. Access the application in your web browser
flask run
  1. Complete the Register and Login process.
  1. The shortening url page will be redirected, enter a long URL in the input field, create a name and choose a custom URL name(optional) and click the "Shorten" button.
  1. The shortened URL will be displayed, which you can copy and share.
  1. To access the original URL, visit the shortened URL.
  1. Also, download qrcodes for any link.

Live link: Luchly