MihomoYAML is a personal rule library designed for Mihomo (Clash Meta), providing AD-Blocking, Privacy Protection, and AntiAntiFraud features.
-
🛡️ Anti-Fraud Protection - Strongly blocks anti-fraud programs on mobile phones, including automatic uploading of app lists
-
🚫 Ad Blocking - Blocks ads and telemetry data
-
⚡ PCDN Blocking - Blocks P2P CDN to accelerate streaming access
-
🔒 Privacy Protection - Protects user privacy and prevents data leakage
-
🎮 Gaming Download Traffic Saving - Provides direct connections for games that support China access to save bandwidth
-
🔧 Server/IP Abuse Provention - Prevents proxy tools and P2P download software from using the proxy
| Rule Name | Description |
|---|---|
| DirectProcess | Prevents proxy tools and P2P download software from using the proxy |
| AntiAntiFraud | Strongly blocks anti-fraud programs on mobile phones, including automatic uploading of app lists |
| AntiPCDN | Blocks P2P CDN to accelerate streaming access |
| 217heidai/adblockfilters | Blocks ads and telemetry for all device |
| AWAvenue | Blocks ads and telemetry for mobile phone |
| Firehol Level 1 | Blocks malicious IP addresses |
| category-games@cn | Allows games that support China Mainland CDN to use direct connections to save bandwidth |
| Bulk of Routing rules | Open AI, Google, Microsoft, Netflex, HBO and so on |
Scripts compatible with both FlClash and Sparkle.
| Script | URL |
|---|---|
| PLUS (Full) | https://raw.githubusercontent.com/Ckrvxr/mihomo_yaml/refs/heads/main/Source/Override/PLUS.js |
| STD (Light) | https://raw.githubusercontent.com/Ckrvxr/mihomo_yaml/refs/heads/main/Source/Override/STD.js |
FlClash: Tools → Advanced configuration → Script → add URL → Profiles → ... → More → Override → Script mode → select script → save → resync
Sparkle: Override Configuration → add script URL → enable Global Application → save
MihomoYAML/
├── Source/
│ ├── Addition/ # Additional rule files
│ │ ├── AntiAntiFraud.yaml
│ │ ├── AntiPCDN.yaml
│ │ ├── AntiPCDNFix.yaml
│ │ └── DirectProcess.yaml
│ └── Override/ # Override configuration files
│ ├── PLUS.js # Full-featured script (FlClash & Sparkle)
│ ├── STD.js # Lightweight script (FlClash & Sparkle)
├── LICENSE
└── README.md
Special thanks to the following open source projects:
- MetaCubeX/mihomo - Powerful proxy core
- chen08209/FlClash - Clash meta client
- zsokami/ACL4SSR - SSR/Clash rules (be inspired)
- StevenBlack/hosts - Ad-blocking hosts
- 217heidai/adblockfilters - Ad-blocking rules
- TG-Twilight/AWAvenue-Ads-Rule - Ad-blocking rules
This project follows the Apache-2.0 license. Using the rules implies agreement with the licensing terms.