# Loyalsoldier/surge-rules

🦄 🎃 👻 Surge 规则集(DOMAIN-SET 和 RULE-SET)，适用于 Surge for iOS 和 Surge for Mac 客户端。

Repository: https://github.com/Loyalsoldier/surge-rules
Canonical: https://ross.abutalabs.com/products/surge-rules
Homepage: https://nssurge.com
License: GPL-3.0
License Family: copyleft
Topics: surge, geosite, routing, gfw, gfwlist, chinalist, adblock, v2ray, clash, ssr, proxy, shadowsocks, anticensorship, ss, dnsmasq, easylist, adguard
Last push: 2026-08-25T22:52:37+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 2219, "days_push": 8, "days_rel": 6, "gap_med": 1.0, "n_releases_24m": 729}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3122, forks 201 (observed 2026-08-28T04:07:44.306520+00:00)

## What it is
A continuously auto-updated collection of Surge rule sets (DOMAIN-SET and RULE-SET files) for Surge on iOS and Mac, built daily via GitHub Actions. Data is aggregated from v2ray-rules-dat, domain-list-community, dnsmasq-china-list, and china_ip_list to classify domains for direct connection, proxying, ad blocking, and private networks.

## Use cases
- configure surge proxy rules for china direct vs proxy traffic
- block ads in surge with an up-to-date reject domain list
- split tunnel apple and google domains for direct connection in china
- get daily updated gfwlist-style domain sets for surge
- set up private network and icloud domain rules in surge

## When to choose
- you use Surge for iOS or Mac and want maintained, auto-updated rule sets
- you need reliable direct/proxy/ad-block domain classification for China traffic

## When to avoid
- you use Clash, V2Ray, or other clients needing different rule formats
- you need fully custom hand-curated routing rules

## Facets
- artifact type: dataset
- maturity: active
- function: proxy, security, privacy, networking
- domain: censorship-circumvention, privacy, networking, security
- platform: cross-platform
- tags: surge, rule-set, domain-list, adblock, gfwlist, proxy-rules, auto-updated, ios, macos

## Member repositories
- Loyalsoldier/surge-rules (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:44.306520+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:26:33.523156+00:00, confidence not recorded.
  - readme: https://github.com/Loyalsoldier/surge-rules (fetched 2026-08-28T04:07:44.306520+00:00, sha b9f13cbcaeea)
  - homepage: https://nssurge.com (fetched 2026-08-29T09:41:51.871277+00:00, sha 58efbc940b4a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
