Shadowrocket-ADBlock-Rules-Forever is a collection of filtering rule sets for the Shadowrocket iOS proxy application that provides ad blocking and traffic routing capabilities.
The project addresses the need for comprehensive, finely-tuned filtering rules for Shadowrocket users after the original rule set fell into maintenance dormancy. It works by automatically generating rules through Python scripts that combine multiple sources including GFWList for blocked domains, Greatfire Analyzer detection results, and popular ad-blocking lists like EasyList and Peter Lowe's tracking domain list. The tool defines which websites connect directly and which route through a proxy, with custom filtering rules tailored for iOS web ads, app ads, and video ads. Rules are distributed as plain text files compatible with Shadowrocket and are regenerated daily at a fixed time.
Developers and users managing iOS devices in regions with internet restrictions should consider this tool if they need granular control over which traffic routes through proxies versus direct connections, combined with comprehensive ad filtering. The project suits those already using Shadowrocket who want a maintained, regularly updated rule set rather than managing rules manually. The tool provides multiple rule file options for different use cases and includes convenience features like Shortcuts integration for automatic daily updates.
The project maintains active development with daily rule regeneration at a scheduled time. The codebase uses Python for automated rule generation from multiple upstream sources, ensuring rules stay current with the latest blocking lists and ad-filtering definitions.