frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Roast My Code – AI that scores and roasts your codebase (open source)

https://github.com/Rohan5commit/roast-my-code
3•Rohan51•1h ago

Comments

Rohan51•1h ago
Hey HN — I built this after getting fed up with AI-generated PRs slipping through code review unnoticed. TODOs everywhere, placeholder variables, empty except blocks — the usual slop.

roast-my-code scans your repo with static analysis rules specifically tuned for AI-generated code patterns, then calls an LLM (Groq free tier by default, so $0 to try) to generate a brutal, specific roast referencing your actual file names and issues.

Stack: Python + Typer + Rich + Jinja2. The HTML report exports a shareable shields.io badge with your score.

Try it: pip install roast-my-code

Would love to hear what patterns you'd add — especially if you've spotted AI slop in the wild that my analyzer doesn't catch yet.

ksaj•7m ago
— I see what you did there.

I'm terrible about placeholder variables and functions. This thing might rip me to shreds.