Simple, native and efficient local ad blocker. Only Bash.

X

Shell

Maza ad blocking image

Ever get that feeling you're being stalked by ads wherever you go on the web? Enter Maza, a no-nonsense, local ad blocker that's as straightforward as it gets. This baby is pure Bash, no fancy-schmancy browser extensions or new software required. If you can rock the Terminal, you can roll with Maza. First things first, Maza's topping the charts over at Hacker News, so you know it's legit. What makes this project a slam dunk? It's all in the simplicity and power it delivers. With just one command, "sudo maza start," you're squashing ads across all browsers. No kidding—it's like having Pi-hole, but you don't need extra hardware or cloud services—it's just your operating system doing its thing. Maza's got your back, no matter if you're on macOS, Linux, BSD, or even Windows Subsystem for Linux (WSL). And let’s lay it out clearly: it works with ANY browser. Yup, no need to muddy the waters with extensions or additional software downloads. You just harness the tools already on your machine. Updating your blocked DNS list? That's a one-liner, too: "sudo maza update." And let's not sleep on this—Maza is pure open-source, so you can tinker to your heart's content. Now, installation is a cinch. Just make sure you’ve got Bash 4.0+, curl, and if you're on macOS, you'll need gnu-sed (get it via brew install gnu-sed). Then, it's as easy as running a curl command to grab the script and move it to your local bin. Pro tip: backup your hosts file first with "sudo cp /etc/hosts /etc/hosts.backup"—better safe than sorry! Maza also lets you auto-update your block list via cron jobs, ensuring you’re always current with the latest ad-blocking definitions. Add "@daily maza update" to your crontab, and you're golden. Need to whitelist certain domains? Edit the ignore file at `/root/.config/maza/ignore`. Custom block list? Throw those domains into `/root/.config/maza/custom-domains`. It’s all super user-friendly and accessible. For those who crave even more control, Maza supports Dnsmasq for wildcard subdomain blocking. Set up is detailed yet straightforward, whether you're rolling on macOS or Linux. Just update Maza, install and configure Dnsmasq, and point your OS to use your local DNS server. That's a lot covered, and we've barely scratched the surface, from adding custom DNS lists to even creating your very own Pi-Hole server using Maza on a Raspberry Pi or VPS. And, hey, if Maza starts brightening your day by dimming those ads, you might wanna consider buying the creator a coffee. Community help is out there, too, so you’re never alone on this ad-blocking adventure. So, if you’re tired of the ad blitz, Maza’s your new best friend—simple, local, and oh-so-efficient. Give it a whirl and enjoy the ad-free ride!

Check out site
Back to all products