/wb

Simple website blacklisting using hosts file

Primary LanguageGo

WB

Simple website blacklisting using hosts file

To install as executable

go build

go install

To block website

sudo wb b twitter.com

sudo wb b facebook.com

To unblock website

sudo wb ub twitter.com

sudo wb ub facebook.com

TODO

  • Handle url validation errors.
  • Hanlde non existent websites in /etc/hosts file.