/fast

Minimal zero-dependency utility for testing your internet download speed from terminal

Primary LanguageGoMIT LicenseMIT

fast Github All Releases

Minimal zero-dependency utility for testing your internet download speed from terminal

Powered by Fast.com - Netflix

Installation

Bin

replace the download link with your os one

https://github.com/ddo/fast/releases

below is ubuntu 64 bit example

curl -L https://github.com/ddo/fast/releases/download/v0.0.4/fast_linux_amd64 -o fast

# or wget
wget https://github.com/ddo/fast/releases/download/v0.0.4/fast_linux_amd64 -O fast

# then chmod
chmod +x fast

# run
./fast

Docker

~10 MB

docker run --rm ddooo/fast

Snap

snap install fast

Arch Linux (AUR)

yay -S fast || paru -S fast

Brew

soon

For golang user

golang user can install from the source code

go get -u github.com/ddo/fast

Usage

To use simply invoke fast with no arguments.

$ ./fast
 -> 340.37 Mbps

By default fast will print status messages as it progresses and will display a pleasing spinning bar. It will also find the unit of measure most appropriate for your use case.

If you don't want the extra output and you only want the end result, you can use the --silent option. Additionally you can force the output into the desired units with the -k, -m, or -g flags.

Flag Description
--silent Hides status information and only displays the end result
-k Forces output into Kbps
-m Forces output into Mbps
-g Forces output into Gbps

Build

Docker

# build alpine binary file from root folder
docker run --rm -v "$PWD":/go/src/fast -w /go/src/fast golang:alpine go build -v

mv fast build/docker/
cd build/docker/
docker build -t ddooo/fast .

Snap

cd build/snap/
snapcraft
snapcraft push fast_*.snap
snapcraft release fast <revision> <channel>

Bug

for bug report just open new issue