explaingit

h2y/shadowrocket-adblock-rules

16,551Python

TLDR

Shadowrocket-ADBlock-Rules is a collection of routing rule files built specifically for Shadowrocket, an iOS proxy app (a tool that routes your internet traffic through a different server).

Mindmap

A visual breakdown will appear here once this repo is fully enriched.

In plain English

Shadowrocket-ADBlock-Rules is a collection of routing rule files built specifically for Shadowrocket, an iOS proxy app (a tool that routes your internet traffic through a different server). The repository, written mostly in Python to automate rule generation, provides multiple rule sets that control which websites are accessed directly and which ones go through a proxy. The README, written in Chinese, explains that the rules are designed for iOS users who want selective proxy routing, meaning some sites connect directly and others route through a proxy server. The collection includes variants: a blacklist mode (only blocked sites use the proxy), a whitelist mode (only known-accessible sites connect directly), a China/overseas split (Chinese sites direct, foreign sites proxied), and a "return to China" mode for overseas users wanting access to Chinese services. Many rule sets also include ad-blocking derived from sources like GFWList (a community-maintained list of blocked domains) and EasyList, covering webpage ads, in-app ads, and video ads. The rules are generated automatically using Python scripts on a schedule, drawing from community-maintained blocklists. Each variant is distributed as a QR code you scan directly within the Shadowrocket app. The project maintainer noted it is no longer actively updated. You would use this if you have Shadowrocket installed and want a ready-made, detailed rule set rather than configuring routing rules manually.

Open on GitHub → Explain another repo

Generated 2026-05-21 · Model: sonnet-4-6 · Verify against the repo before relying on details.