├── .github ├── wiki │ ├── Home.md │ ├── 致谢.md │ ├── 规则集列表.md │ └── 配置示例.md └── workflows │ ├── main.yml │ └── wiki.yml ├── .gitignore ├── CLAUDE.md ├── LICENSE ├── README.md ├── config.py ├── go.sum ├── logging.ini ├── main.py ├── models ├── rule.py └── ruleset.py ├── pdm.lock ├── pyproject.toml ├── source ├── apns.txt ├── apple-intelligence.txt ├── apple-music.txt ├── azurlane-en.txt ├── bangdream-jp.txt ├── bilibili.txt ├── cjmarketing.txt ├── heavenburnsred.txt ├── patches │ ├── domestic.txt │ └── reject.txt ├── personal │ ├── bypass.js │ ├── direct.txt │ ├── dns.js │ ├── financial_hk.txt │ ├── financial_uk.txt │ ├── proxy.txt │ └── set_bypass.js ├── proxy.txt ├── reserved_cidr.txt ├── steam.txt └── wechat.txt ├── tests ├── __init__.py ├── src │ ├── custom_ruleset │ │ ├── combined.txt │ │ ├── domain.txt │ │ └── ipcidr.txt │ └── patch │ │ └── patch.txt ├── test_0_rule.py ├── test_1_ruleset.py └── test_2_utils.py ├── utils ├── geosite.py ├── log_decorator.py ├── rule.py └── ruleset.py └── workers ├── custom.py ├── domestic_cidr.py ├── domestic_domain.py ├── personal.py ├── reject.py ├── speedtest.py ├── telegram_cidr.py └── v2fly.py /.github/wiki/Home.md: -------------------------------------------------------------------------------- 1 | 请通过 Wiki 目录查看可用规则集以及配置示例。 -------------------------------------------------------------------------------- /.github/wiki/致谢.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/.github/wiki/致谢.md -------------------------------------------------------------------------------- /.github/wiki/规则集列表.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/.github/wiki/规则集列表.md -------------------------------------------------------------------------------- /.github/wiki/配置示例.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/.github/wiki/配置示例.md -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/wiki.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/.github/workflows/wiki.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/.gitignore -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/CLAUDE.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/README.md -------------------------------------------------------------------------------- /config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/config.py -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/go.sum -------------------------------------------------------------------------------- /logging.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/logging.ini -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/main.py -------------------------------------------------------------------------------- /models/rule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/models/rule.py -------------------------------------------------------------------------------- /models/ruleset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/models/ruleset.py -------------------------------------------------------------------------------- /pdm.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/pdm.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/pyproject.toml -------------------------------------------------------------------------------- /source/apns.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/source/apns.txt -------------------------------------------------------------------------------- /source/apple-intelligence.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/source/apple-intelligence.txt -------------------------------------------------------------------------------- /source/apple-music.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/source/apple-music.txt -------------------------------------------------------------------------------- /source/azurlane-en.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/source/azurlane-en.txt -------------------------------------------------------------------------------- /source/bangdream-jp.txt: -------------------------------------------------------------------------------- 1 | #@Domain 2 | api.star.craftegg.jp 3 | -------------------------------------------------------------------------------- /source/bilibili.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/source/bilibili.txt -------------------------------------------------------------------------------- /source/cjmarketing.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/source/cjmarketing.txt -------------------------------------------------------------------------------- /source/heavenburnsred.txt: -------------------------------------------------------------------------------- 1 | #@Domain 2 | api.heaven-burns-red.wfs.games 3 | -------------------------------------------------------------------------------- /source/patches/domestic.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/source/patches/domestic.txt -------------------------------------------------------------------------------- /source/patches/reject.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/source/patches/reject.txt -------------------------------------------------------------------------------- /source/personal/bypass.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/source/personal/bypass.js -------------------------------------------------------------------------------- /source/personal/direct.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/source/personal/direct.txt -------------------------------------------------------------------------------- /source/personal/dns.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/source/personal/dns.js -------------------------------------------------------------------------------- /source/personal/financial_hk.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/source/personal/financial_hk.txt -------------------------------------------------------------------------------- /source/personal/financial_uk.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/source/personal/financial_uk.txt -------------------------------------------------------------------------------- /source/personal/proxy.txt: -------------------------------------------------------------------------------- 1 | #@Domain 2 | updates.cdn-apple.com 3 | -------------------------------------------------------------------------------- /source/personal/set_bypass.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/source/personal/set_bypass.js -------------------------------------------------------------------------------- /source/proxy.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/source/proxy.txt -------------------------------------------------------------------------------- /source/reserved_cidr.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/source/reserved_cidr.txt -------------------------------------------------------------------------------- /source/steam.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/source/steam.txt -------------------------------------------------------------------------------- /source/wechat.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/source/wechat.txt -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/src/custom_ruleset/combined.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/tests/src/custom_ruleset/combined.txt -------------------------------------------------------------------------------- /tests/src/custom_ruleset/domain.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/tests/src/custom_ruleset/domain.txt -------------------------------------------------------------------------------- /tests/src/custom_ruleset/ipcidr.txt: -------------------------------------------------------------------------------- 1 | #@IPCIDR 2 | 11.4.5.14 3 | fc00:114::514 4 | # comment -------------------------------------------------------------------------------- /tests/src/patch/patch.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/tests/src/patch/patch.txt -------------------------------------------------------------------------------- /tests/test_0_rule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/tests/test_0_rule.py -------------------------------------------------------------------------------- /tests/test_1_ruleset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/tests/test_1_ruleset.py -------------------------------------------------------------------------------- /tests/test_2_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/tests/test_2_utils.py -------------------------------------------------------------------------------- /utils/geosite.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/utils/geosite.py -------------------------------------------------------------------------------- /utils/log_decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/utils/log_decorator.py -------------------------------------------------------------------------------- /utils/rule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/utils/rule.py -------------------------------------------------------------------------------- /utils/ruleset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/utils/ruleset.py -------------------------------------------------------------------------------- /workers/custom.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/workers/custom.py -------------------------------------------------------------------------------- /workers/domestic_cidr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/workers/domestic_cidr.py -------------------------------------------------------------------------------- /workers/domestic_domain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/workers/domestic_domain.py -------------------------------------------------------------------------------- /workers/personal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/workers/personal.py -------------------------------------------------------------------------------- /workers/reject.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/workers/reject.py -------------------------------------------------------------------------------- /workers/speedtest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/workers/speedtest.py -------------------------------------------------------------------------------- /workers/telegram_cidr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/workers/telegram_cidr.py -------------------------------------------------------------------------------- /workers/v2fly.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xkww3n/Rules/HEAD/workers/v2fly.py --------------------------------------------------------------------------------