Hostblock is a command-line productivity tool that blocks websites via the hosts files.

When you unblock or a remove a domain you’ll be asked to enter a mildly annoying random passphrase to give you a chance to reconsider if you really want to go read reddit.

Full README and releases on Github.