M-Abozaid/esp32-c3-adblock
Pi-hole-class DNS ad-blocker on a $2 ESP32-C3 (no PSRAM): 537k domains as 40-bit FNV-1a hashes in flash, binary-searched. UDP DNS sinkhole + web dashboard. https://youtube.com/shorts/RaxszOUMi8E?feature=share
Topics
What it does
This repository provides a Pi-hole-like DNS ad-blocker specifically designed for the ESP32-C3 microcontroller, eliminating the need for expensive PSRAM. It achieves this by storing domain hashes directly in flash memory and using binary search, enabling a significant reduction in RAM usage and cost while maintaining performance.
Star history
Tracking
- Last trending
- 2026-10-05
Creator kit
Hook
Block ads on your network for just $2! π€― This ESP32-C3 ad blocker fits 537k domains in flash β no PSRAM needed! #ESP32 #adblock
Content angles
- A tutorial on building and deploying the ad blocker, including hardware setup and configuration.
- A comparison of the ESP32-C3 ad blocker with traditional Pi-hole setups, highlighting the cost and performance benefits.
- An explanation of the technical details behind the hash-in-flash approach, including the FNV-1a hashing algorithm and binary search implementation.
Who should care
DIY enthusiasts, hobbyists, network administrators, and anyone interested in building a low-cost, privacy-focused ad-blocking solution for their home network.