An open-source, feature rich & extensible url-shortener + analytics written in Python :cookie:
Pygmy or pygy.co is an open-source, extensible, and easy-to-use URL shortener designed for easy hosting and custom integration. It consists of three major parts - core URL shortening code, a REST API using Flask framework, and a UI layer using Django framework.
docker pull amit19/pygmydocker run -it -p 8000:8000 amit19/pygmygit clone https://github.com/amitt001/pygmy.git & cd pygmyvirtualenv -p python3 env and activate.pip3 install -r requirements.txt (for MySQL or PostgreSQL, check DB setup section).python run.pyPygmy or pygy.co is a versatile open-source URL shortener with features like custom short URLs, user login/signup, and link analytics. It can be easily installed using Docker or manually from the source. The project's architecture allows for custom integrations and supports various databases like SQLite, MySQL, and PostgreSQL.
Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. It follows the model-view-controller (MVC) architectural pattern, providing an extensive set of built-in tools and conventions to streamline the creation of robust and scalable web applications.
Flask is a lightweight and popular web framework for Python, known for its simplicity and flexibility. It is widely used to build web applications, providing a minimalistic approach to web development with features like routing, templates, and support for extensions.