この紹介文は現在英語版のみです。
Overview
Cloudflare Gateway Pi-hole Scripts (CGPS) give you a Pi-hole-like experience using Cloudflare Gateway: Gateway’s custom DNS rules block ads, malware and tracking domains, so there is no server to maintain and no Raspberry Pi to buy.
The scripts
cf_list_create.js— turns ablocklist.txtof domains into lists in Cloudflare Gatewaycf_gateway_rule_create.js— creates a Gateway rule that blocks traffic matching those listscf_list_delete.jsandcf_gateway_rule_delete.js— remove everything CGPS created, useful before a fresh run
Keeping blocklists up to date
Run the scripts locally, or schedule them with GitHub Actions in a private repository so your filters update automatically. The workflow downloads the recommended blocklists and allowlist by default, reads your Cloudflare credentials from Actions secrets, and can ping a monitoring URL after each successful update. The README recommends local runs where possible.