ไธชไบบไปฃ็ๅทฅๅ ท้ ็ฝฎๆไปถ้ๅ
Features โข Clash โข Surge โข Providers โข Sources
๐จ๐ณ ็ฎไฝไธญๆ | ๐บ๐ธ English
- ๐ High Performance - Optimized configurations for maximum speed
- ๐ฏ Smart Routing - Intelligent traffic splitting and regional selection
- ๐ก๏ธ Privacy Protection - Built-in ad blocking and tracker prevention
- ๐ Global Streaming - Netflix, Disney+, YouTube, TikTok unlock support
- ๐ค AI Services - Dedicated routing for ChatGPT, Claude, Gemini
- ๐ฑ Cross-Platform - Support for Clash, Surge, Stash, and more
- โก Auto Failover - Automatic URL testing for optimal node selection
- ๐ Easy Updates - Integrated subscription management
Self-Configuration/
โโโ Clash.yaml # Clash / Clash Meta configuration
โโโ README.md # Documentation
๐ถ Surge Configuration โ https://github.com/ClashConnectRules/Surge
Compatible Clients:
ClashยทClash for WindowsยทClash MetaยทStashยทFlClash
| Setting | Value | Description |
|---|---|---|
| Mixed Port | 7890 |
Shared HTTP/SOCKS5 port |
| Controller | 9090 |
Web dashboard port |
| Mode | Rule |
Rule-based routing mode |
| Allow LAN | true |
Allow LAN connections |
| IPv6 | true |
IPv6 support enabled |
| Enhanced Mode | Fake-IP |
Enhanced performance mode |
| Type | Server | Provider |
|---|---|---|
| DoT | tls://223.5.5.5:853 |
Alibaba DNS |
| DoT | tls://223.6.6.6:853 |
Alibaba DNS |
| DoH | https://doh.pub/dns-query |
DNSPod |
| DoH | https://dns.alidns.com/dns-query |
Alibaba DNS |
| Group | Type | Description |
|---|---|---|
| ่็น้ๆฉ | select |
Main entry point for policy selection |
| ๆๅจๅๆข | select |
Manual node selection |
| ่ชๅจ้ๆฉ | url-test |
Auto-select lowest latency node |
| Group | Filter Pattern | Region |
|---|---|---|
| ๐ญ๐ฐ Hong Kong | ๆธฏ|HK|Hong Kong |
Hong Kong SAR |
| ๐ฏ๐ต Japan | ๆฅ|JP|Japan |
Japan |
| ๐บ๐ธ United States | ็พ|US|United States |
USA |
| ๐ธ๐ฌ Singapore | ๆฐ|SG|Singapore |
Singapore |
| ๐น๐ผ Taiwan | ๅฐ|TW|Taiwan |
Taiwan |
| ๐ฐ๐ท Korea | ้ฉ|KR|Korea |
South Korea |
| ๐ฌ๐ง United Kingdom | ่ฑ|UK|United Kingdom |
UK |
| ๐ฉ๐ช Germany | ๅพท|DE|Germany |
Germany |
| ๐ซ๐ท France | ๆณ|FR|France |
France |
| ๐ Other Regions | Exclude above | Other regions |
| Group | Default | Purpose |
|---|---|---|
| ๐ค AIๆๅก | Proxy | ChatGPT, Claude, Gemini |
| ๐น YouTube | Proxy | YouTube videos |
| ๐ ่ฐทๆญๆๅก | Proxy | Google Search, Maps |
| ๐ง Google FCM | Proxy | Push notifications |
| Proxy | Messaging service | |
| ๐ Appleๆๅก | DIRECT | Apple services |
| DIRECT | Microsoft services | |
| ๐ ๅฝๅคๅชไฝ | Proxy | Netflix, Disney+, etc. |
| ๐ฏ ๅฝๅ ๆต้ | DIRECT | Mainland China sites |
| ๐ซง WeChat | DIRECT | WeChat messaging |
| ๐ซ ๅนฟๅๆฆๆช | REJECT | Ad blocking |
1. ๐ซ Ad Blocking โ REJECT
2. โก Special Rules โ DIRECT
3. ๐ค AI Services โ Proxy
4. ๐ฌ Streaming โ Proxy
5. ๐บ CN Media โ DIRECT
6. ๐ฌ Messaging โ Proxy
7. ๐ง Tech Services โ Auto
8. ๐ฐ Cryptocurrency โ Proxy
9. ๐ฎ Gaming โ Auto
10. ๐จ๐ณ CN Rules โ DIRECT
11. ๐ GeoIP CN โ DIRECT
12. ๐ Final Rule โ Proxy
Download Clash.yaml and import it to your client.
Replace the subscription URL in the configuration:
proxy-providers:
all-proxies:
type: http
url: "https://your-subscription-url"
interval: 3600
path: ./providers/all-proxies.yaml
health-check:
enable: true
interval: 600
url: http://www.gstatic.com/generate_204Enable the configuration and select your preferred nodes.
๐ Surge configuration has been moved to: ClashConnectRules/Surge
| Feature | Description |
|---|---|
| ๐ Smart Routing | Intelligent traffic splitting |
| ๐ก๏ธ Ad Blocking | Multi-source ad rules |
| ๐ Streaming Unlock | Netflix, Disney+, YouTube, TikTok |
| ๐ค AI Services | ChatGPT, Claude, Gemini dedicated routing |
| ๐ฑ Cross-Platform | iOS & macOS support |
When you have multiple subscription sources, you can integrate them as follows:
proxy-providers:
provider-1:
type: http
url: "https://subscription-1.com"
interval: 3600
path: ./providers/provider-1.yaml
health-check:
enable: true
interval: 600
url: http://www.gstatic.com/generate_204
provider-2:
type: http
url: "https://subscription-2.com"
interval: 3600
path: ./providers/provider-2.yaml
health-check:
enable: true
interval: 600
url: http://www.gstatic.com/generate_204proxy-groups:
# Auto-select fastest node from all providers
- name: "Auto"
type: url-test
use:
- provider-1
- provider-2
url: http://www.gstatic.com/generate_204
interval: 300
# Manual selection from all providers
- name: "Manual"
type: select
use:
- provider-1
- provider-2
# Regional groups with filter
- name: "Hong Kong"
type: url-test
use:
- provider-1
- provider-2
filter: "ๆธฏ|HK|Hong Kong"
url: http://www.gstatic.com/generate_204
interval: 300proxy-groups:
- name: "Load-Balance"
type: load-balance
use:
- provider-1
- provider-2
strategy: consistent-hashing # or round-robin
url: http://www.gstatic.com/generate_204| Parameter | Description |
|---|---|
use |
Specify which proxy providers to use |
filter |
Filter nodes by name (supports regex) |
url-test |
Auto-test latency and select fastest |
load-balance |
Distribute traffic across nodes |
select |
Manual selection mode |
๐ก Tip: Follow these practices for optimal performance
- Regional Grouping - Use
filterto group nodes by region - Smart Selection - Use
url-testfor automatic optimal node selection - Regular Updates - Set appropriate
intervalfor subscription updates - Health Check - Enable
health-checkto filter unavailable nodes - Backup Sources - Configure multiple subscriptions for higher availability
| Source | Description | Provider |
|---|---|---|
| [dler-io/Rules] | Main Clash ruleset | @dler-io |
| [blackmatrix7] | Cross-platform rules | @blackmatrix7 |
| [SukkaW/Surge] | SKK ruleset | @SukkaW |
| [VirgilClyne] | ASN rules | @VirgilClyne |
| [Semporia] | TikTok unlock | @Semporia |
| Item | Description |
|---|---|
| ๐ Subscription | Must replace with your own subscription URL |
| ๐ Rule Update | Rules auto-update every 7 days |
| โฑ๏ธ Speed Test | 300s interval, 3s timeout |
| ๐ MITM Certificate | Required for Surge URL rewrite |
| ๐ Node Filter | Auto-filter nodes with "traffic/reset/expire" keywords |
This project is licensed under the MIT License.
Made with โค๏ธ for a better internet experience