https://github.com/ruchernchong/cf-speedtest
A simple CLI tool to measure your Cloudflare network performance, including latency, packet loss, download, and upload speeds.
https://github.com/ruchernchong/cf-speedtest
cli cloudflare-speedtest speedtest
Last synced: about 2 months ago
JSON representation
A simple CLI tool to measure your Cloudflare network performance, including latency, packet loss, download, and upload speeds.
- Host: GitHub
- URL: https://github.com/ruchernchong/cf-speedtest
- Owner: ruchernchong
- License: mit
- Created: 2025-05-18T13:17:37.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-06-12T16:07:09.000Z (4 months ago)
- Last Synced: 2025-08-27T17:50:04.001Z (about 2 months ago)
- Topics: cli, cloudflare-speedtest, speedtest
- Language: TypeScript
- Homepage:
- Size: 167 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# cf-speedtest
A simple CLI tool to measure your Cloudflare network performance, including latency, packet loss, download, and upload
speeds.## Requirements
- Node.js 18 or higher
## Installation
Install globally via npm:
```bash
npm install -g cf-speedtest
```Or run without installation using npx:
```bash
npx cf-speedtest
```## Usage
After installation, run:
```bash
cf-speedtest
```### Example Output
```
🌐 Server Location:
City : Singapore
Public IP: 139.59.132.30🏓 Latency: 2.34 ms
🚫 Packet Loss: 0.00%📥 Download: 3200.45 Mbps
📤 Upload: 2800.67 Mbps
```## Building from Source
```bash
git clone https://github.com/ruchernchong/cloudflare-speedtest.git
cd cloudflare-speedtest
pnpm install
pnpm run build
node dist/index.js
```## Why am I using TS to write this CLI instead of other language?
Because I am intending to use [cloudflare/speedtest](https://github.com/cloudflare/speedtest) in the future
once [issue #17](https://github.com/cloudflare/speedtest/issues/17) is resolved.## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.