Projects / Product · 2025

ShortLi

A URL shortener with analytics, redirected from the edge.

ShortLi home page

01 — The problem

A short link is only useful if the redirect is fast everywhere and you can see who clicked. Sending every click through the main application makes redirects slow and ties them to that server's uptime.

02 — The solution

ShortLi answers redirects from a Cloudflare Worker that reads the link from Workers KV, close to the visitor. The Next.js application handles sign-in, link management and analytics, and stays out of the redirect path.

  • Next.js
  • TypeScript
  • Cloudflare Workers
  • Workers KV
  • MongoDB
  • Redis
  • NextAuth

03 — What it does

04 — How it's built

App
Next.js dashboard and API routes, with MongoDB for links and users and NextAuth for sign-in.
Edge
Cloudflare Worker that resolves short codes from KV and redirects.
Cache
Redis in front of the database.

05 — Screens

Next project

Event Ecosystem →