Back to GitHub trending

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

C++2.6K stars239 forks+196 today

Topics

#adblocker#arduino#dns#dns-sinkhole#esp32#esp32-c3#iot#pi-hole#platformio

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

2026-10-06 β†’ 2026-10-14+1.3K stars

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.