0.0.2 • Published 2 years ago

xbar-internet-speedtest v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

xbar-internet-speedtest

xbar plugin to test you internet speed in regular interval and display upload and download speed in the menu bar

Always know how fast your internet (upload & download) is at any given moment.

Install

npm install --global xbar-internet-speedtest

At the moment you will have to link the files manually so that the index.js file is found and executed properly by xbar. But maybe it will be possible in the future to do this similar to alfy.

Basic installation would be to either download this package into the xbar plugins folder so that it lands in the folder xbar/plugins/xbar-internet-speedtest, then run npm install and followed by that you can then ln -s ./index.sh ../001-xbar-internet-speedtest.15m.sh so that it will be found and executed by xbar every 15 minutes.

Important Note: It may be necessary to add additional pacakges for the image building library node-canvas to work. The instructions can be found here.

Requires Node.js 14+ and the xbar.

Usage

Configuration can be applied by editing the index.js file.

At the top there is a config variable which you can adjust without having to mess with code.

You can for example change which speedtest you'd prefer (choose between Speedtest.net and Cloudflare.com).

Related