Star Shortener
- 1 Devlogs
- 2 Total hours
A fast FastAPI URL shortener with serverless Postgres DB on Neon. It generates a unique short ID which is connected to the original URL, when accessed FastAPI recognizes the unique ID and redirects.
A fast FastAPI URL shortener with serverless Postgres DB on Neon. It generates a unique short ID which is connected to the original URL, when accessed FastAPI recognizes the unique ID and redirects.
Welcome to my first(probably the only devlog for this project) devlog, I’m currently working on a custom USB rubber ducky which executes a predefined payload(in my case opens a IP logging website, and a rickroll on a CDN), and I needed a way to shorten the CDN URL so I decided to make the shortener. Overall awesome and fun project. I used FastAPI for generating the unique ID and logging the given URL togheter with the unique ID. I used Jinja2 for the HTML serving part, and I used Neon serverless Postgres to host the database. API is hosted on Vercel.