You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A collection of Shadowrocket configurations, rule sets, and modules for overseas access, return-to-China routing, ad blocking, China direct connections, and global proxy routing.
Features
🚀 Two routing scenarios - Ready-to-import configurations for overseas and return-to-China use
🛡️ Ad-blocking rules - Aggregates multiple upstream sources, then filters, deduplicates, and sorts them
🇨🇳 China direct rules - Covers popular mainland China services, media, IP ranges, and ASNs
🌍 Global proxy rules - Covers GitHub, Telegram, streaming media, and other commonly used global services
🧩 Utility modules - Includes app ad blocking, feature-enhancement scripts, and Apple telemetry blocking
🔄 Daily automatic updates - GitHub Actions updates rule files and their counts in this README
📱 Direct subscriptions - Import configurations, rule sets, and modules into Shadowrocket through Raw links
Configuration Files
Scenario
Description
Configuration
Overseas access
Connects mainland China services directly and proxies other traffic by rule
Tap the + button in the upper-right corner, paste the link, and download it
Select the configuration and adjust policies for your actual proxy nodes
2. Add a Rule Subscription
Open Config → Rule Set
Tap the + button in the upper-right corner
Paste the rule subscription link and download it
3. Add a Module
Open Modules on the home screen
Tap the + button in the upper-right corner
Paste the module link and download it
Before enabling modules with scripts or rewrites, make sure the MITM certificate is correctly configured and trusted
Automatic Updates
One unified rule workflow runs every day at 19:00 UTC and can also be triggered manually from the Actions page
It runs the three rule scripts sequentially to download, filter, deduplicate, and sort upstream rules
All three rule sets and README counts are updated in one job and pushed in a single commit
A concurrency lock allows only one update job to run at a time; duplicate triggers can safely coalesce
README count labels are fixed matching keys used by the rule scripts; do not rename them casually
Note: This repository does not provide additional DNS leak optimization. Actual DNS behavior depends on Shadowrocket, the operating system, and the network environment. Some modules depend on third-party scripts; review compatibility and risks before use.