SkillAgentSearch skills...

CFPiHole

Simple python script to import PiHole domain blocking lists into Cloudflare Zero-Trust Gateway configuration

Install / Use

/learn @andreafortuna/CFPiHole
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

CFPiHole

Simple python script, runnable from GHA, that allows importing PiHole domain blocking lists into Cloudflare Zero-Trust Gateway configuration.

(based on https://github.com/IanDesuyo/CloudflareGatewayAdBlock)

Usage

  1. Create Cloudflare API token, from https://dash.cloudflare.com/profile/api-tokens, with 3 permissions Account.Zero Trust : Edit Account.Account Firewall Access Rules : Edit Account.Access: Apps and Policies : Edit
  2. Get your Account ID from : https://dash.cloudflare.com/?to=/:account/workers
  3. Clone this repository.
  4. Configure action secrets:
    • CF_IDENTIFIER with Account ID
    • CF_API_TOKEN with API Token
  5. Modify config.ini with your preferred blocking lists
  6. Enable action

Related Skills

View on GitHub
GitHub Stars15
CategoryDevelopment
Updated27d ago
Forks27

Languages

Python

Security Score

80/100

Audited on Mar 4, 2026

No findings