From 5eabf2197550f6ff2f7da76c098c0b0e26b8f4ea Mon Sep 17 00:00:00 2001 From: pickrui Date: Wed, 8 Feb 2023 17:06:53 +0800 Subject: [PATCH] ChatGPT --- Clash/Provider/ChatGPT.yaml | 3 +++ Clash/Rule.yaml | 8 ++++++++ Surge/Surge 2/Rule.conf | 5 +++++ Surge/Surge 3/Provider/ChatGPT.list | 2 ++ Surge/Surge 3/Rule.conf | 2 ++ 5 files changed, 20 insertions(+) create mode 100644 Clash/Provider/ChatGPT.yaml create mode 100644 Surge/Surge 3/Provider/ChatGPT.list diff --git a/Clash/Provider/ChatGPT.yaml b/Clash/Provider/ChatGPT.yaml new file mode 100644 index 0000000..c47de5c --- /dev/null +++ b/Clash/Provider/ChatGPT.yaml @@ -0,0 +1,3 @@ +payload: + # > ChatGPT + - DOMAIN-SUFFIX,openai.com \ No newline at end of file diff --git a/Clash/Rule.yaml b/Clash/Rule.yaml index b079a9f..c5cf902 100644 --- a/Clash/Rule.yaml +++ b/Clash/Rule.yaml @@ -54,6 +54,7 @@ - RULE-SET,Speedtest,Speedtest - RULE-SET,PayPal,PayPal - RULE-SET,Microsoft,Microsoft +- RULE-SET,ChatGPT,ChatGPT - RULE-SET,Apple Music,Apple TV - RULE-SET,Apple News,Apple TV @@ -125,6 +126,7 @@ script: "Speedtest": "Speedtest", "PayPal": "PayPal", "Microsoft": "Microsoft", + "ChatGPT": "ChatGPT", "Apple Music": "Apple TV", "Apple News": "Apple TV", "Apple TV": "Apple TV", @@ -483,6 +485,12 @@ rule-providers: url: 'https://fastly.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Microsoft.yaml' path: ./Rules/Microsoft interval: 86400 + Microsoft: + type: http + behavior: classical + url: 'https://fastly.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/ChatGPT.yaml' + path: ./Rules/ChatGPT + interval: 86400 PROXY: type: http behavior: classical diff --git a/Surge/Surge 2/Rule.conf b/Surge/Surge 2/Rule.conf index 00289a3..11209f3 100644 --- a/Surge/Surge 2/Rule.conf +++ b/Surge/Surge 2/Rule.conf @@ -9028,6 +9028,11 @@ DOMAIN-SUFFIX,windows.net,Microsoft +# > ChatGPT +DOMAIN-SUFFIX,openai.com + + + # > TestFlight DOMAIN,testflight.apple.com,Proxy diff --git a/Surge/Surge 3/Provider/ChatGPT.list b/Surge/Surge 3/Provider/ChatGPT.list new file mode 100644 index 0000000..2684cda --- /dev/null +++ b/Surge/Surge 3/Provider/ChatGPT.list @@ -0,0 +1,2 @@ +# > ChatGPT +DOMAIN-SUFFIX,openai.com \ No newline at end of file diff --git a/Surge/Surge 3/Rule.conf b/Surge/Surge 3/Rule.conf index 4094afc..db97037 100644 --- a/Surge/Surge 3/Rule.conf +++ b/Surge/Surge 3/Rule.conf @@ -65,6 +65,8 @@ RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Scholar.list,Scholar +RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/ChatGPT.list,ChatGPT + RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Proxy.list,Proxy RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Domestic.list,Domestic