RC RANDOM CHAOS

ESP32-C3 Adblock: $2 Pi-hole Alternative

· via Hacker News

Original source

ESP32-C3 Adblock

Hacker News →

A new project called ESP32-C3 Adblock offers a Pi-hole-style DNS ad-blocker that runs on a $2 ESP32-C3 chip, requiring no PSRAM. The key innovation is storing domain blocklists as sorted 40-bit hashes in flash, allowing for binary search and efficient matching. This approach fits 140,000+ domains in ~0.7 MB of flash and uses only ~50 KB of RAM, with matches taking ~10 ms. The project avoids RAM-intensive blocklist storage, making it suitable for resource-constrained devices. It also includes a printable case, WiFi setup, and a web dashboard for management.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.