521xueweihan/GitHub520 ? reverse-engineered prompt

Reverse engineered prompt

Build me a small Python project that helps people open GitHub faster and makes images load properly by keeping a hosts file up to date.

I want it to fetch and test the best IPs for common GitHub related domains, generate a clean hosts file, and also provide a simple JSON version of the same data. It should automatically update on a schedule, skip updates when nothing has changed, and keep the output easy to copy into a local hosts file or use from a remote URL.

Please make it work as a lightweight utility with clear instructions for Windows, Mac, Linux, and tools like SwitchHosts or AdGuard, so someone with little technical knowledge can use it without installing anything complicated. If you need current docs for any service or format, look them up online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab