Choose language ENG/RUS
You're behind the scenes of the lzy.su link shortening service. This is a small but full-featured service. You can shorten URLs and manage short links without registration and even get some click statistics. It's built with Django web framework. The simplicity of the service makes it easy to understand the source code by users with almost any programming experience. There are only several Views, a couple Models and one simple Validator.
And there's one more thing. This project has been created to offer a new way to create and manage short URLs. How to create lazy short URL read here: lzy.su. If you try it out, you will like it.
Create a Python 3.10.x, 3.11.x or 3.12.x virtual environment:
python3 -m venv .venv
Activate virtual environment:
source .venv/bin/activate
Clone repository:
git clone https://github.com/YuriyCherniy/lzy.su.git
cd to working directory:
cd lzy.su/
Install dependencies:
pip install -r requirements/dev.txt
Copy .env.example
to .env
:
cp .env.example .env
Migrate:
./manage.py migrate
Create a superuser:
./manage.py createsuperuser
Run server:
./manage.py runserver