# kboghdady/youTube_ads_4_pi-hole

YouTube script to add the new Ads list for Pi-hole

Repository: https://github.com/kboghdady/youTube_ads_4_pi-hole
Canonical: https://ross.abutalabs.com/products/youtube_ads_4_pi-hole
Language: Shell
License Family: other
Topics: pihole, pihole-blocklists, pihole-youtube-ads, youtube, youtube-ads, pihole-ads-list, pi-hole, blacklist, adguard, adguardyoutube
Last push: 2024-08-05T17:15:19+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": 2950, "days_push": 758, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2597, forks 249 (observed 2026-08-28T04:07:03.218893+00:00)

## What it is
A shell script and maintained DNS blocklist for blocking YouTube ads via Pi-hole. It provides a regularly updated blacklist file to add to Pi-hole's gravity list plus an update script intended to run via cron.

## Use cases
- block youtube ads on pi-hole
- add youtube ad domains to pihole gravity
- keep a pi-hole blocklist updated automatically
- remove youtube ads on smart tv without extensions
- network-wide youtube ad blocking with dns

## When to choose
- you run Pi-hole and want DNS-level YouTube ad blocking
- you want an auto-updating blocklist refreshed via cron

## When to avoid
- you need browser-level ad blocking with cosmetic filtering
- you don't use Pi-hole or DNS-based blocking
- you need a guaranteed solution - DNS blocking of YouTube ads can break or cause video loops

## Facets
- artifact type: cli-tool
- maturity: active
- function: security, networking, developer-tools
- domain: privacy, self-hosted, networking
- platform: cli, self-hosted
- tags: pi-hole, ad-blocking, youtube-ads, blocklist, dns, shell-script, cron, automation, linux

## Member repositories
- kboghdady/youTube_ads_4_pi-hole (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:03.218893+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-30T02:21:24.195618+00:00, confidence not recorded.
  - readme: https://github.com/kboghdady/youTube_ads_4_pi-hole (fetched 2026-08-28T04:07:03.218893+00:00, sha b35c7f2b53ea)
- Data as of 2026-08-30T08:39:29.467469+00:00.
