Skip to content

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

 
 

Repository files navigation

Credit

This repository modified from source IanDesuyo/CloudflareGatewayAdBlock

Cloudflare-Gateway-Pihole

Create your block ad-lists to Cloudflare Gateway

Note

  • Script only support same urls hosts file or same urls domains,not mix

  • Add your lists to lists.ini

  • Supported 2 kind of lists.ini

1000015362

or 1000015364

Introduce

Add variables secrets to https://github.com/your-user/your-repository/settings/secrets/actions with

CF_IDENTIFIER take from Account ID https://dash.cloudflare.com/?to=/:account/workers

CF_API_TOKEN take from https://dash.cloudflare.com/profile/api-tokens

or add to env

Use .env

If you add CF_IDENTIFIER and CF_API_TOKEN to .env , you must edit main.yml like this 1000015344

More informations about Secret Github Action and API TOKEN

Secret Github Action like: 1000015325

Generate CF_API_TOKEN like: CF_API_TOKEN

Chú ý

  • Hiện tại script chỉ hỗ trợ các urls cùng là file hosts hoặc cùng file text domains, không hỗ trợ url dạng ||abc^!

  • Giới hạn của Cloudflare Gateway Zero Trust free là 300k domains nên các bạn nhớ chú ý log, nếu quá script sẽ stop

  • Các bạn đã up lists bằng script khác thì nên xoá đi bằng tính năng xoá của script đã up hoặc xoá tay

  • Nếu không biết thêm vào Secret Github Action thì có thể điền giá trị vào file .env và sửa file main.yml như sau 1000015344

  • Mình đã update thêm tính năng xoá lists khi các bạn không cần sử dụng script nữa. Vào main.py để như sau 1000015349

  • Bạn có thể thay tên ManhDuong bằng các tên bạn thích

  • Thêm danh sách của bạn vào lists.ini

  • Đã hỗ trợ 2 loại lists.ini

1000015362

hoặc 1000015364

👌 Chúc các bạn thành công

👌 Mọi thắc mắc về script các bạn có thể mở issue

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages