Clash templates

// config-template.mjs

 ---
"allow-lan": true
"dns":
  "default-nameserver":
  - "tls://223.5.5.5"
  - "tls://223.6.6.6"
  "enable": true
  "enhanced-mode": "fake-ip"
  "fake-ip-filter":
  - "*"
  - "+.lan"
  - "+.local"
  - "+.market.xiaomi.com"
  - "+.cqttech.com"
  "ipv6": true
  "nameserver":
  - "https://doh.pub/dns-query"
  - "https://dns.alidns.com/dns-query"
"external-controller": "192.168.1.1:9090"
"external-ui": "ui"
"external-ui-name": "yacd"
"external-ui-url": "https://github.com/MetaCubeX/Yacd-meta/archive/refs/heads/gh-pages.zip"
"find-process-mode": "strict"
"geo-auto-update": true
"geo-update-interval": 24
"geodata-loader": "standard"
"geodata-mode": true
"geox-url":
  "asn": "https://github.com/xishang0128/geoip/releases/download/latest/GeoLite2-ASN.mmdb"
  "geoip": "https://github.com/xishang0128/geoip/releases/download/latest/geoip.dat"
  "geosite": "https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat"
  "mmdb": "https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/country-lite.mmdb"
"global-client-fingerprint": "chrome"
"ipv6": true
"log-level": "warning"
"mixed-port": 7890
"port": 7888
"profile":
  "store-fake-ip": true
  "store-selected": true
"proxies":
- "name": "直连"
  "type": "direct"
  "udp": true
"proxy-groups":
- "name": "默认"
  "proxies":
  - "自动选择"
  - "AI自动"
  - "直连"
  "type": "select"
  "use":
  - "ProviderA"
- "name": "Google"
  "proxies":
  - "美国"
  - "自动选择"
  - "AI自动"
  - "默认"
  - "直连"
  "type": "select"
  "use":
  - "ProviderA"
- "name": "OpenAI"
  "proxies":
  - "AI自动"
  - "美国"
  - "自动选择"
  - "直连"
  "type": "select"
  "use":
  - "ProviderA"
- "name": "Telegram"
  "proxies":
  - "美国"
  - "自动选择"
  - "默认"
  - "AI自动"
  - "直连"
  "type": "select"
  "use":
  - "ProviderA"
- "name": "Twitter"
  "proxies":
  - "美国"
  - "自动选择"
  - "默认"
  - "AI自动"
  - "直连"
  "type": "select"
  "use":
  - "ProviderA"
- "name": "哔哩哔哩"
  "proxies":
  - "直连"
  - "默认"
  - "自动选择"
  - "AI自动"
  "type": "select"
  "use":
  - "ProviderA"
- "name": "巴哈姆特"
  "proxies":
  - "美国"
  - "自动选择"
  - "默认"
  - "AI自动"
  - "直连"
  "type": "select"
  "use":
  - "ProviderA"
- "name": "YouTube"
  "proxies":
  - "自动选择"
  - "美国"
  - "默认"
  - "AI自动"
  - "直连"
  "type": "select"
  "use":
  - "ProviderA"
- "name": "NETFLIX"
  "proxies":
  - "美国"
  - "自动选择"
  - "默认"
  - "AI自动"
  - "直连"
  "type": "select"
  "use":
  - "ProviderA"
- "name": "Spotify"
  "proxies":
  - "美国"
  - "自动选择"
  - "默认"
  - "AI自动"
  - "直连"
  "type": "select"
  "use":
  - "ProviderA"
- "name": "Github"
  "proxies":
  - "美国"
  - "自动选择"
  - "默认"
  - "AI自动"
  - "直连"
  "type": "select"
  "use":
  - "ProviderA"
- "name": "国内"
  "proxies":
  - "直连"
  - "默认"
  - "自动选择"
  - "AI自动"
  "type": "select"
- "name": "其他"
  "proxies":
  - "美国"
  - "自动选择"
  - "默认"
  - "AI自动"
  - "直连"
  "type": "select"
  "use":
  - "ProviderA"
- "exclude-type": "direct"
  "filter": "(?=.*(TW|PRIVATE))^((?!(VPS)).)*$"
  "include-all": true
  "interval": 180
  "name": "台湾"
  "tolerance": 50
  "type": "fallback"
- "exclude-type": "direct"
  "filter": "(?=.*(US))^((?!(VPS)).)*$"
  "include-all": true
  "interval": 180
  "name": "美国"
  "tolerance": 50
  "type": "fallback"
- "filter": "(?i)VPS"
  "interval": 300
  "name": "AI自动"
  "tolerance": 50
  "type": "fallback"
  "url": "https://www.gstatic.com/generate_204"
  "use":
  - "ProviderA"
- "exclude-type": "direct"
  "filter": "(?i)^(?!.*(VPS)).*$"
  "include-all": true
  "name": "自动选择"
  "tolerance": 10
  "type": "url-test"
"proxy-providers":
  "ProviderA":
    "health-check":
      "enable": true
      "interval": 1200
      "url": "https://www.gstatic.com/generate_204"
    "interval": 300
    "path": "./providers/ProviderA.yaml"
    "type": "http"
    "url": "http://127.0.0.1:3001/providers/proxies.yaml"
"rules":
- "GEOIP,lan,直连,no-resolve"
- "DOMAIN-SUFFIX,4gtv.tv,台湾"
- "GEOSITE,github,Github"
- "GEOSITE,twitter,Twitter"
- "GEOSITE,youtube,YouTube"
- "GEOSITE,google,Google"
- "GEOSITE,openai,OpenAI"
- "GEOSITE,telegram,Telegram"
- "GEOSITE,netflix,NETFLIX"
- "GEOSITE,bilibili,哔哩哔哩"
- "GEOSITE,bahamut,巴哈姆特"
- "GEOSITE,spotify,Spotify"
- "GEOSITE,CN,直连"
- "GEOSITE,geolocation-!cn,其他"
- "GEOIP,google,Google"
- "GEOIP,netflix,NETFLIX"
- "GEOIP,telegram,Telegram"
- "GEOIP,twitter,Twitter"
- "GEOIP,CN,直连"
- "MATCH,其他"
"secret": "12345678"
"sniffer":
  "enable": true
  "skip-domain":
  - "Mijia Cloud"
  - "+.push.apple.com"
  "sniff":
    "HTTP":
      "override-destination": true
      "ports":
      - 80
      - "8080-8880"
    "QUIC":
      "ports":
      - 443
      - 8443
    "TLS":
      "ports":
      - 443
      - 8443
"socks-port": 7889
"tcp-concurrent": true
"tun":
  "auto-detect-interface": true
  "auto-redirect": true
  "auto-route": true
  "dns-hijack":
  - "any:53"
  - "tcp://any:53"
  "enable": true
  "stack": "mixed"
"unified-delay": true
"unify_delay": true

No Comments

Send Comment Edit Comment


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
Previous