Free and Open-Source Self-Hosted HTML5 SpeedTest

You can create a new page for this app or use it in an existing one. The app is fully responsive! You can use any width and height depending on your design. Paste our embed code into your web page.

Start a speed test automatically?

You can start a speed test automatically by adding “?Run=10” to your embed code. widget. “Run” is the URL parameter to start a speed test when the page loads. If you need to start a speed test after a couple of seconds, you can give a positive integer as the value for the “Run” keyword. For example, if I need to run a speed test after 5 seconds, I’ll pass “Run=5” as the URL parameter.

2) Self-hosted SpeedTest with managed database (embed).

OPTION #2 (Speed ​​test from your server).

This speed test app will use your server to test your upload and download speed. We store each result in our database and a dedicated reporting system that shows you the tests performed through your server. With this option, you don’t have to worry about app updates. The SpeedTest app will always be up to date. Click here to register and login to the admin panel and see the results. (Only for OPTION #2). The self-hosted Widget is free for personal and commercial use.

Openspeedtest Dashboard

You can create a new page for this application or use it in an existing one. The app is fully responsive! You can use any width and height depending on your design. Paste our embed code into your web page.

See Also:  How to Create a Freelance WordPress Website for Your Business (Step-by-Step)

Simple and easy way! Install Docker and run the following command!

Now visit:- http://localhost/hosted.html or http://YOUR-IP/hosted.html

If you don’t want to use the Docker Image, follow the steps below.Step 1) Create a domain/subdomain for your server.Step 2) Create an .html index (or a page from the same domain) and paste our widget code.Step 3) Upload both files (File 1 and File 2) to your server and change the permissions to 755.Step 4 ) You need to make some changes to your server. Enable cross-origin resource sharing with https://openspeedtest.com Your server must accept ‘GET, POST, OPTIONS’ from “https://openspeedtest.com” and POST Content-Type :application/octet-stream, content length is dynamic. therefore, the server must accept a POST content length of 35 Mb or more. And turn off Gzip! Suppose you are using this application at speedtest.example.com. Files should be accessible from speedtest.example.com/downloading and speedtest.example.com/upload. This app will search for the hostname only. So for example hostname/download will be the correct destination for the test files. This will mostly be the root web directory of your website.

Download the Nginx setup. If you are not using Nginx, you should do a similar setup for your server.

4) OpenSpeedTest for Server (Docker image and source code).

This option is a fully self-hosted (on-premises) solution for large-scale or permanent decentralized deployments. A server running on your HomeLab, in the public or private cloud, can be used to install this app. Lightweight, simple and secure application.

See Also:  How to Connect Bose Earbuds to PC, Mac, Android, or iOS

A) Quick and easy deployment using Docker.

This is the Docker implementation using nginxinc/nginx-unprivileged:stable-alpine. uses significantly fewer resources. OpenSpeedTest contains only “STATIC” files like HTML, CSS and JS. So you don’t need to worry about security updates or hidden vulnerabilities that can compromise your secure environments.

Install Docker and run the following command! [Official Docker Image]

Now visit: http://localhost:3000 or http://YOUR-IP:3000 For SSL: https://localhost:3001 or https:/ / TU-IP:3001

Warning! If you run it behind a reverse proxy, you should increase the post body content length to 35 Megabytes or more.

B) Run it without Docker? Set up the server for OpenSpeedTest.

Download the source code and set up your server. Make sure to follow the server configuration as per Nginx configuration.

Tested up to 10 Gbps on real NIC and up to 30 Gbps on virtual NIC. You can run a network speed test from any modern browser that is IE10 or newer. This docker image contains the same application that runs on https://openspeedtest.com. You can put it behind a corporate firewall or run it in an environment that is not connected to the public network. So you can use it to test your local area network or put it on your public server to test your line speed to that server. Index.html will be used by default. (Can run without an internet connection) If you need to, you can use hosted.html, which will only run with an internet connection and save the results to our database. You can see the results by registering here https://openspeedtest.com/admin

See Also:  How to create push notifications from a wordpress website

.

Leave a Reply

Your email address will not be published. Required fields are marked *