Software Hub
sing-box p核介绍及配置分享:同步原版功能、支持clash UI与多种代理订阅
这个节点怎么给 节点 添加前缀或者后缀?
{
"experimental": {
"cache_file": {
"enabled": true,
"store_fakeip": true
},
"clash_api": {
"external_controller": "127.0.0.1:9091",
"external_ui": "./metacubexd",
"secret": "ksc666",
"external_ui_download_url": "https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip",
"external_ui_download_detour": "🌎 代理",
"default_mode": "rule"
}
},
{ 这行没用只是为了让下面空格正常
"log": {
"disabled": false,
"level": "error",
"output": "sing-box.log",
"timestamp": true
},
{
"dns": {
"servers": [
{
"tag": "dns_block",
"address": "rcode://success"
},
{
"tag": "remote",
"address": "fakeip"
},
{
"tag": "dns_direct",
"address": "https://223.5.5.5/dns-query",
"detour": "🇨🇳 国内直连"
},
{
"tag": "dns_proxy",
"address": "https://1.1.1.1/dns-query",
"detour": "🌎 代理"
}
],
"independent_cache": true,
"disable_cache": false,
"disable_expire": true,
"rules": [
{
"outbound": "any",
"server": "dns_direct"
},
{
"rule_set": "private",
"server": "dns_direct"
},
{
"query_type": [
"A",
"AAAA"
],
"server": "remote"
},
{
"rule_set": "category-ads-all",
"server": "dns_block"
},
{
"clash_mode": "direct",
"server": "dns_direct"
},
{
"clash_mode": "Global",
"server": "dns_proxy"
},
{
"rule_set": "cn",
"server": "dns_direct"
}
],
"final": "dns_proxy",
"strategy": "prefer_ipv4",
"fakeip": {
"enabled": true,
"inet4_range": "198.18.0.0/15",
"inet6_range": "fc00::/18"
}
},
{
"inbounds": [
{
"type": "mixed",
"tag": "mixed-in",
"listen": "::",
"listen_port": 1080,
"sniff": true,
"domain_strategy": "prefer_ipv4"
},
{
"type": "tproxy",
"tag": "tproxy-in",
"listen": "::",
"listen_port": 1536,
"sniff": true
}
],
{
"outbounds": [
{
"tag": "🚫 广告拦截",
"type": "block"
},
{
"tag": "🇨🇳 国内直连",
"type": "direct"
},
{
"tag": "🌐 DNS劫持",
"type": "dns"
},
{
"tag": "🚀 手动选择",
"type": "selector",
"outbounds": [
"♻️ 自动选择",
"🇨🇳 国内直连",
"🚫 广告拦截",
"🇭🇰 香港节点",
"🇹🇼 台湾节点",
"🇯🇵 日本节点",
"🇸🇬 新加坡节点",
"🇰🇷 韩国自动",
"🇺🇸 美国节点",
"🌎 其它地区"
],
"default": "♻️ 自动选择"
},
{
"tag": "♻️ 自动选择",
"type": "urltest",
"use_all_providers": true,
"url": "http://www.gstatic.com/generate_204",
"interval": "30m",
"tolerance": 10
},
{
"tag": "🇬 Google",
"type": "selector",
"outbounds": [
"🚀 手动选择",
"♻️ 自动选择",
"🇨🇳 国内直连",
"🚫 广告拦截",
"🇭🇰 香港节点",
"🇹🇼 台湾节点",
"🇯🇵 日本节点",
"🇸🇬 新加坡节点",
"🇰🇷 韩国自动",
"🇺🇸 美国节点",
"🌎 其它地区"
],
"default": "♻️ 自动选择"
},
{
"tag": "🌎 代理",
"type": "selector",
"outbounds": [
"🚀 手动选择",
"♻️ 自动选择",
"🇨🇳 国内直连",
"🚫 广告拦截",
"🇭🇰 香港节点",
"🇹🇼 台湾节点",
"🇯🇵 日本节点",
"🇸🇬 新加坡节点",
"🇰🇷 韩国自动",
"🇺🇸 美国节点",
"🌎 其它地区"
],
"default": "♻️ 自动选择"
},
{
"tag": "🐟 漏网之鱼",
"type": "selector",
"outbounds": [
"🚀 手动选择",
"♻️ 自动选择",
"🇨🇳 国内直连",
"🚫 广告拦截",
"🇭🇰 香港节点",
"🇹🇼 台湾节点",
"🇯🇵 日本节点",
"🇸🇬 新加坡节点",
"🇰🇷 韩国自动",
"🇺🇸 美国节点",
"🌎 其它地区"
],
"default": "♻️ 自动选择"
},
{
"tag": "🇭🇰 香港节点",
"type": "urltest",
"url": "https://cp.cloudflare.com",
"tolerance": 10,
"use_all_providers": true,
"includes": "(?i)🇭🇰|港|hk|hongkong|hong kong"
},
{
"tag": "🇹🇼 台湾节点",
"type": "urltest",
"url": "https://cp.cloudflare.com",
"tolerance": 10,
"use_all_providers": true,
"includes": "(?i)🇹🇼|台|tw|taiwan|tai"
},
{
"tag": "🇰🇷 韩国自动",
"type": "urltest",
"url": "https://cp.cloudflare.com",
"tolerance": 10,
"use_all_providers": true,
"includes": "(?i)🇰🇷|韩|kr|korea"
},
{
"tag": "🇯🇵 日本节点",
"type": "urltest",
"url": "https://cp.cloudflare.com",
"tolerance": 10,
"use_all_providers": true,
"includes": "(?i)🇯🇵|日|jp|japan"
},
{
"tag": "🇸🇬 新加坡节点",
"type": "urltest",
"url": "https://cp.cloudflare.com",
"tolerance": 10,
"use_all_providers": true,
"includes": "(?i)🇸🇬|新加坡|sg|singapore"
},
{
"tag": "🇺🇸 美国节点",
"type": "urltest",
"url": "https://cp.cloudflare.com",
"tolerance": 10,
"use_all_providers": true,
"includes": "(?i)(?=.*🇺🇸|美|us|unitedstates|united states)(?!.*ru)"
},
{
"tag": "🌎 其它地区",
"type": "urltest",
"url": "https://cp.cloudflare.com",
"tolerance": 10,
"use_all_providers": true,
"excludes": "(?i)(?=.*🇭🇰|港|hk|hongkong|hong kong)|(?=.*🇹🇼|台|tw|tai)|(?=.*🇰🇷|韩|kr|korea)|(?=.*🇯🇵|日|jp|japan)|(?=.*🇸🇬|新加坡|sg|singapore)|(?=.*🇺🇸|美|us|unitedstates|united states)(?!.*ru)"
}
],
"outbound_providers": [
{
"tag": "淘气兔",
"type": "remote",
"download_url": "订阅",
"download_interval": "24h",
"download_ua": "sing-box",
"download_detour": "🌎 代理",
"path": "./providers/淘气兔.yaml",
"excludes": "套餐|流量|群组|频道|官网|推荐使用|测试|电报"
}
],
{
"route": {
"rules": [
{
"type": "logical",
"mode": "or",
"rules": [
{
"port": 53
},
{
"protocol": "dns"
}
],
"outbound": "🌐 DNS劫持"
},
{
"clash_mode": "direct",
"outbound": "🇨🇳 国内直连"
},
{
"clash_mode": "Global",
"outbound": "♻️ 自动选择"
},
{
"rule_set": "category-ads-all",
"outbound": "🚫 广告拦截"
},
{
"rule_set": [
"google",
"google_ip"
],
"outbound": "🇬 Google"
},
{
"rule_set": "geolocation-!cn",
"outbound": "🌎 代理"
},
{
"rule_set": "private_ip",
"outbound": "🇨🇳 国内直连",
"skip_resolve": true
},
{
"rule_set": [
"cn",
"cn_ip",
"private"
],
"outbound": "🇨🇳 国内直连"
}
],
"concurrent_dial": true,
"find_process": true,
"auto_detect_interface": true,
"override_android_vpn": false,
"final": "🐟 漏网之鱼",
"rule_set": [
{
"tag": "google",
"type": "remote",
"format": "binary",
"path": "./rule_set/google.mrs",
"url": "https://github.com/SagerNet/sing-geosite/raw/refs/heads/rule-set/geosite-google.srs",
"download_detour": "🌎 代理",
"update_interval": "24h"
},
{
"tag": "geolocation-!cn",
"type": "remote",
"format": "binary",
"path": "./rule_set/geolocation-!cn.mrs",
"url": "https://github.com/SagerNet/sing-geosite/raw/refs/heads/rule-set/geosite-geolocation-!cn.srs",
"download_detour": "🌎 代理",
"update_interval": "24h"
},
{
"tag": "private",
"type": "remote",
"format": "binary",
"path": "./rule_set/private.mrs",
"url": "https://github.com/SagerNet/sing-geosite/raw/refs/heads/rule-set/geosite-private.srs",
"download_detour": "🌎 代理",
"update_interval": "24h"
},
{
"tag": "cn",
"type": "remote",
"format": "binary",
"path": "./rule_set/cn.mrs",
"url": "https://github.com/SagerNet/sing-geosite/raw/refs/heads/rule-set/geosite-cn.srs",
"download_detour": "🌎 代理",
"update_interval": "24h"
},
{
"tag": "google_ip",
"type": "remote",
"format": "binary",
"path": "./rule_set/google_ip.mrs",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/google.srs",
"download_detour": "🌎 代理",
"update_interval": "24h"
},
{
"tag": "private_ip",
"type": "remote",
"format": "binary",
"path": "./rule_set/private_ip.mrs",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/private.srs",
"download_detour": "🌎 代理",
"update_interval": "24h"
},
{
"tag": "cn_ip",
"type": "remote",
"format": "binary",
"path": "./rule_set/cn_ip.mrs",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/cn.srs",
"download_detour": "🌎 代理",
"update_interval": "24h"
}
]
}
}
DisplayCalibration.zip
6.4 KB
Display Calibration
Enhance Display Calibration for universal Android devices (this module using surfaceflinger, so u can change the value manually from 1.0 - 1.5).
Tested on
Android 11 - MIUI 12.5
Android 12 - MIUI 13
Android 13 - MIUI 14
Android 14 - HyperOS 1.0
#Magisk模块
Enhance Display Calibration for universal Android devices (this module using surfaceflinger, so u can change the value manually from 1.0 - 1.5).
Tested on
Android 11 - MIUI 12.5
Android 12 - MIUI 13
Android 13 - MIUI 14
Android 14 - HyperOS 1.0
#Magisk模块
PlayIntegrityFix_v18.0.zip
234.3 KB
Module won't delete ro.build.selinux prop, if you can't pass attestation, you can try deleting it
manually.
More info here: #470
Update fingerprint to latest oriole (Pixel 6) beta rom
Remove auto conflict apps (cause bootloops, just remove them manually)
Improve Zygisk check
Upgrade Gradle, AGP and CMake
Enable LTO for Zygisk lib
#Magisk模块 #PlayIntegrityFix
manually.
More info here: #470
Update fingerprint to latest oriole (Pixel 6) beta rom
Remove auto conflict apps (cause bootloops, just remove them manually)
Improve Zygisk check
Upgrade Gradle, AGP and CMake
Enable LTO for Zygisk lib
#Magisk模块 #PlayIntegrityFix