GitHub - oneclickvirt/speedtest: 就近节点测速模块
curl https://raw.githubusercontent.com/oneclickvirt/speedtest/main/dspt.sh -sSf | bash
curl https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt/speedtest/main/dspt.sh -sSf | bash
curl https://raw.githubusercontent.com/oneclickvirt/speedtest/main/spt_install.sh -sSf | bash
curl https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt/speedtest/main/spt_install.sh -sSf | bash
Usage: spt [options]
-e Enable logging
-h Show help information
-l string
Language parameter (options: en, zh) (default "zh")
-m string
Test Method parameter (options: origin, speedtest, speedtest-go) (default "speedtest")
-nearby
Test only nearby servers
-num int
Number of test servers, default -1 not to limit (default -1)
-opt string
Operator parameter (options: cmcc, cu, ct, sg, tw, jp, hk, global) (default "global")
-pf string
Platform parameter (options: net, cn) (default "net")
-s Show head (default true)
-v Show version information
rm -rf /root/spt
rm -rf /usr/bin/spt
go get github.com/oneclickvirt/speedtest@v0.0.11-20251102151740