tinyworldmap/tiny-world-map ? reverse-engineered prompt
Reverse engineered prompt
Build me a tiny world map web app that works well for offline first and low bandwidth use.
I want a simple site that shows a lightweight world map with city labels, borders, and shorelines, and it should work as a Leaflet base map instead of normal map tiles. It also needs an offline fallback so if someone opens the app, goes offline, and reloads, the map still loads from a service worker and keeps the rest of the site cached too.
Please include a stable version and a beta version, plus a small demo page showing the different map styles and sizes, like fewer cities or no borders. Make sure the map can be customized with a render option so the colors and labels can be changed. Keep it fast on low end phones, and make sure the attribution for OpenStreetMap and tinyworldmap is included correctly.
If you need to check current Leaflet or service worker details, look up the latest docs online.
Are you gonna build this?
make sure you review the code using coderabbit