Convert Figma logo to code with AI

GeQ1an logoRules

Stick Rules -- Quantumult X / Loon / Clash Rules \ Quantumult back to CN Rules

1,006
220
1,006
1

Top Related Projects

3,905

SSR 去广告ACL规则/SS完整GFWList规则/Clash规则碎片,Telegram频道订阅地址

分流规则、重写写规则及脚本。

🦄️ 🎃 👻 Clash Premium 规则集(RULE-SET),兼容 ClashX Pro、Clash for Windows 等基于 Clash Premium 内核的客户端。

搜集、整理、维护 Surge / Quantumult (X) / Shadowrocket / Surfboard / clash (Premium) 实用规则。

Quick Overview

GeQ1an/Rules is a repository containing custom rule sets for various network tools and applications, primarily focused on ad-blocking and traffic control. It provides regularly updated rule lists for popular tools like Clash, Quantumult X, and Surge, helping users to enhance their browsing experience by blocking ads and unwanted content.

Pros

  • Regularly updated rule sets for multiple popular network tools
  • Comprehensive coverage of ad-blocking and traffic control rules
  • Easy to implement and integrate into existing setups
  • Open-source and community-driven, allowing for contributions and improvements

Cons

  • May require some technical knowledge to implement effectively
  • Could potentially block desired content if rules are too aggressive
  • Might need frequent updates to keep up with changing ad networks and websites
  • Limited documentation for newcomers or non-technical users

Getting Started

To use the rules from GeQ1an/Rules:

  1. Choose the appropriate rule set for your network tool (e.g., Clash, Quantumult X, Surge).
  2. Copy the raw URL of the desired rule file from the repository.
  3. Add the URL to your network tool's configuration as a rule source.
  4. Update your rules periodically to ensure you have the latest version.

Example for Clash:

rule-providers:
  AdBlock:
    type: http
    behavior: classical
    url: "https://raw.githubusercontent.com/GeQ1an/Rules/master/Clash/RuleSet/AdBlock.yaml"
    path: ./ruleset/AdBlock.yaml
    interval: 86400

rules:
  - RULE-SET,AdBlock,REJECT

Remember to adjust the configuration based on your specific needs and the network tool you're using.

Competitor Comparisons

3,905

SSR 去广告ACL规则/SS完整GFWList规则/Clash规则碎片,Telegram频道订阅地址

Pros of ACL4SSR

  • More comprehensive rule set with a wider range of categories
  • Regularly updated with frequent commits
  • Includes additional tools and scripts for rule management

Cons of ACL4SSR

  • Larger file size due to extensive rule set
  • May require more configuration for specific use cases
  • Potentially overwhelming for beginners due to its complexity

Code Comparison

Rules:

# GeQ1an/Rules
DOMAIN-SUFFIX,example.com,DIRECT
DOMAIN-KEYWORD,google,Proxy
IP-CIDR,192.168.0.0/16,DIRECT

ACL4SSR:

# ACL4SSR
DOMAIN-SUFFIX,example.com,DIRECT
DOMAIN-KEYWORD,google,Proxy
IP-CIDR,192.168.0.0/16,DIRECT
GEOIP,CN,DIRECT
URL-REGEX,^https?://example\.com/resource/,Proxy

The code comparison shows that ACL4SSR includes additional rule types like GEOIP and URL-REGEX, offering more granular control over network traffic. However, the basic structure and syntax of both rule sets are similar, making it easier for users to transition between the two if needed.

分流规则、重写写规则及脚本。

Pros of ios_rule_script

  • More comprehensive rule sets covering a wider range of applications and services
  • Frequent updates and active maintenance
  • Includes additional scripts and tools for iOS automation

Cons of ios_rule_script

  • Larger repository size, potentially leading to longer download times
  • More complex structure, which may be overwhelming for beginners
  • Some rules may be overly specific or redundant for casual users

Code Comparison

ios_rule_script:

