跳转至

RuleSet

RuleSet generate configuration.

Structure

{
  "type": "remote", // or local

  ... // Original Fields
}
{
  "type": "github",
  "repository": "",
  "path": "",
  "rule_set": []
}
{
  "type": "github",
  "repository": "SagerNet/sing-geosite",
  "path": "rule-set",
  "prefix": "geosite-",
  "rule_set": [
    "apple",
    "microsoft",
    "openai"
  ]
}
{
  "type": "github",
  "repository": "MetaCubeX/meta-rules-dat",
  "path": "sing/geo/geosite",
  "prefix": "geosite-",
  "rule_set": [
    "apple",
    "microsoft",
    "openai"
  ]
}

Original Fields

See RuleSet.

GitHub Fields

repository

GitHub repository, SagerNet/sing-<geoip/geosite> or MetaCubeX/meta-rules-dat.

path

Branch and directory path, rule-set or sing/geo/<geoip/geosite>.

prefix

File prefix, geoip- or geosite-.

rule_set

RuleSet name list.