5 releases

0.5.0 Aug 8, 2024
0.4.8 Mar 30, 2024
0.4.7 Dec 5, 2023
0.4.6 Nov 11, 2023
0.4.5 Nov 11, 2023

#370 in Command line utilities

MIT license

53KB
1K SLoC

cf_speedtest

What is this?

cf_speedtest is an unofficial, cross-platform, command-line internet speed test tool, powered by https://speed.cloudflare.com. cf_speedtest leverages Cloudflare's own Speedtest API, it can achieve much higher speeds than other tools. Here is an example of cf_speedtest running on an AWS m5zn.6xlarge instance (advertised as 50Gbit capable):

asciicast

Installation:

$ cargo install cf_speedtest

Usage:

$ cf_speedtest

TODO:

  • Use rustls instead of ureq for download tests, to avoid TLS decryption cost
  • Support for proxies (HTTP/SOCKS5)
  • Option to output results to CSV file

Disclaimers:

  • This tool works entirely over HTTPS, which has some overhead
  • This tool is completely unofficial, Cloudflare can block this tool at any time if they wanted to (I suspect they won't, because they chill like that)

Dependencies

~13–22MB
~384K SLoC