DEV Community

Cover image for I got tired of Audit tools that just list problems, so I built one that writes the fixes (and roasts you)
Marius Gherasim
Marius Gherasim

Posted on

I got tired of Audit tools that just list problems, so I built one that writes the fixes (and roasts you)

The Problem We've all been there. You run a Lighthouse audit or check PageSpeed Insights. It gives you a red score and a vague list of complaints:

"Eliminate render-blocking resources"

"Ensure text remains visible during webfont load"

"Serve static assets with an efficient cache policy"

Great. Thanks. But how do I fix it? Usually, that means 2 hours of Googling and messing with config files.

The Solution I spent the last few months building Refactor.tools. I wanted to build the "ultimate" website audit tool that doesn't just complain, but actually helps you fix the code.

What makes it different? Unlike standard validators, I built this with a "Fixer First" mentality using a modern stack (Next.js, Supabase, Puppeteer):

Real User Data (CrUX): It doesn't just run a lab test; it pulls real-world Chrome User Experience data (LCP, INP, CLS) so you know how actual users feel.

GEO (Generative Engine Optimization): This is new. It checks if your site is ready for AI Search (ChatGPT, Perplexity), including llms.txt detection and AI readability scoring.

The AI Fixer: This is the killer feature. If it finds a missing meta tag, a bad CSP header, or broken JSON-LD, it generates the copy-paste code to solve it.

๐Ÿ’€ The "Roast Mode" (Proceed with Caution) I got a little bored during development, so I added a "Roast My Site" tab. It uses vision-capable AI to look at your landing page and critique your design, UX, and copy. It does not hold back. Itโ€™s hilarious, but honestly... itโ€™s usually right.

The Tech Stack For those interested in how it's built:

Frontend: Next.js on Vercel.

Backend: Supabase (Auth/DB) + Google Cloud Run for the heavy lifting.

Analysis: Headless Puppeteer for DOM analysis + CrUX API.

Security: We use Vercel Edge Middleware to inject dynamic nonces for strict CSP compliance (a pain to build, but worth it for security).

๐Ÿš€ I need your help to break it Itโ€™s almost ready for the public, but I need honest feedback to make it bulletproof.

I am looking for Founding Members. If you try it out and send me an honest email about your experience (what broke, what confused you), Iโ€™ll give you the PRO Plan for free (1 year).

Check it out here: [https://refactor.tools]

Let me know in the comments if the AI Roast was too mean. ๐ŸŒถ๏ธ

Top comments (0)