Gokuld6012 / wb

Simple website blacklisting using hosts file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Simple website blacklisting using hosts file


Languages

Language:Go 100.0%