Skip to content

ShorterLink is a fast and simple URL shortener built with Flask. It allows you to create custom short links, manage them easily, and track link views with real-time statistics. πŸš€

License

Notifications You must be signed in to change notification settings

mateo-rfz/shorterLink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ShorterLink Project

ShorterLink Screenshot

πŸ“š Introduction

ShorterLink is a URL shortening web application built with Flask. It allows users to create short, easily shareable URLs from long links, track their views, and manage their links through a user-friendly interface.

πŸš€ Features

  • Responsive Design: Fully responsive for both desktop and mobile devices.
  • User Authentication: Sign up and log in functionality with cookie-based authentication.
  • Link Management:
    • Create short links from long URLs.
    • Customizable short links.
    • Delete existing links.
  • Analytics:
    • Track the number of views for each link.
    • Display total views, links created, and user count on the homepage.
  • Public and Private Views:
    • Public homepage for non-logged-in users.
    • Personalized dashboard for logged-in users.
  • Security:
    • Basic authentication with cookie-based session management.
    • Validation for link ownership before deletion.
  • Caching:
  • Redis caching to optimize link redirection and view count operations.

πŸƒ How to Run

  1. Clone the repository:
$ git clone [email protected]:mateo-rfz/shorterLink.git
$ cd ShorterLink
  1. Set up a virtual environment and install dependencies:
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
  1. Run the application:
$ python app.py
  1. Open your browser and go to:
http://<local-ip>:80

🐳 Docker Setup

You can also run ShorterLink using Docker:

  1. Build the Docker image:
docker build -t shorterlink .
  1. Run the Docker container:
docker run -p 80:80 -d shorterlink
  1. Access the app in your browser:
http://localhost:80

πŸ“§ Contact

For inquiries or support, please reach out via the Contact Us page on the site.

βš–οΈ License

This project is licensed under the GPL-3.0 License.


Happy shortening! βœ‚οΈ

ShorterLink Screenshot ShorterLink Screenshot

About

ShorterLink is a fast and simple URL shortener built with Flask. It allows you to create custom short links, manage them easily, and track link views with real-time statistics. πŸš€

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published