Project

stuffed

0.0
No commit activity in last 3 years
No release in over 3 years
A simple tool to temporarily block websites.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.9
~> 0.9
~> 2.11
 Project Readme

Stuffed

Stuffed blocks websites on OSX. Think a command line version of Self-Control.

Install

gem install stuffed

Usage

stuffed add reddit.com - adds reddit.com & www.reddit.com to the blocked list.

stuffed remove reddit.com - removes reddit.com & www.reddit.com from the blocked list.

stuffed list - lists all sites being blocked.

stuffed off - toggles blocking off.

stuffed on - toggles blocking on.

Details

Stuffed edits your /etc/hosts file so most of the time you'll need to run sudo stuffed <task>.

There is some OSX specific code to flush the DNS cache, I haven't tried or tested any other OS's.

If you run into issues, there was a backup of the hosts file created at /etc/hosts.backup.