menotbobbybrown/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 that looks like what the browser actually rendered.
I want it to generate a clean project on disk, with Next.js App Router as the default, and an option to use Vite React instead. It should have a simple REST API and a command line way to run the same clone flow locally, so I can point it at a site, wait for the job to finish, and then unpack the generated files into a folder. It should also support images and other assets, and make the output deterministic so the same capture produces the same app. If it helps, you can look up current docs online for the libraries or browser tooling you need.
Make it easy to use with a single command, and include a local developer setup so I can test cloning a site from my machine.
Are you gonna build this?
make sure you review the code using coderabbit