折腾啥 头像

消息来源频道

折腾啥

@zhetengsha

频道40,410 位成员公开可见0 人在线

Power Users/Automators 折腾/讨论/分享各种开源工具/脚本/自动化工作流 👥 群组 @zhetengsha_group 📌 资源合集导航 https://t.me/zhetengsha/2 🎁 恰饭推荐 https://t.me/zhetengsha/957 📢 广告投放 @xream Buy ads: https://telega.io/c/zhetengsha feedId:55438372655431680+userId:62307599601855488

成员规模40,410 位成员
在线情况0 人在线
消息总数4,340 条消息
浏览量总数7,753,402 次浏览

在这个频道里搜索消息……

t.me/zhetengsha

Sub-Store 的节点测活脚本(完善版)
支持以下环境:
1. Loon 和 Surge
2. Node.js 版(需要 HTTP META 配合)
HTTP META 本体
Android 也可本地使用 配合 Android 本地版 Sub-Store
▎使用
🌝 参数一般不用加 这里仅做一个示范
具体说明可查看脚本内容
常用参数 timeout 可适当调小, keep_incompatible 保留当前客户端不兼容的协议, show_latency 节点名称加上延迟
url 需要 encodeURIComponent. 默认 http://connectivitycheck.platform.hicloud.com/generate_204
status 合法的状态码的表达式. 需要 encodeURIComponent . 默认 204
举例, 如需使用 http://223.6.6.6 状态码 404: url=http%3A%2F%2F223.6.6.6&status=404
在 节点操作 - 脚本操作 中 选择 链接
然后按需填入链接内容
1. Loon 和 Surge:
https://raw.githubusercontent.com/xream/scripts/main/surge/modules/sub-store-scripts/check/availability.js#show_latency=true&keep_incompatible=true&status=204&url=http%3A%2F%2Fconnectivitycheck.platform.hicloud.com%2Fgenerate_204&timeout=1000&retries=1&retry_delay=1000&concurrency=10
2. Node.js 版(需要 HTTP META 配合):
https://raw.githubusercontent.com/xream/scripts/main/surge/modules/sub-store-scripts/check/http_meta_availability.js#show_latency=true&keep_incompatible=true&status=204&url=http%3A%2F%2Fconnectivitycheck.platform.hicloud.com%2Fgenerate_204&timeout=1000&retries=1&retry_delay=1000&concurrency=10&http_meta_protocol=http&http_meta_host=127.0.0.1&http_meta_port=9876&http_meta_start_delay=3000&http_meta_proxy_timeout=10000
🤭 Sub-Store 合集 🧐 频道资源合集 😄 恰饭推荐 💬 群组
🥰 #Sub-Store #SubStore #脚本 #节点 #订阅 #测活 #节点测活 #节点延迟 #延迟 #检测 #check #HTTP-META #HTTPMETA #Meta #Clash #脚本 #Node #服务器 #VPS