https://github.com/camera-2018/clash-rules
https://github.com/camera-2018/clash-rules
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/camera-2018/clash-rules
- Owner: camera-2018
- License: mit
- Created: 2025-02-11T19:00:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-10-15T11:47:05.000Z (8 months ago)
- Last Synced: 2025-10-16T04:58:30.414Z (8 months ago)
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# my rules
```yaml
rule-providers:
custom:
type: http
behavior: domain
url: "https://gh.dn11.top/https://raw.githubusercontent.com/camera-2018/clash-rules/release/proxy.txt"
path: ./ruleset/custom.yaml
interval: 86400
pt:
type: http
behavior: domain
url: "https://gh.dn11.top/https://raw.githubusercontent.com/camera-2018/clash-rules/release/pt.txt"
path: ./ruleset/pt.yaml
interval: 86400
reject:
type: http
behavior: domain
url: "https://gh.dn11.top/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/reject.txt"
path: ./ruleset/reject.yaml
interval: 86400
icloud:
type: http
behavior: domain
url: "https://gh.dn11.top/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/icloud.txt"
path: ./ruleset/icloud.yaml
interval: 86400
apple:
type: http
behavior: domain
url: "https://gh.dn11.top/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/apple.txt"
path: ./ruleset/apple.yaml
interval: 86400
google:
type: http
behavior: domain
url: "https://gh.dn11.top/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/google.txt"
path: ./ruleset/google.yaml
interval: 86400
proxy:
type: http
behavior: domain
url: "https://gh.dn11.top/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/proxy.txt"
path: ./ruleset/proxy.yaml
interval: 86400
direct:
type: http
behavior: domain
url: "https://gh.dn11.top/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/direct.txt"
path: ./ruleset/direct.yaml
interval: 86400
private:
type: http
behavior: domain
url: "https://gh.dn11.top/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/private.txt"
path: ./ruleset/private.yaml
interval: 86400
gfw:
type: http
behavior: domain
url: "https://gh.dn11.top/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/gfw.txt"
path: ./ruleset/gfw.yaml
interval: 86400
telegramcidr:
type: http
behavior: ipcidr
url: "https://gh.dn11.top/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/telegramcidr.txt"
path: ./ruleset/telegramcidr.yaml
interval: 86400
cncidr:
type: http
behavior: ipcidr
url: "https://gh.dn11.top/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/cncidr.txt"
path: ./ruleset/cncidr.yaml
interval: 86400
lancidr:
type: http
behavior: ipcidr
url: "https://gh.dn11.top/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/lancidr.txt"
path: ./ruleset/lancidr.yaml
interval: 86400
greatfire:
type: http
behavior: domain
url: "https://gh.dn11.top/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/greatfire.txt"
path: ./ruleset/greatfire.yaml
interval: 86400
applications:
type: http
behavior: classical
url: "https://gh.dn11.top/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/applications.txt"
path: ./ruleset/applications.yaml
interval: 86400
rules:
- DOMAIN,clash.razord.top,DIRECT
- DOMAIN,yacd.haishan.me,DIRECT
- RULE-SET,reject,REJECT
- IP-CIDR,8.8.8.8/32,PROXY
- IP-CIDR,1.1.1.1/32,PROXY
- RULE-SET,custom,PROXY
- RULE-SET,pt,PROXY
- RULE-SET,telegramcidr,PROXY
- RULE-SET,icloud,DIRECT
- RULE-SET,apple,DIRECT
- RULE-SET,google,DIRECT
- RULE-SET,gfw,PROXY
- RULE-SET,greatfire,PROXY
- RULE-SET,direct,DIRECT
- RULE-SET,proxy,PROXY
- RULE-SET,applications,DIRECT
- RULE-SET,private,DIRECT
- RULE-SET,lancidr,DIRECT
- RULE-SET,cncidr,DIRECT
- GEOIP,LAN,DIRECT
- GEOIP,CN,DIRECT
- MATCH,Unmached
```