Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • new-build-architecture
  • beta
  • 1.20.1
  • 1.20.0
  • 1.19.4
  • 1.19.3
  • 1.19.2
  • 1.19.1
  • 1.19
  • 1.18.1
  • 1.18.0
  • 1.17.0
  • 1.16.3
  • 1.16.2
  • 1.16.1
  • 1.16.0
  • 1.15.4
  • 1.15.3
  • 1.15.2
  • 1.15.1
  • 1.15.0
  • 1.14.1
23 results

url_shorter_docker

  • Clone with SSH
  • Clone with HTTPS
  • URL shorter

    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 and github oauth (user can view and delete his links)
    • qr code generation after link is shorten
    • easy deployment
    • can run in offline enviorements (behind a firewall)

    Why is this one better than other

    • no ADs
    • free to use
    • custom urls
    • easy user management
    • modern UI
    • very lightweight UI (main page ~0.5MB)
    • posibility to use multiple domains
    • open source --> posibility to expand
    • very small and leightweight (at the moment the sourcecode is about 2mb)
    • can be used in offline enviorements, because no online files needed (behind a firewall)

    pipeline status

    screenshot of url shorter Screenshot of url shorter dark mode