Coder Social home page Coder Social logo

weareblahs / unspeedtest Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 55 KB

Daily automated speedtest via Raspberry Pi, where the reports are accessible through a local network URL.

License: Other

HTML 50.46% Shell 15.48% Python 34.07%
ookla raspberry-pi raspbian speedtest

unspeedtest's Introduction

image

Currently experienced bugs

See here.

Note

Although this script is written on Python, I suggest you to run it on a Raspberry Pi as the setup scripts are optimized for Raspberry Pi OS (Debian).

Why did I do this?

I actually appreciate Fing's automated speedtest feature, but the software itself is only available on Windows and Mac computers. This is a Linux-based equivalent of the daily speedtest feature on Fing, powered by Speedtest.net from Ookla.

Setup

  1. Install git and clone this repository on your home directory (example: /home/(USERNAME)).
sudo apt-get install git
cd ~
git clone https://github.com/weareblahs/unspeedtest
  1. Install Ookla's Speedtest CLI by running these commands:
sudo apt-get install curl
curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | sudo bash
sudo apt-get install speedtest
  • After running these commands, run speedtest and accept EULA. It is recommended to let the first speedtest end to see if it's working from your side.

OPTIONAL: Before setup starts

To modify when will the automated speedtest starts, edit cron from the unspeedtest directory.

  • By default, 0 0 * * * means that unspeedtest will run automated speedtests on 12am everyday if the device is turned on. To generate cron expressions, use https://crontab.guru/ or https://crontab.cronhub.io/ and replace 0 0 0 0 0 with what you've got from the generators.
  1. Make setup.sh executable and start the setup. Do note that the setup script won't work if you're not running with sudo permissions.
chmod +x setup.sh
sudo ./setup.sh
  1. Visit http://raspberrypi.local/unspeedtest (or replace raspberrypi.local with the IP address you got from hostname -I) to see if it's working. If it's working, you'll see this page:image
  2. Go to terminal and start your first manual unspeedtest session.
cd ~/unspeedtest
./unspeedtest.sh

License

See here.

unspeedtest's People

Contributors

weareblahs avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.