HatScripts/circle-flags ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple static website that hosts a big collection of minimal circular SVG flags for countries, states, and languages.

I want each flag to be available at a clean URL so someone can use it directly in an image tag, like a file for each ISO country code. The site should also have a gallery page where people can browse the flags visually and click around easily. Keep the design very clean and lightweight, since the main point is the flags themselves.

Please make it work well on GitHub Pages, and keep the SVGs optimized so the files stay small. If you need to check current docs or best practices for SVG optimization or static site setup, feel free to look them up online. I also want the project to be easy to contribute to later, so keep the flag files organized and make sure the site can be regenerated from them without much effort.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab