speedtest/README.md

103 lines
3.3 KiB
Markdown
Raw Normal View History

2018-10-28 08:48:18 +00:00
![HTML5 Speedtest Logo](https://github.com/adolfintel/speedtest/blob/master/.logo/Readme-Logo.png?raw=true)
2016-11-28 20:09:12 +00:00
# HTML5 Speedtest
2016-03-04 11:48:09 +00:00
No Flash, No Java, No Websocket, No Bullshit.
2016-11-28 20:09:12 +00:00
This is a very lightweight Speedtest implemented in Javascript, using XMLHttpRequest and Web Workers.
2016-03-04 11:48:09 +00:00
## Try it
2017-02-02 07:05:42 +00:00
[Take a Speedtest](http://speedtest.fdossena.com)
2016-03-04 11:48:09 +00:00
## Compatibility
All modern browsers are supported: IE11, latest Edge, latest Chrome, latest Firefox, latest Safari.
Works with mobile versions too.
2016-03-04 11:48:09 +00:00
## Features
* Download
* Upload
* Ping
* Jitter
* IP Address, ISP, distance from server (optional)
* Telemetry (optional)
* Results sharing (optional)
* Multiple Points of Test (optional)
![Screenshot](https://speedtest.fdossena.com/mpot_v5.gif)
2018-08-06 18:36:20 +00:00
## Server requirements
* A reasonably fast web server with Apache 2 (nginx, IIS also supported)
* PHP 5.4 (other backends also available)
* MySQL database to store test results (optional, PostgreSQL and SQLite also supported)
* A fast! internet connection
2016-03-04 11:48:09 +00:00
2019-06-30 05:07:11 +00:00
<<<<<<< HEAD
2017-06-19 15:27:52 +00:00
## Quick installation videos
* [Debian 9.0 with Apache](https://fdossena.com/?p=speedtest/quickstart_deb.frag)
* [Windows Server 2016 with IIS](https://fdossena.com/?p=speedtest/quickstart_win.frag)
2018-03-17 10:16:01 +00:00
* [Ubuntu (External)](https://freedif.org/how-to-install-selfhosted-speedtest)
2017-06-19 15:27:52 +00:00
2017-07-13 14:22:01 +00:00
Also, here's an [example config on Ubuntu 16 LTS](https://github.com/adolfintel/speedtest/issues/50)
2017-06-19 15:27:52 +00:00
## How to use in your site
2018-04-25 14:58:58 +00:00
* See the examples
* [Read the wiki](https://github.com/adolfintel/speedtest/wiki)
* Read doc.md
2016-03-04 11:48:09 +00:00
## 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/](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
```
2017-06-27 14:06:57 +00:00
2018-08-15 11:57:47 +00:00
## Multiple test servers
Please see the ```mpot``` branch
2019-06-30 05:07:11 +00:00
=======
## Installation videos
* [Quick start installation guide for Ubuntu Server 19.04](https://fdossena.com/?p=speedtest/quickstart_v5_ubuntu.frag)
2018-08-15 11:57:47 +00:00
2017-06-24 08:38:37 +00:00
## Docker
Please see the `docker` branch
2017-06-24 08:38:37 +00:00
2019-06-30 05:07:11 +00:00
>>>>>>> master
2018-04-22 17:26:54 +00:00
## Node.js backend
A Node.js implementation is available in the `node` branch, maintained by [dunklesToast](https://github.com/dunklesToast).
2018-04-22 17:26:54 +00:00
2017-06-26 11:19:32 +00:00
## Donate
2018-04-25 14:56:53 +00:00
[![Donate with Liberapay](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/fdossena/donate)
[Donate with PayPal](https://www.paypal.me/sineisochronic)
2017-06-26 11:19:32 +00:00
2016-03-04 11:48:09 +00:00
## License
2018-12-31 14:31:20 +00:00
Copyright (C) 2016-2019 Federico Dossena
2016-03-04 11:48:09 +00:00
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>.