Shorti

React · Flask · SQLite · Docker · Caddy · Oracle Cloud Website Source

A web app that shortens URLs and tracks how often each short link is clicked, live at shorti.al-laktah.com.

I originally built it in 2021 for shorti.xyz. In 2026 I brought it back online: I updated the dependencies to run on current Python and Node, made the domain configurable and packaged the whole app with Docker.

How it works

Deployment

Docker Compose runs two containers: the Flask API, and a Caddy server that serves the React build and forwards /api/ requests to it. In front of them, a shared Caddy proxy handles HTTPS, so other services can run on the same server.

It all runs on the Oracle Cloud Always Free Arm VM from my al-laktah-cloud project, which sets up the server with Terraform.

Next steps