An open API service indexing awesome lists of open source software.

https://github.com/camera-2018/clash-rules


https://github.com/camera-2018/clash-rules

Last synced: 5 months ago
JSON representation

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
```