Skip to content

Yet another unofficial speedtest.net client cli interface

Notifications You must be signed in to change notification settings

gglluukk/SpeedTest

 
 

Repository files navigation

Build Status

SpeedTest++

Yet another unofficial speedtest.net client cli interface

It supports the new (undocumented) raw TCP protocol for better accuracy.

Features

  1. Best server discovery based on speed and distance from you.

  2. Line type discovery to select the best test profile based on your line speed.

  3. Aggressive multi-threading program in order to saturate your bandwidth quickly.

  4. Test supported: Ping / Jitter / Download speed / Upload speed / Packet loss (UDP).

  5. Provide a URL to the speedtest.net share results image using option --share

Installation

Requirements

  1. A modern C++ compiler
  2. cmake
  3. libcurl
  4. libssl
  5. libxml2

On Mac OS X

$ brew install cmake
$ cd cmake_build
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ make install

On Ubuntu/Debian

$ sudo apt-get install build-essential libcurl4-openssl-dev libxml2-dev libssl-dev cmake
$ git clone https://github.com/taganaka/SpeedTest
$ cd SpeedTest
$ cmake -DCMAKE_BUILD_TYPE=Release .
$ sudo make install

On OpenSuse

$ sudo zypper install cmake gcc-c++ libcurl-devel libxml2-devel libopenssl-devel git
$ git clone https://github.com/taganaka/SpeedTest
$ cd SpeedTest
$ cmake -DCMAKE_BUILD_TYPE=Release .
$ sudo make install

Usage

$ ./SpeedTest --help
SpeedTest++ version 1.8
Speedtest.net command line interface
Info: https://github.com/taganaka/SpeedTest
Author: Francesco Laurita <[email protected]>

Usage: ./SpeedTest  [--latency] [--quality] [--download] [--upload] [--share] [--help]
      [--test-server host:port] [--quality-server host:port] [--output verbose|text]
optional arguments:
  --help                      Show this message and exit
  --latency                   Perform latency test only
  --quality                   Perform quality test only. It includes latency test
  --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
  --test-server host:port     Run speed test against a specific server
  --quality-server host:port  Run line quality test against a specific server
  --output verbose|text       Set output type. Default: verbose
$

License

SpeedTest++ is available as open source program under the terms of the MIT License.

About

Yet another unofficial speedtest.net client cli interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 92.0%
  • C 4.7%
  • CMake 2.7%
  • Dockerfile 0.6%