A URL shortener application built with Next.js 14, Supabase, Drizzle ORM, and Upstash Redis. It offers features like instant URL shortening, custom aliases, link expiration, Redis-cached redirects, and analytics. The application includes a dashboard for managing links and generating QR codes.
From the README
Shrinkit A high-performance URL shortener built with Next.js 14, Supabase, Drizzle ORM, and Upstash Redis. Features • Shorten any URL instantly • Custom aliases (3–20 chars, [a-zA-Z0-9-]) • Link expiration (1–365 days) with Active/Expired badge on dashboard • Redis-cached redirects — hot path skips DB on cache hit • Async click analytics — redirect fires immediately, tracking happens in background • Per-link stats page: total clicks + recent click history (time, referrer, user agent) • QR codes for every short link • Dashboard to manage, view, and delete your links • Google OAuth via Supabase Auth • Rate limiting on all API routes (10 req / 10s sliding window) • URL validation — rejects...
Skills
- TypeScript
- JavaScript
- CSS