Hacker News

Show HN: I built a self-hosted link shortener with rate limiting

link - https://link6ync.app

The moment you submit, paste something like this (example tailored to you):

Hi HN

I built this as a learning project to explore rate limiting, analytics, and abuse prevention at scale.

Tech stack:

Next.js (App Router)

MongoDB for persistence

Redis for rate limiting and click counters

Edge middleware for fast redirects

Interesting challenges:

Preventing link abuse without slowing redirects

Designing analytics without third-party trackers

Handling high write volume efficiently

It’s early and not production-ready, I’d really appreciate feedback on the architecture and any mistakes you spot.