4 releases

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

#630 in Command line utilities

Download history 3/week @ 2024-02-18 7/week @ 2024-02-25 94/week @ 2024-03-24 59/week @ 2024-03-31 9/week @ 2024-04-07

162 downloads per month

MIT license

54KB
1.5K 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

~11–21MB
~391K SLoC