Show HN: Yurl.ai – a tiny F# URL shortener that invents its own slugs

5 reverseblade2 0 5/27/2025, 11:03:08 AM yurl.ai ↗
Hi HN,

I hacked together Yurl.ai last week—a bare-bones URL shortener in F# / .NET 9 using a simple CQRS + event-sourcing setup.

The gimmick: for each new link, it grabs the page text and asks a small language model to suggest a short, readable slug (4–8 chars). I’m curious whether these model-made names beat the usual random hashes.

Tech bits:

Actors as aggregates

SQLite for both event store and read model

Source (MIT): https://github.com/OnurGumus/YURL Live demo: https://yurl.ai (free tier—please be gentle)

Happy to hear what you think.

Comments (0)

No comments yet