# mmotti/pihole-regex

Custom regex filter list for use with Pi-hole.

Repository: https://github.com/mmotti/pihole-regex
Canonical: https://ross.abutalabs.com/products/pihole-regex
Language: Python
License: MIT
License Family: permissive
Topics: pi-hole, pi-hole-blocklists, pi-hole-ftl, hostsfile, blocking, regex, filter, adblocking
Last push: 2024-04-27T00:47:02+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2999, "days_push": 859, "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 1373, forks 165 (observed 2026-08-28T04:04:32.869921+00:00)

## What it is
A curated regex filter list for Pi-hole v4+ (FTLDNS) that blocks broad patterns of ad, tracking, and malicious domains. It ships with a Python installer/uninstaller and optional social/miscellaneous filter sets.

## Use cases
- block ads on my whole network with pi-hole
- add regex filters to pi-hole to catch new tracking domains
- block facebook domains via pi-hole
- keep my pi-hole blocklist updated automatically with cron
- reduce false positives with a whitelist for my pi-hole regex filters

## When to choose
- you run Pi-hole v4+ and want broader coverage than standard domain blocklists
- you want pattern-based blocking of domains that don't yet exist on conventional lists
- you want a simple install/uninstall script and optional cron-based updates

## When to avoid
- you use AdGuard Home, Unbound, or another DNS blocker that doesn't support Pi-hole regex lists
- you can't tolerate any false positives from aggressive regex patterns
- you need per-device or per-user filtering rather than network-wide DNS blocking

## Facets
- artifact type: dataset
- maturity: active
- function: security, cli, developer-tools
- domain: privacy, self-hosted, networking, security
- platform: python, cli, self-hosted
- tags: pi-hole, regex-blocklist, adblocking, dns-blocking, filter-list, linux

## Member repositories
- mmotti/pihole-regex (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:32.869921+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-30T04:40:42.943310+00:00, confidence not recorded.
  - readme: https://github.com/mmotti/pihole-regex (fetched 2026-08-28T04:04:32.869921+00:00, sha 125adcbf1f89)
- Data as of 2026-08-30T08:39:29.467469+00:00.
