anvaka/city-roads — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a web app that lets someone type the name of any city and see a beautiful map made only from that city’s roads, all drawn at once like line art.

Use OpenStreetMap data for the roads. If the city is in a cached list, load it quickly from the cache, otherwise fall back to querying the public map API. The search should resolve normal city names, show matching places when needed, then render the selected area. Keep the interface simple, basically a search box, loading state, error messages, and the road visualization.

Make it work well in the browser and be mindful that huge areas can be slow or crash, so warn the user when a selected place is too large. The result should feel like an interactive art tool, where people can pan, zoom, and explore the road network.

Also include a way for developers to script or customize the scene later, and add local dev and production build setup. Look up current docs online if you need to.

Want more depth? Deep Reverse