Skip to content

Downloads a text hosts-source, minifies it and saves it as a file.

Notifications You must be signed in to change notification settings

d-e-n-n-i-s-t/Hosts-Minifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 

Repository files navigation

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.

About

Downloads a text hosts-source, minifies it and saves it as a file.

Topics

Resources

Stars

Watchers

Forks

Languages