A command-line tool to calculate download bandwidth.

dblume dblume Update README.md for change from master to main fec9f82 @ 2021-11-19 08:40:11
LICENSE.txt first commit 2019-10-10 22:35:14
README.md Update README.md for change from master to main 2021-11-19 08:40:11
fast.sh first commit 2019-10-10 22:35:14
README.md

License bash

A Command-line Bandwidth Calculator

With fast.sh, you can issue a Unix command from the terminal to calculate download bandwidth from fast.com. For example:

$ fast.sh
# Bytes Cur. rate   Avg. Rate
------- ----------- -----------
1.22GiB [31.1MiB/s] [31.1MiB/s]

Credit

The original implementation comes from Tiksi's one-liner at Hacker News. I just added some whitespace and made some adjustments that made it more flexible and easier for me to read and maintain.

Requirements

The script requires these two handy modules:

  1. jq: A JSON parser.
  2. pv: (mirror) A pipe viewer.

Is it any good?

Yes.

Licence

This software uses the MIT license.