I prefer to use the ookla sppedtest CLI version. No bs but also better server coverage
Also the ISP probably knows most of the servers speedtest owns and accelerate speeds for them along with other popular speed test websites, while throttling other regular connections.
No Java?
Seen as the readme says this in the very next sentence, and they reference Flash, I think they’re actually talking about the full fat Oracle Java runtime, not just Javascript.
Side note: I found a support page on speedtest.net that still says you need Flash installed, but only Flash, no Java required here: https://sandboxsupport.speedtest.net/hc/en-us/articles/202610754-What-are-the-requirements-to-use-Speedtest-net
JavaScript has nothing to do with Java. They are completely different languages and environments.
There were something called “Java applets” on the web before flash. It was real Java, probably a sunset of that. There was an addon just like flash.
317kB. I love tiny apps <3
How is that tiny though?
Considering this is about sending some random data to a server and measuring the speed, that’s quite large. I’ve seen whole computer games that fit in 1/10 of that space.
Cool project! I used OpenSpeedTest last week to test local intranet speeds.
If you already have docker/podman installed, the command below should get you going quickly:
docker run --restart=unless-stopped --name openspeedtest -d -p 3000:3000 -p 3001:3001 openspeedtest/latest
Does anyone know of a speed test where you can set it up to run by itself regularly and push a notification to a channel (like pushbullet or similar) when the speed is below a certain threshold?
Edit: I went with self hosted speedtest-tracker as a docker container and notifications through Discord webhook.
Thanks for all the tips!! ❤️
If I had this requirement I would just generate a file of specific size, place it on one server and on the other I would have a shell script running via cron and measure the time it took to download the file.
It seems like a relatively simple problem.
BTW are you sure you want to test download speed and not latency? I think some routers might have the later built in.
Definitely speed. My ISP runs on another service providers hardware and it bugs out from time to time and I get 1/10th of the speeds I usually have. My ISP has no way of knowing this so I have to know when it happens and place a ticket so they can place a ticket on the hardware guys.
Fair warning that this would chew through a ton of bandwidth if you run it often, so only do it if you don’t have bandwidth caps.
It really depends. Once every 1-5 minutes, sure, maybe. Once every 1-5 hours tho? You’re likely fine.
True, although once per hour would still be a lot of data.
For example me running a fast.com test uses about 1.5GB of data to run a single test, so around 1TB per month if ran hourly.
Funnily enough, I had something exactly like this set up with home assistant. You can add Ookla and fast.com speed tests as devices, which will run the tests periodically, and then I had an automation set up to send me a message via telegram whenever speed was less than half of what it was supposed to be
Maybe try https://myspeed.dev/