Daily Build Β· Open Source Β· GPL-3.0

Modern Shadowrocket Rule Sets

Shadowrocket Rules is an open-source project providing modular rule sets for Shadowrocket. Rules are automatically built and updated every day, organized into three independent modules: DIRECT, PROXY and REJECT. Use them individually or combine them freely to build your own configuration.

Key Features

  • πŸ“¦ Modular rule architecture
  • πŸ”„ Automatically built every day
  • 🎯 Accurate routing with minimal redundancy
  • πŸ›‘οΈ Integrated ad and tracker blocking
  • ⚑ Lightweight and performance-oriented
  • 🌍 Fully open source and community driven
DIRECT
100K+
Domains and services that should be accessed directly, including mainland websites, CDN providers and common cloud platforms.
PROXY
20K+
Domains requiring proxy access, covering international services, developer platforms, AI services and streaming media.
REJECT
170K+
Advertising, tracking and known malicious domains to provide a cleaner and more privacy-friendly network experience.

Why Shadowrocket Rules?

Designed specifically for Shadowrocket, with a focus on modularity, automation and long-term maintainability.

βš™οΈ

Modular Design

DIRECT, PROXY and REJECT are maintained independently, allowing flexible integration into any configuration.

πŸ”„

Daily Build

Automatically generated through GitHub Actions to keep rule sets up to date without manual intervention.

🎯

Accurate Routing

Continuously optimized to reduce duplicates and false matches, balancing precision and efficiency.

⚑

Lightweight

Keeps only the rules that matter, avoiding unnecessary growth while maintaining excellent performance.

πŸ”“

Open Source

Fully open source under the GPL-3.0 License. Contributions, Issues and Pull Requests are always welcome.

🌍

Actively Maintained

Rule sources are continuously reviewed and updated to reflect changes across internet services and networks.

Daily Build Pipeline

The entire rule set is automatically generated every day through GitHub Actions, ensuring the latest rule sources are always included.

  • Fetch upstream rule sources
  • Normalize and deduplicate data
  • Generate DIRECT / PROXY / REJECT modules
  • Commit changes automatically
  • Publish the latest rule sets

Design Philosophy

More rules do not necessarily mean better rules. Our goal is to keep the project clean, accurate, modular and easy to maintain over the long term.

Each module can be used independently or combined with your own configuration to create a flexible routing strategy.

Rule Modules

Three independent rule modules designed to cover the most common routing scenarios.

DIRECT

  • Mainland websites
  • CDN providers
  • Public services
  • Reduce unnecessary proxy traffic

PROXY

  • International services
  • Developer platforms
  • AI services
  • Streaming & social media

REJECT

  • Advertisements
  • Trackers
  • Malicious domains
  • Privacy protection

"Keep Rules Clean, Accurate and Maintainable."

Simple. Modular. Updated Every Day.

Ready to Get Started?

Whether you're building a new Shadowrocket configuration or maintaining an existing one, Shadowrocket Rules provides a clean, modular and continuously updated foundation. The project is fully open source under the GPL-3.0 License. Stars, Issues and Pull Requests are always appreciated.

↑