G4free / clash-ruleset

Clash rules for ChatGPT and others.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clash ruleset

How to use

doc: https://lancellc.gitbook.io/clash/clash-config-file/rule-provider

  • example:

copy and paste this to the rule-providers block of your clash config file.

  ChatGPT:
    type: http
    behavior: classical
    url: "https://raw.githubusercontent.com/G4free/clash-ruleset/main/ruleset/ChatGPT.yaml"
    path: ./ruleset/ChatGPT.yaml
    interval: 86400

then in the rules block:

  - RULE-SET,ChatGPT,Proxy

Mind the indent.

OtherAIChat.txt

It exists because some nodes of proxy providers have their specific policy for OpenAI, so ChatGPT can use more nodes than other AI chat domains.

ruleset list

  • ChatGPT

https://raw.githubusercontent.com/G4free/clash-ruleset/main/ruleset/ChatGPT.yaml