stevenblack/hosts ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python tool that keeps a big unified hosts file up to date by combining a bunch of trusted blocklists into one clean file with duplicates removed.
I want it to generate the main hosts file, plus optional versions for things like fake news, gambling, porn, and social media, so people can pick the level of blocking they want. It should also support a whitelist and blacklist, and make it easy to regenerate everything from the source lists. Please include a simple way to update the README or release notes with the current counts and download links too.
Make it easy to run locally or in Docker, and keep the output files organized the way a hosts file project like this would expect. If you need to check current docs or source formats online while building it, go ahead and look them up.
Are you gonna build this?
make sure you review the code using arcumet