Dev.to WebDev πŸ›  Dev πŸ‘ 0 πŸ“– 1 min read

I built a GitHub roaster with zero backend (and 60 requests an hour)

I wanted a dumb, fun thing devs would actually share, so I built roast my github: https://localhost-roast.vercel.app You type a username, and it gives you one of 16 dev types plus 3 roasts based on your real public repo

I wanted a dumb, fun thing devs would actually share, so I built roast my github: https://localhost-roast.vercel.app

You type a username, and it gives you one of 16 dev types plus 3 roasts based on your real public repos.

No backend

The browser calls three GitHub endpoints: /users/:name, /users/:name/repos and /users/:name/events/public. GitHub allows 60 requests an hour without a login, and each roast uses 3. That's enough for a toy, and it costs $0 to run.

The roast rules

Each possible roast has a weight. For example: more than half your repos have no description, a repo you haven't pushed to in over a year, 30% of your pushes between midnight and 5am, a repo literally named test. The top 3 win.

Same input, same roast

A seeded random number generator (based on the username) breaks ties, so sharing a link always shows the same result.

The card

It's drawn on a 1080x1350 canvas (Instagram's portrait size), then turned into an image you can save, share or post.

Link previews

A tiny Vercel edge function draws the preview image, so I didn't have to upload any images.

I'm 15 and built this with Claude Code for my small coding-clothes brand, localhost (the only plug is a link at the bottom). What dev type did you get?

πŸ“° Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.