Skip to content

frankpolo/Networkspeedmonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Network Speed Monitor

Network Speed monitor using Puppeteer , Json-server and fast.com

Installation

  1. Install NodeJS/npm
  2. Install puppeteer
sudo npm install -g puppeteer --unsafe-perm=true -allow-root && sudo apt install chromium-browser -y
  1. Install Json-server
npm install -g json-server

Usage

Make sure Json-server runs after reboot and cron is set to run every 10 mins

  1. Open terminal and run
    sudo nano /etc/rc.local
  2. To turn on json db server add the below line and save the file
    json-server /home/pi/Desktop/db.json
  3. Add cron to run test every 10 mins.
    sudo crontab -e
  4. Add the below line and save and exit
    */10 * * * * node /home/pi/Desktop/fast.js

Contributing

Pull requests are welcome. Please make sure to update tests as appropriate.

License

MIT

Releases

No releases published

Packages

No packages published