So, I was tired of my ISP charging me for 200Mbps and providing one-tenth of that.
  • JavaScript 95.3%
  • Dockerfile 4.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2017-07-02 23:24:05 +01:00
.dockerignore Add some ignore files. 2017-07-02 23:24:05 +01:00
.gitignore Speed test bitcher works and spams Virgin Media for providing me 13% of what I pay for 2017-07-02 22:56:56 +01:00
docker-compose.yml Add a readme. 2017-07-02 23:19:58 +01:00
Dockerfile Add a readme. 2017-07-02 23:19:58 +01:00
package.json Speed test bitcher works and spams Virgin Media for providing me 13% of what I pay for 2017-07-02 22:56:47 +01:00
Readme.md Add a screenshot. 2017-07-02 23:23:38 +01:00
screenshot.png Add a screenshot 2017-07-02 23:21:36 +01:00
speedtest-bitcher.js Make it possible to set whom you wish to shout at. 2017-07-02 23:16:40 +01:00

ISP Performance Monitor & Twitter 'performance alert'

So, I was tired of my ISP charging me for 200Mbps and providing one-tenth of that.

I figure I should let them know in a programmatic manner.

Screenshot of me calling @virginmedia out for providing 9% of what I pay for

Usage

Simply create a file called docker-compose.yml and fill it as so:

version: "2"

services:
  performancemonitor:
    image: matthewbaggett/speedtest-performance-tweeter
    environment:
     - EXPECTED_DOWNLOAD=200
     - EXPECTED_UPLOAD=20
     - THRESHOLD_PERCENTAGE=90
     - COMPANY_TWITTER_ACCOUNT=@ispofchoice
     - TWITTER_CONSUMER_KEY=
     - TWITTER_CONSUMER_SECRET=
     - TWITTER_ACCESS_TOKEN_KEY=
     - TWITTER_ACCESS_TOKEN_SECRET=

You will need to add some keys for twitter, which you can find yourself.

Then, to run it, simply run docker-compose run performancemonitor manually, or on a crontab.

Cheers!