No description
  • Python 71.6%
  • HTML 26.8%
  • Shell 1.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-05 07:50:52 -05:00
SpeedChecker initial commit 2026-11-04 15:10:49 -05:00
templates initial commit 2026-11-04 15:10:49 -05:00
.gitignore initial commit 2026-11-04 15:10:49 -05:00
appsettings.example.json initial commit 2026-11-04 15:10:49 -05:00
CHANGELOG Add CHANGELOG 2026-11-04 15:25:35 -05:00
checkSpeed.py initial commit 2026-11-04 15:10:49 -05:00
CONTRIBUTING.md Add Contributing 2026-11-04 15:27:05 -05:00
LICENSE Add license 2026-11-04 15:24:30 -05:00
README.md initial commit 2026-11-04 15:10:49 -05:00
requirements.txt initial commit 2026-11-04 15:10:49 -05:00
speedCheck.sh Update file speedCheck.sh 2026-11-05 07:50:52 -05:00

InternetSpeedChecker

This is a simple script that checks the speed multiple times a day and will upload the records into a database for easy reference.

Requirements

  • Linux shell (tested on Debian 13)
  • speedtest-cli installed

Steps

  1. Calls and saves the resulting output to a checkresult.txt file that can be changed in the appsettings.json file.
  2. Pulls the Download/Upload speed.
  3. Inserts the records to a database table with a timestamp.
  4. Checks if they are below the MB threshold set in the appsettings file, if they are it sends an email to the SUPPORT_EMAILS list.

Purpose

Since my ISP has a tendency to drop Upload speed, users were suffering, this gave me a way to monitor the speeds to ensure it was within a reasonable threshold for what I am paying for.

Deployment

  • Clone the repo
  • Rename the appsettings.example.json to appsettings.json
  • Update the values within the appsettings.json
  • Update the directory that the shell script is located in as an absolute path to your working directory.
  • Setup cronjobs to trigger whenever needed.