Using the Linux terminal version of ChatGPT, you can make a NextJS app, edit the JS files, run the app, curl localhost, and get a logical HTML response. I don't know if the code and output are 1:1, but it's cool as hell regardless.