h2y/Shadowrocket-ADBlock-Rules ? reverse-engineered prompt
Reverse engineered prompt
I want a small Python project that generates Shadowrocket rule files for iPhone use, with a few different presets people can choose from. It should make a black list mode, a white list mode, a China and overseas split mode, a full proxy mode, a full direct mode, and matching versions with ad blocking. Local network traffic should always go direct, and the rules should be plain text configs that can be imported into Shadowrocket easily.
Please set it up so the rule files can be rebuilt from source lists and templates, and make it easy to update later if the upstream block lists change. If you need to look up current Shadowrocket rule syntax or the best way to format these files, feel free to check the latest docs online. Include a simple README that explains what each preset is for and how to use it on iOS.
Are you gonna build this?
make sure you review the code using coderabbit