Network Speed monitor using Puppeteer , Json-server and fast.com
- Install NodeJS/npm
- Install puppeteer
sudo npm install -g puppeteer --unsafe-perm=true -allow-root && sudo apt install chromium-browser -y
- Install Json-server
npm install -g json-server
Make sure Json-server runs after reboot and cron is set to run every 10 mins
- Open terminal and run
sudo nano /etc/rc.local
- To turn on json db server add the below line and save the file
json-server /home/pi/Desktop/db.json
- Add cron to run test every 10 mins.
sudo crontab -e
- Add the below line and save and exit
*/10 * * * * node /home/pi/Desktop/fast.js
Pull requests are welcome. Please make sure to update tests as appropriate.