Skip to content

Create and manage short URLs in a lazy way without registration and SMS.

License

Notifications You must be signed in to change notification settings

YuriyCherniy/lzy.su

Repository files navigation

GitHub top language GitHub code size in bytes GitHub GitHub last commit (by committer) Static Badge

Choose language ENG/RUS

Hi there!

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.

To run locally, do the usual:

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

About

Create and manage short URLs in a lazy way without registration and SMS.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages