cloudflare-speed-cli

CLI tool that runs Cloudflare network speed tests with TUI interface, history tracking, and JSON export

install

cloudflare-speed-cli is a network speed testing tool that connects to Cloudflare's speed test service to measure download/upload throughput, idle latency, and loaded latency. The tool provides a terminal user interface (TUI) with real-time charts and statistics, allowing users to monitor network performance interactively.

The tool stores test history locally and supports exporting results as JSON for further analysis. It offers multiple output modes including the default TUI, text mode for scripting, and headless JSON mode. Users can bind tests to specific network interfaces or source IP addresses for targeted network analysis.

Built in Rust, the tool is primarily aimed at network administrators, developers, and system administrators who need to regularly monitor network performance or integrate speed testing into scripts and automated workflows. The tool leverages Cloudflare's distributed infrastructure to provide consistent speed test measurements from various global locations.

Installation

# via Homebrew
brew tap kavehtehrani/tap && brew install cloudflare-speed-cli
# via Cargo
cargo install --git https://github.com/kavehtehrani/cloudflare-speed-cli --features tui
# via Arch Linux
pacman -S cloudflare-speed-cli

TUI interface showing speed test results

Real-time charts view

History and statistics view

Alternatives & related tools

add a badge to your README

Maintain cloudflare-speed-cli? Show that it's featured on trmn. The badge links back to this page.

Featured on trmn
Markdown
[![Featured on trmn](https://www.trmn.sh/badge/cloudflare-speed-cli.svg)](https://www.trmn.sh/tools/cloudflare-speed-cli?utm_source=badge)
HTML
<a href="https://www.trmn.sh/tools/cloudflare-speed-cli?utm_source=badge"><img src="https://www.trmn.sh/badge/cloudflare-speed-cli.svg" alt="Featured on trmn" height="20"></a>