Skip to content
Snippets Groups Projects
Jonas Leder's avatar
Jonas Leder authored
02eaab4f
History

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