// the find
blackmatrix7/ios_rule_script
分流规则、重写写规则及脚本。
A large collection of proxy routing rules, rewrite rules, and automation scripts for iOS proxy tools like Surge, Quantumult X, Loon, Shadowrocket, and Stash. Primarily targets Chinese-speaking users who want to manage traffic routing and strip ads from specific apps. Not a library or framework — it's a config/script dump.
Actively maintained with a push as recently as two days ago, which matters for this category since apps change their APIs and ad patterns constantly. Covers all the major iOS proxy tools with format-specific configs rather than forcing one format on everyone. The breadth of app coverage is genuinely useful — hundreds of rules for streaming services, shopping apps, and Chinese platform-specific traffic.
The README's disclaimer section is nine paragraphs of legal cover that essentially says 'don't actually use this in ways that matter' — not confidence-inspiring for something you're routing live traffic through. Almost entirely undocumented at the individual rule level; you subscribe and trust it, there's no way to audit what any specific rule does without reading raw config files. The JS scripts depend on MagicJS 2/3, a framework with its own fragility and limited documentation outside the Chinese-speaking community. There's no automated testing or validation pipeline visible — rule correctness is entirely manual.