Flip it Off: How to Build a Website Blocker Switch with Raspberry Pi

Building Website Off Switches with a Raspberry Pi
(Image credit: Tom's Hardware)

If you’re like me, you spend a little too much time on a few websites, particularly social media sites. Try as you might to avoid them, you find yourself unconsciously typing in Facebook, Reddit, or something else into your search bar. There are a ton of browser extensions, desktop apps, and router rules you can configure to help, but I wanted something more physical.

This project uses light switches and an at-home DNS server running on a Raspberry Pi Zero to turn on or off access to specific websites. If I want access to a site I have blocked, I need to physically get up and turn off the switch -- something that’s slightly more difficult than turning off a browser extension.

Latest Videos FromTom's Hardware
Ryder Damen
Freelance Writer

Ryder Damer is a Freelance Writer for Tom's Hardware US covering Raspberry Pi projects and tutorials.

  • randomizer
    Admin said:
    If I want access to a site I have blocked, I need to physically get up and turn off the switch...

    You need to physically get up to block the site too though. Maybe you'll find that too hard. :)
    Reply