diff options
| author | Loyalsoldier <[email protected]> | 2024-06-23 11:07:37 +0800 |
|---|---|---|
| committer | Loyalsoldier <[email protected]> | 2024-06-23 12:17:07 +0800 |
| commit | 7effab8525352b3d8f0daa4c3f1bcd407df32dc9 (patch) | |
| tree | 54f88a1981088ccea59e86735aceb6440f618aee /config-example.json | |
| parent | 09fed9bfdfa2319cac484701145306be127a3dd9 (diff) | |
Feat: support sing-box SRS format as input & output
Diffstat (limited to 'config-example.json')
| -rw-r--r-- | config-example.json | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/config-example.json b/config-example.json index a7b933fb..4986e459 100644 --- a/config-example.json +++ b/config-example.json @@ -57,6 +57,31 @@ } }, { + "type": "singboxSRS", + "action": "add", + "args": { + "name": "cn", + "uri": "https://raw.githubusercontent.com/Loyalsoldier/geoip/release/srs/cn.srs" + } + }, + { + "type": "singboxSRS", + "action": "add", + "args": { + "name": "cn", + "uri": "./srs/cn.srs", + "onlyIPType": "ipv4" + } + }, + { + "type": "singboxSRS", + "action": "add", + "args": { + "inputDir": "./srs", + "onlyIPType": "ipv6" + } + }, + { "type": "cutter", "action": "remove", "args": { @@ -165,6 +190,28 @@ } }, { + "type": "singboxSRS", + "action": "output", + "args": { + "outputDir": "./publish" + } + }, + { + "type": "singboxSRS", + "action": "output", + "args": { + "wantedList": ["cn", "us"] + } + }, + { + "type": "singboxSRS", + "action": "output", + "args": { + "wantedList": ["cn", "us"], + "onlyIPType": "ipv4" + } + }, + { "type": "text", "action": "output", "args": { |
