Yet another unofficial speedtest.net client cli interface
It supports the new (undocumented) raw TCP protocol for better accuracy. Based on taganaka's good work at https://github.com/taganaka/SpeedTest
-
Automatic server selection, unless manual selection desired or best server discovery based on speed and distance from you is wanted.
-
Automatic profile, unless unavailable or not desired, in that case; Line type discovery to select the best test profile based on your line speed.
-
Aggressive multi-threading program in order to saturate your bandwidth quickly.
-
Test supported: Ping / Jitter / Download speed / Upload speed / Packet loss (UDP).
-
Provide a URL to the speedtest.net share results image using option --share
- A modern C++ compiler
- make
- libcurl
$ make
to build statically linked, provide SPEEDTEST_LINK_SHARED=yes
environment variable for make.
$ SPEEDTEST_LINK_SHARED=yes make
Built default targets are static and shared library, speedtest cli program and minitest. Install process is manual, where you copy shared library to your shared library path with necessary symlinks unless you built static targets. Next copy provided binaries to your bin path.
$ ./speedtest --help
SpeedTest++ version 1.20.0
Speedtest.net command line interface
Info: https://github.com/oskarirauta/speedtestcpp
Author: Francesco Laurita <[email protected]>
Co-authored-by: Oskari Rauta <[email protected]>
Usage: ./SpeedTest [--latency] [--quality] [--download] [--upload] [--share] [--help]
[--test-server host:port] [--output verbose|text|json]
optional arguments:
--help Show this message and exit
--list-servers Show list of servers
--latency Perform latency test only
--download Perform download test only. It includes latency test
--upload Perform upload test only. It includes latency test
--share Generate and provide a URL to the speedtest.net share results image
--insecure Skip SSL certificate verify (Useful for Embedded devices)
--test-server host:port Run speed test against a specific server
--force-by-latency-test Always select server based on local latency test
--output verbose|text|json Set output type. Default: verbose
$
SpeedTest++ is available as open source program under the terms of the MIT License.