# surgioproject/surgio

Generating rules for Surge, Clash, Quantumult like a PRO

Repository: https://github.com/surgioproject/surgio
Canonical: https://ross.abutalabs.com/products/surgio
Homepage: https://surgio.js.org
Language: TypeScript
License: MIT
License Family: permissive
Topics: surge, clash, quantumult, v2ray, trojan, shadowsocks, hysteria, snell, vless, vmess, loon, stash, sing-box
Last push: 2026-08-18T22:24:08+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 97, longevity 100
- inputs: {"age_days": 2570, "days_push": 15, "days_rel": 21, "gap_med": 13.5, "n_releases_24m": 23}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1820, forks 160 (observed 2026-08-28T04:05:40.867323+00:00)

## What it is
Surgio is a Node.js-based proxy rule generator that produces configuration rules for Surge, Clash, Quantumult X, Loon, Stash, and sing-box. It lets users maintain a rule store in TypeScript and generate client-specific rule files via a CLI.

## Use cases
- generate proxy rules for surge
- convert subscription rules to clash format
- manage custom routing rules for quantumult x
- generate sing-box rule sets from a single source
- automate proxy client config generation
- maintain a centralized rule store for multiple proxy clients

## When to choose
- you use multiple proxy clients and want one source of truth for rules
- you want programmatic, version-controlled proxy rule management
- you need to generate rules for Surge, Clash, or Quantumult X regularly

## When to avoid
- you just need a one-off manual config edit
- you don't use any supported proxy clients
- you need a GUI-based rule editor

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, developer-tools, configuration-management, networking
- domain: networking, developer-tools, privacy
- platform: cli, cross-platform
- tags: surge, clash, quantumult, proxy-rules, rule-generator, sing-box, loon, stash, v2ray, shadowsocks, automation, nodejs

## Member repositories
- surgioproject/surgio (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:40.867323+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-30T03:20:00.172066+00:00, confidence not recorded.
  - readme: https://github.com/surgioproject/surgio (fetched 2026-08-28T04:05:40.867323+00:00, sha d1efcf549292)
  - homepage: https://surgio.js.org (fetched 2026-08-29T10:59:07.685137+00:00, sha 8f2e73bb7d9a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
