Self-hosted Speed Test for HTML5 and more. Easy setup, examples, configurable, mobile friendly. Supports PHP, Node, Multiple servers, and more
Go to file
2019-01-31 12:32:50 +01:00
.github/ISSUE_TEMPLATE Added issue templates 2018-09-30 19:25:51 +02:00
.logo Updated README.md 2018-10-28 09:48:18 +01:00
results Implemented ID obfuscation in telemetry.php and results/index.php 2019-01-30 10:16:28 +01:00
telemetry Minor improvements to telemetry/stats.php 2019-01-30 17:10:27 +01:00
.gitignore Implemented ID obfuscation in telemetry.php and results/index.php 2019-01-30 10:16:28 +01:00
doc.md Bumped version to 4.7.1 2019-01-30 19:11:03 +01:00
docker-compose.yml Default Index With Creator Credit 2017-06-23 12:39:36 -05:00
Dockerfile Default Index With Creator Credit 2017-06-23 12:39:36 -05:00
empty.php Improved ping/jitter test 2017-06-14 12:33:11 +02:00
example-basic.html Speedtest worker now outputs status as JSON for easier parsing; Removed partial CSV implementation; Updated examples and documentation 2018-08-08 08:57:24 +02:00
example-chart.html Fixed atrocious typo 2018-08-08 09:03:06 +02:00
example-customSettings.html Updated example-customSettings.html 2018-12-09 17:12:38 +01:00
example-customSettings2.html Fixed atrocious typo 2018-08-08 09:03:06 +02:00
example-gauges.html Fixed atrocious typo 2018-08-08 09:03:06 +02:00
example-pretty.html Fixed atrocious typo 2018-08-08 09:03:06 +02:00
example-progressBar.html Fixed atrocious typo 2018-08-08 09:03:06 +02:00
example-telemetry-resultSharing.html Implemented ID obfuscation in telemetry.php and results/index.php 2019-01-30 10:16:28 +01:00
example-telemetryEnabled.html Fixed atrocious typo 2018-08-08 09:03:06 +02:00
garbage.php Avoid DOS with gigant ckSize values (#60) 2017-09-05 07:46:00 +02:00
getIP.php Detects IPv4 and IPv6 private networks (#192) 2019-01-14 16:14:57 +01:00
github.png Default Index With Creator Credit 2017-06-23 12:39:36 -05:00
index.html Updated index.html because I forgot. Sorry 2018-08-20 19:42:27 +02:00
README.md Merge branch 'master' into docker 2018-12-31 15:31:24 +01:00
speedtest_worker.js Simplified IE11 upload test 2019-01-31 12:27:29 +01:00
speedtest_worker.min.js Simplified IE11 upload test 2019-01-31 12:27:29 +01:00

HTML5 Speedtest Logo

HTML5 Speedtest

No Flash, No Java, No Websocket, No Bullshit.

This is a very lightweight Speedtest implemented in Javascript, using XMLHttpRequest and Web Workers.

Try it

Take a Speedtest

Compatibility

Only modern browsers are supported (IE11, latest Edge, latest Chrome, latest Firefox, latest Safari)

Features

  • Download
  • Upload
  • Ping
  • Jitter
  • IP Address
  • Telemetry (optional)
  • Results sharing (optional)

Screenshot

Requirements

  • A reasonably fast web server with PHP (see doc.md for details and use without PHP)
  • Your server must accept large POST requests (up to 20 Megabytes), otherwise the upload test will fail
  • It's also better if your server does not use compression, but it's not mandatory

Quick installation videos

Also, here's an example config on Ubuntu 16 LTS

How to use in your site

Docker + Docker Compose

The project includes a basic docker-compose.yml for development. To run, execute the following:

$ docker-compose build

$ docker-compose up

Speedtest will be available at http://0.0.0.0:8888/. You can try out all of the examples via their associated urls (i.e. http://0.0.0.0:8888/example1.html).

To run via Docker directly:

$ docker build -t adolfintel/speedtest:latest .

$ docker run -d --name  speedtest -p 0.0.0.0:80:80 adolfintel/speedtest:latest

Multiple test servers

Please see the mpot branch

Node.js backend

A Node.js implementation is available in the node branch, maintained by dunklesToast.

Donate

Donate with Liberapay
Donate with PayPal
Send ETH at this address: 0x8A5273d4e2618c4cff2C62d8EB731701FceEd8E3

License

Copyright (C) 2016-2019 Federico Dossena

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/lgpl.