The ad blocker

Introduction

To have an ad-free internet experience, we use the Pi Hole with an Inky Phat by Pimoroni.

InkPhat displays the number of blocked requests, and filtered traffic.

Setup

Setup Pi-Hole, InkyPhat and clone this repo on your Raspberry Pi Zero W.

Automatic reload

To have it reload automatically every 30 seconds, edit crontab.

  • crontab -e
  • Add the following line:

  • */30 * * * * python /home/pi/inky-hole/main.py