# tanrax/maza-ad-blocking

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

Repository: https://github.com/tanrax/maza-ad-blocking
Canonical: https://ross.abutalabs.com/products/maza-ad-blocking
Homepage: https://maza-ad-blocking.andros.dev/
Language: Shell
License: Apache-2.0
License Family: permissive
Topics: maza, macos, dnsmasq, pi-hole, linux, ads, blocker-proxy, bash
Last push: 2026-08-14T14:35:45+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 97, release rhythm 35, longevity 100
- inputs: {"age_days": 2434, "days_push": 19, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1870, forks 73 (observed 2026-08-28T04:05:46.668621+00:00)

## What it is
Maza is a local ad blocker written as a single Bash script that blocks ads at the DNS level by editing the operating system's hosts file, working like a local Pi-hole. It affects all browsers and applications without requiring extensions, and supports optional dnsmasq integration for wildcard subdomain blocking.

## Use cases
- block ads in all browsers without extensions
- local pi-hole alternative for macos
- block ad domains system-wide on linux
- update ad blocking dns lists with cron
- create a local pi-hole server with dnsmasq
- whitelist or add custom blocked domains

## When to choose
- you want system-wide ad blocking with zero browser extensions
- you prefer a simple single-file bash script over running a dedicated DNS server
- you use macOS, Linux, BSD, or WSL and want native tooling

## When to avoid
- you need network-wide blocking for multiple devices on your LAN
- you need HTTPS-level ad filtering or cosmetic filtering like uBlock Origin
- you are on Windows without WSL

## Facets
- artifact type: cli-tool
- maturity: active
- function: security, cli, networking, privacy
- domain: privacy, security, self-hosted
- platform: bsd, cli, cross-platform
- tags: ad-blocking, hosts-file, dnsmasq, pi-hole-alternative, bash, dns-blocking, command-line, macos, linux

## Member repositories
- tanrax/maza-ad-blocking (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:46.668621+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:15:06.653030+00:00, confidence not recorded.
  - readme: https://github.com/tanrax/maza-ad-blocking (fetched 2026-08-28T04:05:46.668621+00:00, sha e247944e6839)
  - homepage: https://maza-ad-blocking.andros.dev/ (fetched 2026-08-29T10:54:04.679877+00:00, sha 4a0a73638b96)
- Data as of 2026-08-30T08:39:29.467469+00:00.
