A small url shorter written in python and flask
This repository has been archived on 2026-11-17. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Python 65.7%
  • CSS 16.5%
  • HTML 15.1%
  • Dockerfile 1.3%
  • JavaScript 1.2%
  • Other 0.2%
Find a file
2023-12-28 22:03:09 +01:00
.vscode . 2020-03-14 21:35:06 +01:00
app fix api not working 2022-08-15 22:26:32 +02:00
.gitignore added __pycache__ for app directory 2020-12-02 20:12:55 +01:00
.gitlab-ci.yml remove double platforms 2022-03-22 13:44:40 +01:00
docker-compose-build.yml add restart flag to compose files 2022-03-10 08:12:30 +01:00
docker-compose.yml add restart flag to compose files 2022-03-10 08:12:30 +01:00
Dockerfile remove docker proxy 2023-12-28 22:03:09 +01:00
LICENSE update 2020-02-25 21:42:15 +01:00
README.md update feature list 2022-03-01 11:51:58 +01:00
Screenshot.png Added screenshot 2019-10-08 18:45:10 +02:00
Screenshot_dark.jpg added screenshot_dark 2020-02-24 21:02:46 +01:00

URL shorter

For Instructions, please checkout the wiki

About

This is a URL shorter written in Python with Flask als Webhandler. The Webserver I used is Waitress and for the Database I used sqlite, because it's compact and works in this enviorement also with big databases (>2million entries) very quick. I started develloping this URL schorter, because google stopped their own and I can't find a very good one. Every shorter at the time on the market was boring or needed an account. For the first Version I used PHP, but the problem was, I packed everything in one very big file which was very hard to understand. At the time I wanted to use more than one domain I realized it is very hard to implement this, so I started searching for a better solution. The i found Flask, ehich is perfect, because you can split the Website code and the backend into multiple Files. So have fun to use this and contribute to it.

Features

  • Custom Links (user can select the short link himself)
  • multiple domains
  • protected with recaptcha
  • automatic darkmode
  • account system based on google or github oauth (user can view and delete his links)
  • automatic qr code generation after link is shorten
  • easy deployment
  • can run in offline enviorements (only without login)

Why is this one better than other

  • no ADs
  • free to use
  • custom urls
  • easy user management
  • modern UI
  • very lightweight UI (main page ~34kb)
  • posibility to use multiple domains
  • open source --> posibility to expand
  • very small and lightweight (at the moment the sourcecode is about 2mb)
  • can be used in offline enviorements, because no files on external servers are required (except if login is enabled)
  • setup is extremly easy and quick

pipeline status

screenshot of url shorter Screenshot of url shorter dark mode