Skip to main content

Posts

2026 Tap And Map: Build It From Scratch (Raspberry Pi + Leaflet + OpenStreetMap)

Tap And Map is a little Raspberry Pi box that watches the traffic going in and out of your home network, looks up where in the world each public address lives, and draws it live on a map: a line from your house to every place your network talks to, color-coded by protocol, with the dots growing as the traffic grows. It's a fun way to see what your devices are really doing. This is the 2026 rebuild . The original build is still in my 2025 Tap And Map post ; this post is a complete, from-scratch guide to the new version, so you don't need the old one. What changed: No Google Maps, no API key, no credit card. The map is now Leaflet with OpenStreetMap tiles. It runs itself. Two small systemd services start at boot and restart on their own. No more screen sessions or re-running scripts by hand. The map updates live in the browser (no page reloads, no stale cache), and has a Clear Map button. Saved maps : every day gets its own log, and a Saved maps page re-plots any...
Recent posts

2025 Tap And Map

 Tap And Map is back with new and improved installation instructions!   Here is an old video showing what TapAndMap is, for those who may not know: https://www.youtube.com/watch?v=gRfQzBjrhEE you'll notice that it's been a while since I've touched Tap And Map.   Because it's been so long since I built this, the old installation instructions would NEVER work to build it today (Feb 2025).   Plus, there was a Google Maps API bug that has troubled me all this time, as Google Maps would decide not to reload the page and I'd have to clear my history (lame).  Because my old code was built as an all-in-one method, so packets were sniffed, looked up, displayed, and logged, all in one large monolithic module, there was no easy means to troubleshoot.    So I've now decided to Sniff packets, lookup their IP information, and store the data in one script, and read that file, parse and publish html files in a separate module.  That allowed me to b...