This bridge is used to store speedtest results in a MySQL database.
- speedtest.net CLI (https://www.speedtest.net/de/apps/cli)
- NodeJS (https://nodejs.org/en)
Download - Project-Files
git clone https://github.com/qMalte/SpeedtestBridge
cd SpeedtestBridge
Download - Dependencies
npm install
npm install -g knex
In the .env configuration, the connection information to the MySQL database must be specified. As well as the attribute: INTERVAL must be configured. The interval must be specified in the general cronjob syntax.
cp .env.example .env
nano .env
knex migrate:latest
node app.js
npm install -g pm2
pm2 start app.js
pm2 startup
pm2 save