use your hostsfile as a domain blocker to block ads, malware, porn, gambling, social and whatever other sites you wish to block!
initialize a specified hostsfile
$ touch myhostsfile # create a new hostsfile
$ racket hostblocker.rkt --init myhostsfileadd an awesome default source (unified hosts = ads+malware) from StevenBlack's hosts project with --defaults
$ racket hostblocker.rkt --file myhostsfile --defaults
$ racket hostblocker.rkt --file myhostsfile --list # view the added sourceor add whatever remote or local sources you wish with --add
$ racket hostblocker.rkt --file myhostsfile --add http://adaway.org/hosts.txt adawayhostblocker requires racket, and the build tool raco
$ sudo pacman -S racket # install racket
$ raco pkg install # install dependencies
$ sudo make-
--addadd remote or local sources -
--removeremove hosts based on the source -
--updateupdate all source -
--defaultsprovide good defaults for ads, social, porn and gambling -
--add-tagadd a tag to a host -
--enable-by-tagenable all hosts with a tag -
--disable-by-tagdisable all hosts with a tag - add tests and documentation