# Netflix
USER-AGENT,Argo*
DOMAIN-SUFFIX,netflix.com
DOMAIN-SUFFIX,netflix.net
DOMAIN-SUFFIX,nflxext.com
DOMAIN-SUFFIX,nflximg.com

Rules:

# Netflix
USER-AGENT,Argo*
DOMAIN-SUFFIX,netflix.com
DOMAIN-SUFFIX,netflix.net
DOMAIN-SUFFIX,nflxso.net
DOMAIN-SUFFIX,nflxvideo.net

Both repositories provide rule sets for popular streaming services like Netflix. The code snippets show similar structure and content, with minor differences in the specific domains included. ios_rule_script tends to have more extensive lists for each service, while Rules focuses on core domains.

Overall, ios_rule_script offers a more comprehensive and actively maintained collection of rules and scripts, but may be overkill for users seeking a simpler setup. Rules provides a more streamlined approach, which could be preferable for those who want a basic configuration without extra complexity.

🦄️ 🎃 👻 Clash Premium 规则集(RULE-SET),兼容 ClashX Pro、Clash for Windows 等基于 Clash Premium 内核的客户端。

Pros of clash-rules

  • More comprehensive rule sets, including categories like "private", "applications", and "custom"
  • Regular updates and active maintenance, with frequent commits
  • Extensive documentation and usage instructions in multiple languages

Cons of clash-rules

  • Larger file sizes due to more extensive rule sets
  • May require more configuration and customization for specific use cases
  • Potentially higher resource usage when implemented in Clash

Code Comparison

clash-rules:

payload:
  - DOMAIN-SUFFIX,google.com
  - DOMAIN-SUFFIX,googlevideo.com
  - DOMAIN-SUFFIX,youtube.com
  - DOMAIN-SUFFIX,ytimg.com
  - DOMAIN-KEYWORD,gmail

Rules:

DOMAIN-SUFFIX,google.com
DOMAIN-SUFFIX,googlevideo.com
DOMAIN-SUFFIX,youtube.com
DOMAIN-SUFFIX,ytimg.com
DOMAIN-KEYWORD,gmail

The main difference in code structure is that clash-rules uses a YAML format with a "payload" key, while Rules uses a simpler list format. Both repositories provide similar rule content, but clash-rules offers a more structured approach that may be easier to integrate with certain tools or configurations.

搜集、整理、维护 Surge / Quantumult (X) / Shadowrocket / Surfboard / clash (Premium) 实用规则。

Pros of SS-Rule-Snippet

  • More frequent updates and active maintenance
  • Broader range of supported platforms and applications
  • More detailed documentation and usage instructions

Cons of SS-Rule-Snippet

  • Larger file size and potentially more complex rule structure
  • May include unnecessary rules for some users' specific needs
  • Slightly steeper learning curve for beginners

Code Comparison

SS-Rule-Snippet:

# Apple
DOMAIN-SUFFIX,aaplimg.com,Apple
DOMAIN-SUFFIX,apple.co,Apple
DOMAIN-SUFFIX,apple.com,Apple
DOMAIN-SUFFIX,apple-cloudkit.com,Apple
DOMAIN-SUFFIX,appstore.com,Apple

Rules:

# Apple
DOMAIN-SUFFIX,apple.com,Apple
DOMAIN-SUFFIX,icloud.com,Apple
DOMAIN-SUFFIX,itunes.com,Apple
DOMAIN-SUFFIX,me.com,Apple
DOMAIN-SUFFIX,mzstatic.com,Apple

Both repositories provide rule sets for network traffic management, but SS-Rule-Snippet offers more comprehensive coverage and frequent updates. Rules, on the other hand, may be more straightforward for users with simpler needs. The code comparison shows that both repositories use similar syntax for defining rules, but SS-Rule-Snippet tends to include more specific domains and subdomains in its ruleset.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

Stick Rules

This project has been removed due to some reasons.

本项目因为某些原因被移除。