Introducing a useful SOPA- The Stop Online Productivity Avoidance box.
After having an extremely productive day on January 18th, I had a thought: What if every day were January 18th? Well, at the push of a button, now it can!
The button, switch, and display are wired to an Arduino. Â The Arduino communicates with a python script running on the router, which controls a Squid3 proxy blacklist. Â In SOPA mode, the whole of the internet is my oyster. Â In NOPA mode, however, distracting websites like reddit, hacker news, and hackaday are blocked. Â This isn't very useful without a great deal of self control, however. Â In weaker instances, nuclear mode must be employed. Â Turn the key switch and press the button and all distracting sites are blocked for one hour. Â The only recourse is to restart the router, but the router requires 15 minutes to restart, blocking the entirety of the web for the duration. Â Overriding nuclear mode is not appealing.
All code is posted online atÂ https://github.com/Zuph/SOPA-Box
A video demonstration and more pictures of construction lie below the break.