ion-design/ditto.site ? reverse-engineered prompt

Reverse engineered prompt

Build me a tool called ditto.site that can take a public website URL and turn it into a fresh TypeScript app by capturing what the browser actually rendered.

I want it to support a simple API and a local command line flow, so I can paste in a URL, wait for the capture to finish, and get back a file map or a full project on disk. The default output should be a deterministic Next.js App Router app, with an option to generate Vite React instead. Keep the styling choice flexible too, with Tailwind or plain CSS.

Please make it able to run locally for development, and also support a hosted style setup with job status, results, file downloads, and a bundle export. It should feel reliable and repeatable, like the same page capture always gives the same code back. If you need current docs for anything like Playwright or the framework setup, look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab