Skip to content

Commit ed9a382

Browse files
committed
添加bat以支持同步yacd
1 parent 722bb3b commit ed9a382

4 files changed

Lines changed: 51 additions & 29 deletions

File tree

clash.exe

44 KB
Binary file not shown.

config.yaml.example

Lines changed: 40 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#Clash Meta 模板
2-
#时间:2023.4.2
3-
#只需要在149,154,159行填入机场订阅链接即可,如果有更多机场自行添加
2+
#时间:2023.4.18
3+
#只需要在145行开始填入机场订阅链接即可,如果有更多机场自行添加
44
#如果修改了名字记得把其他地方的名字也一并修改
5-
#Tips:请自行修改183行开始的地区正则过滤
5+
#Tips:请自行修改地区策略组的正则过滤
66
#参考:
77
#香港:(?i)港|hk|hongkong|kong kong|🇭🇰
88
#台湾:(?i)台|tw|taiwan
@@ -23,11 +23,11 @@ global-client-fingerprint: chrome
2323
geox-url:
2424
mmdb: "https://ghproxy.wushidi.gay/https://github.com/kogekiplay/geoip/releases/download/latest/Country.mmdb"
2525
geoip: "https://ghproxy.wushidi.gay/https://github.com/kogekiplay/clash-rules-dat/releases/download/latest/geoip.dat"
26-
geosite: "https://ghproxy.wushidi.gay/https://github.com/kogekiplay/clash-rules-dat/releases/download/latest/geosite.dat"
26+
geosite: "https://ghproxy.wushidi.gay/https://github.com/kogekiplay/clash-rules-dat/releases/download/latest/geosite-lite.dat"
2727

2828
# Meta 域名嗅探
2929
sniffer:
30-
enable: true
30+
enable: false
3131
sniff:
3232
TLS:
3333
ports: [443, 8443]
@@ -48,7 +48,6 @@ sniffer:
4848
hosts:
4949
'time.android.com': 203.107.6.88
5050
'time.facebook.com': 203.107.6.88
51-
'localhost': 127.0.0.1
5251

5352
# Tun Mode
5453
tun:
@@ -87,16 +86,15 @@ dns:
8786
- '+.lan'
8887
default-nameserver:
8988
- 223.5.5.5
90-
- 127.0.0.1:53
9189
nameserver:
92-
- 'https://8.8.8.8/dns-query#🔬 Dns Proxy'
93-
- 'https://1.1.1.1/dns-query#🔬 Dns Proxy'
90+
- 'tls://8.8.4.4#🔬 Dns Proxy'
91+
- 'tls://1.0.0.1#🔬 Dns Proxy'
9492
proxy-server-nameserver:
95-
- https://dns.alidns.com/dns-query
93+
- tls://223.5.5.5
9694
nameserver-policy:
97-
"geosite:cn,private":
98-
- https://doh.pub/dns-query
99-
- https://dns.alidns.com/dns-query
95+
"geosite:cn,lan":
96+
- tls://223.5.5.5
97+
- tls://1.12.12.12
10098

10199
proxies:
102100
#锚点
@@ -106,7 +104,7 @@ p: &p
106104
health-check:
107105
enable: true
108106
url: http://cp.cloudflare.com/
109-
interval: 300
107+
interval: 600
110108

111109
#改下面代理提供商的名字的话,这里面的名字也需要一并修改
112110
u: &u
@@ -115,13 +113,16 @@ u: &u
115113
- Nexitally
116114
- Other
117115
- 自建
116+
- WARP
117+
- BESTVPN
118118

119119
nex: &nex
120120
type: url-test
121121
use:
122122
- Nexitally
123+
- BESTVPN
123124
url: "https://cp.cloudflare.com/"
124-
interval: 300
125+
interval: 600
125126

126127
pr: &pr
127128
type: select
@@ -154,6 +155,16 @@ proxy-providers:
154155
url: ""
155156
path: ./proxy_providers/3.yaml
156157

158+
WARP:
159+
<<: *p
160+
url: ""
161+
path: ./proxy_providers/4.yaml
162+
163+
BESTVPN:
164+
<<: *p
165+
url: ""
166+
path: ./proxy_providers/5.yaml
167+
157168
proxy-groups:
158169

159170
- name: 🏳️‍⚧️ Proxy
@@ -183,31 +194,31 @@ proxy-groups:
183194

184195
#分隔,下面是地区分组
185196
- name: ✨ Auto
186-
filter: "HK|TW|JP"
197+
filter: "🇭🇰|🇨🇳|🇯🇵"
187198
<<: *nex
188199

189200
- name: 🇭🇰 Hong Kong
190-
filter: "HK"
201+
filter: "🇭🇰|香港"
191202
<<: *nex
192203

193204
- name: 🇨🇳 Taiwan
194-
filter: "TW"
205+
filter: "🇨🇳|台湾"
195206
<<: *nex
196207

197208
- name: 🇯🇵 Japan
198-
filter: "JP"
209+
filter: "🇯🇵|日本"
199210
<<: *nex
200211

201212
- name: 🇺🇸 United States
202-
filter: "US"
213+
filter: "🇺🇸|美国"
203214
<<: *nex
204215

205216
- name: 🇸🇬 Singapore
206-
filter: "SG"
217+
filter: "🇸🇬|新加坡"
207218
<<: *nex
208219

209220
- name: 🫧 Global Region
210-
filter: "^(?!.*(?:HK|JP|TW|US|SG)).*"
221+
filter: "^(?!.*(?:🇭🇰|🇨🇳|🇯🇵|🇺🇸|🇸🇬|香港|台湾|日本|美国|新加坡)).*"
211222
<<: *u
212223

213224
- name: 🪄 Select
@@ -231,15 +242,16 @@ rules:
231242
- GEOSITE,netflix,🏙️ Stream
232243
- GEOSITE,bahamut,🏙️ Stream
233244
- GEOSITE,bing,🏳️‍⚧️ Proxy
234-
- GEOSITE,category-media,🏳️‍⚧️ Proxy
235-
- GEOIP,telegram,💭 Chat
245+
- GEOSITE,kogeki-!cn,🏳️‍⚧️ Proxy
236246
- GEOIP,youtube,🏙️ Stream
237247
- GEOIP,netflix,🏙️ Stream
248+
- GEOIP,telegram,💭 Chat
249+
- GEOSITE,proxy,🏳️‍⚧️ Proxy
238250
- GEOSITE,onedrive,DIRECT
239-
- GEOSITE,steam@cn,DIRECT
240-
- GEOSITE,private,DIRECT
241-
- GEOIP,private,DIRECT,no-resolve
251+
- GEOSITE,steamcn,DIRECT
242252
- GEOSITE,kogeki-cn,DIRECT
253+
- GEOSITE,lan,DIRECT
254+
- GEOIP,private,DIRECT,no-resolve
243255
- GEOSITE,cn,DIRECT
244256
- GEOIP,CN,DIRECT
245-
- MATCH,🏳️‍⚧️ Proxy
257+
- MATCH,🏳️‍⚧️ Proxy

更新yacd.bat

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@echo off
2+
echo "-------------------------------------------"
3+
echo "ź´˝ŤÍʞ˝yacd"
4+
echo "-------------------------------------------"
5+
timeout /nobreak /t 2
6+
git submodule update --remote
7+
echo "-------------------------------------------"
8+
echo "¸üĐÂÍęłÉ"
9+
echo "-------------------------------------------"
10+
timeout /t 2

0 commit comments

Comments
 (0)