/speedtest_watchdog

Check your internet performance and upload the results on Google Drive

Primary LanguageRust

alt text Speedtest_Watchdog

Check your internet performance and upload the results on Google Drive.

Do you think your internet is intermitent? Slower than was agreed on the contract? If yes this tool, can be helpful. Speedtest_Watchdog will check if you have access to the internet, verifies the speed, and upload eveything into a csv on Google Drive.

Inspired by: Use Raspberry Pi to Measure Broadband Speeds to Hold Your ISP Accountable

Attention: This is my first Rust project. It's just a toy :)

Install:

  1. Clone the project
  2. Install speedtest-cli and speedtest-cli-extras
  3. Build, cargo build --release
  4. Set the environment variables needed to authenticate with Google Drive:
export G_DRIVE_API_ID="loremipsum"
export G_DRIVE_API_SECRET="loremipsum"
export G_DRIVE_API_PROJECT="loremipsum"
export G_DRIVE_API_EMAIL="loremipsum@loremipsum.com"
  1. Make sure speedtest-csv is reachable on your $PATH
  2. run ./target/release/speedtest_watchdog
  3. Profit!