Corporate_business

Cloudev · 2024–Present

Recovering AI-generated code when GitHub export wasn't available

Recovering AI-generated code when GitHub export wasn't available

During the peak of the AI hype, tools like lovable.dev emerged, which could generate full websites from prompts and images.

One issue: the only way to export the code was through a GitHub integration, and that integration wasn't available to us.

At first, I thought I was stuck. Then, while exploring the browser's network panel, I found a request that returned all the generated code in a structured JSON format. I realized I could rebuild the project manually — but that would take too long.

So, I used ChatGPT to help write a script that parsed the JSON and recreated the entire file structure locally.

It worked perfectly. My teammates were amazed — many of them had been facing the same issue.

Once again, I solved a problem.

Mouaz Al-Kassm

I'm a full-stack engineer and team lead with 6+ years of experience building production web platforms in React, Next.js and TypeScript on Laravel/PHP backends.