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
- 🔒 Privacy Protection - Protects user privacy and prevents data leakage
- ⚡ P2P Optimization - Blocks P2P CDN to accelerate streaming access
- 🎮 Gaming Optimization - Provides direct connections for games that support China access to save bandwidth
- 🔧 Proxy Tool Optimization - 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 |
| AWAvenue | Blocks ads and telemetry for mobile phone |
| category-games@cn | Allows games that support China access to use direct connections to save bandwidth |
https://github.com/Ckrvxr/MihomoYAML/raw/main/Source/Override/Sparkle.yamlSteps:
- Download the configuration file
- Open the Sparkle panel
- Go to the "Override Configuration" interface and upload the file
- Enable the "Global Application" switch of script
- Save
https://github.com/Ckrvxr/MihomoYAML/raw/main/Source/Override/FlClash.jsSteps:
- Open the FlClash panel
- Switch to "Tools" page
- Click "Advanced configuration" option
- Click "Script" option
- Add the script provided by this project
- Switch to "Profiles" page
- Click "..." button
- Click "More" option
- Click "Override" option
- Switch Override mode to "Script" and select our script, then save
- Resync our subscriptions
This project also generates some rule sets in the release branch for mihomo routing.
(Available rule sets are in the Release branch)
rule-providers:
stevenblack:
type: http
behavior: classical
format: yaml
interval: 43200
url: "hhttps://fastly.jsdelivr.net/gh/Ckrvxr/MihomoYAML@RELEASE/StevenBlack.yaml"
rules:
- ...
- RULE-SET,stevenblack,REJECT
- ...MihomoYAML/
├── Source/
│ ├── Addition/ # Additional rule files
│ │ ├── AntiAntiFraud.yaml
│ │ ├── AntiPCDN.yaml
│ │ ├── AntiPCDNFix.yaml
│ │ └── DirectProcess.yaml
│ ├── Override/ # Override configuration files
│ │ ├── FlClash.js
│ │ └── Sparkle.yaml
│ └── Script/ # Conversion scripts
│ ├── DomainsToYAML.py
│ ├── HostsToYAML.py
│ ├── TextToYAML.py
│ └── YAMLCombineIP.py
├── 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.