https://github.com/0mykull/spd
An internet speed test CLI tool written in rust.
https://github.com/0mykull/spd
cli network rust speedtest
Last synced: 6 months ago
JSON representation
An internet speed test CLI tool written in rust.
- Host: GitHub
- URL: https://github.com/0mykull/spd
- Owner: 0mykull
- License: mit
- Created: 2025-12-21T21:05:13.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2025-12-22T20:35:01.000Z (6 months ago)
- Last Synced: 2025-12-23T09:27:38.549Z (6 months ago)
- Topics: cli, network, rust, speedtest
- Language: Rust
- Homepage: https://crates.io/crates/spd
- Size: 75.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# spd • CLI Speed Test


spd is a speedy zero-copy Rust CLI that uses Cloudflare's global network to accurately measure 10Gbps+ internet speeds with minimal memory footprint.
## Example Output

## Usage
```bash
spd
spd --minimal # script-friendly output
spd --json # JSON output
```
## Installation
### From Crates.io
```bash
cargo install spd --locked
```
### From Source
```bash
git clone https://github.com/0mykull/spd.git
cd spd
./install.sh
```
## How It Works
- spd targets Cloudflare's edge using 8 concurrent streams for 10 seconds (plus 1s warmup) to saturate modern connections.
- Latency: Measures HTTP RTT to 1.1.1.1.
- Download: Streams 64KB chunks using zero-copy processing to minimize heap allocations.
- Upload: Pushes a shared 1MB payload (Arc) via HTTP POST to eliminate memory overhead.