{"repo":"spiritLHLS/ecsspeed","free":true,"listed":false,"github":"https://github.com/spiritLHLS/ecsspeed","clone":"git clone https://github.com/spiritLHLS/ecsspeed.git","description":"自动更新测试服务器节点列表的网络基准测试脚本(Network benchmarking script that automatically updates the list of the measurement server nodes)","language":"Shell","stars":205,"topics":["speedtest","speedtest-cli","speedtest-net","speedtest-cn","speedtest-go","bash","shell","speed-test"],"license":"MIT","category":"cli-tools","readme_excerpt":"ecsspeed 自动更新测速服务器节点列表的网络基准测试脚本 Network benchmarking script that automatically updates the list of speed measurement server nodes 说明 所有组件以及数据均来源于平台或已有的开源项目，无非开源部分，放心食用 对应 speedtest.net 的自动更新测速服务器ID的测速脚本 日常推荐使用 或 或国内用 支持测速的架构：i386, x86 64, amd64, arm64, s390x, riscv64, ppc64le, ppc64 涵盖中国三大运营商、香港、台湾的测速节点，默认的三网测速每个运营商选择本机ping值最低的两个节点测速，详情三网测速才是全测，节点列表大概每7天自动更新一次。 支持国内服务器测试(有判断是否为国内机器)，但由于国内服务器带宽过小，会很慢，详见初次运行的显示 默认使用 speedtest-go 测速，并在运行时自动检测版本和校验下载文件 对应 speedtest.cn 的自动更新测速服务器ID的测速脚本 单线程测速 或 或国内用 支持测速的架构：i386, x86 64, amd64, arm64, s390x, riscv64, ppc64le, ppc64 涵盖中国三大运营商、香港、台湾的测速节点，默认的三网测速每个运营商选择本机ping值最低的两个节点测速，详情三网测速才是全测，节点列表每天自动更新一次。 支持国内服务器测试(有判断是否为国内机器)，但由于国内服务器带宽过小，会很慢，详见初次运行的显示 使用 speedtest.cn 节点列表中的 pingUrl 、 downloadUrl 、 uploadUrl 直接完成延迟、下载和上传测试。 自动更新测试服务器列表的三网延迟测试脚本 平均耗时10 15秒 或 或国内用 效果图 功能 - [x] 自动抓取 speedtest.cn 节点信息结合已有信息去重并更新列表数据 - [x] 自动抓取 speedtest.net 节点信息结合已有信息去重并更新列表数据 - [x] 对应 speedtest.net 的自动更新测速服务器列表的测速脚本 - [x] 对应 speedtest.cn 的自动更新测速服务器列表的测速脚本 - [x] 自动更新测试服务器列表的三网Ping值测试脚本 通用参数 三个入口脚本均支持 sh 和 bash ，会优先使用 curl ，不可用时回退到 wget 。非 root 环境不会直接退出，缺失依赖无法自动安装时会降级提示。 常用参数： - -t, --type N ：非交互选择测速类型， 1 为三网就近节点， 2 为三网全部节点， 3 到 9 为指定运营商或地区。 - -json, --json ：以 JSON 导出结果，可配合 --json-file FILE 写入文件。 - -log, --log [FILE] ：记录运行日志，未指定文件时写入工作目录。 - -c, --config FILE ：读取配置文件，可配置 TIMEOUT 、 RETRIES 、 PING CONCURRENCY 、 CDN URLS 、 SPEEDTEST GO VERSION 等。 - --work-dir DIR ：指定测速二进制、日志和缓存目录。 - --no-precheck ：跳过测速前节点连通性预检。 ecsspeed-net 默认使用 speedtest-go，运行时检测最新版本并通过官方 checksums.txt","default_branch":null,"files":null,"tree":[],"storefront":"/r/spiritLHLS","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spiritLHLS/ecsspeed/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}