Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ddo/fast
Minimal zero-dependency utility for testing your internet download speed from terminal
https://github.com/ddo/fast
wip
Last synced: about 1 month ago
JSON representation
Minimal zero-dependency utility for testing your internet download speed from terminal
- Host: GitHub
- URL: https://github.com/ddo/fast
- Owner: ddo
- License: mit
- Created: 2016-07-18T13:23:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-03-31T18:59:11.000Z (over 1 year ago)
- Last Synced: 2024-10-01T14:39:29.922Z (2 months ago)
- Topics: wip
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 482
- Watchers: 12
- Forks: 41
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - ddo/fast - Minimal zero-dependency utility for testing your internet download speed from terminal (Go)
README
# fast [![Github All Releases](https://img.shields.io/github/downloads/ddo/fast/total.svg?style=flat-square)]()
> 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
```sh
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
```sh
docker run --rm ddooo/fast
```#### Snap
```sh
snap install fast
```#### Arch Linux (AUR)
```sh
yay -S fast || paru -S fast
```#### Brew
> *soon*
#### For golang user
> golang user can install from the source code
```sh
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
```sh
# build alpine binary file from root folder
docker run --rm -v "$PWD":/go/src/fast -w /go/src/fast golang:alpine go build -vmv fast build/docker/
cd build/docker/
docker build -t ddooo/fast .
```#### Snap
```sh
cd build/snap/
snapcraft
snapcraft push fast_*.snap
snapcraft release fast
```## Bug
for bug report just open new issue