Skip to content

Latest commit

 

History

History
4 lines (3 loc) · 361 Bytes

README.md

File metadata and controls

4 lines (3 loc) · 361 Bytes

Hosts File Minifier in Python

Downloads a text hosts source and converts it to a file located in the same directory as the script. Removes comments, unnecessary whitespaces, empty lines and duplicates.

Default source for entries is Dan Pollock's "https://someonewhocares.org/hosts/zero/hosts", can be changed to any other hosts source though.