You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Initial implementation of ipinfo.io offline database
* Removed unnecessary code
* add: download ipinfo db during docker build
* fixed workflow
* rename warning in workflow
* commit to trigger workflow
* Refactor getIP
* Improved UI
* Updated docker version with 5.4 changes
* Updated README.md
* Added fallback in getIP in case the offline db is missing
* Fixed typos
* just md linting
* Removed vscode stuff
* Implemented fallback in getIP for PHP<8 (returns only the IP)
* Updated doc.md
* Fixed comments in telemetry_settings.php
* New quick start video
* Corrected image name in doc_docker.md
* Replaced speedtest with just test in stats.php
* docker documentation update
* typo
---------
Co-authored-by: Federico Dossena <[email protected]>
Co-authored-by: Stefan Stidl <[email protected]>
Copy file name to clipboardexpand all lines: README.md
+25-13
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,16 @@ No Flash, No Java, No Websocket, No Bullshit.
7
7
This is a very lightweight speed test implemented in Javascript, using XMLHttpRequest and Web Workers.
8
8
9
9
## Try it
10
+
10
11
[Take a speed test](https://librespeed.org)
11
12
12
13
## Compatibility
14
+
13
15
All modern browsers are supported: IE11, latest Edge, latest Chrome, latest Firefox, latest Safari.
14
16
Works with mobile versions too.
15
17
16
18
## Features
19
+
17
20
* Download
18
21
* Upload
19
22
* Ping
@@ -25,53 +28,62 @@ Works with mobile versions too.
25
28
26
29

27
30
28
-
29
31
## Server requirements
32
+
30
33
* A reasonably fast web server with Apache 2 (nginx, IIS also supported)
31
34
* PHP 5.4 or newer (other backends also available)
32
35
* MySQL database to store test results (optional, Microsoft SQL Server, PostgreSQL and SQLite also supported)
33
36
* A fast! internet connection
34
37
35
38
## Installation
36
-
Assuming you have PHP installed, the installation steps are quite simple.
37
-
I set this up on a QNAP.
38
-
For this example, I am using a folder called **speedtest** in my web share area.
39
39
40
-
1. Choose one of the example-xxx.html files in `examples` folder as your index.html if the default index.html does not fit.
41
-
2. Add: speedtest.js, speedtest_worker.js, and favicon.ico to your speedtest folder.
42
-
3. Download all of the backend folder into speedtest/backend.
43
-
4. Download all of the results folder into speedtest/results.
44
-
5. Be sure your permissions allow execute (755).
45
-
6. Visit YOURSITE/speedtest/index.html and voila!
40
+
Assuming you have PHP and a web server installed, the installation steps are quite simple.
41
+
42
+
1. Download the source code and extract it
43
+
1. Copy the following files to your web server's shared folder (ie. /var/www/html/speedtest for Apache): index.html, speedtest.js, speedtest_worker.js, favicon.ico and the backend folder
44
+
1. Optionally, copy the results folder too, and set up the database using the config file in it.
45
+
1. Be sure your permissions allow execute (755).
46
+
1. Visit YOURSITE/speedtest/index.html and voila!
46
47
47
48
### Installation Video
48
-
There is a more in-depth installation video here:
49
-
*[Quick start installation guide for Ubuntu Server 19.04](https://fdossena.com/?p=speedtest/quickstart_v5_ubuntu.frag)
49
+
50
+
This video shows the installation process of a standalone LibreSpeed server: [Quick start installation guide for Debian 12](https://fdossena.com/?p=speedtest/quickstart_deb12.frag)
51
+
52
+
More videos will be added later.
50
53
51
54
## Android app
55
+
52
56
A template to build an Android client for your LibreSpeed installation is available [here](https://github.com/librespeed/speedtest-android).
53
57
54
58
## CLI client
59
+
55
60
A command line client is available [here](https://github.com/librespeed/speedtest-cli).
56
61
57
62
## Docker
63
+
58
64
A docker image is available on [GitHub](https://github.com/librespeed/speedtest/pkgs/container/speedtest), check our [docker documentation](doc_docker.md) for more info about it.
65
+
The image is built every week to include an updated version of the ipinfo-DB used for ISP detection. Also this ensures, that the latest security patches in PHP are installed. Therefore we recommend to use the `latest` image.
59
66
60
67
## Go backend
68
+
61
69
A Go implementation is available in the [`speedtest-go`](https://github.com/librespeed/speedtest-go) repo, maintained by [Maddie Zhan](https://github.com/maddie).
62
70
63
71
## Rust backend
72
+
64
73
A Rust implementation is available in the [`speedtest-rust`](https://github.com/librespeed/speedtest-rust) repo, maintained by [Sudo Dios](https://github.com/sudodios).
65
74
66
75
## Node.js backend
76
+
67
77
A partial Node.js implementation is available in the `node` branch, developed by [dunklesToast](https://github.com/dunklesToast). It's not recommended to use at the moment.
68
78
69
79
## Donate
80
+
70
81
[](https://liberapay.com/fdossena/donate)
71
82
[Donate with PayPal](https://www.paypal.me/sineisochronic)
72
83
73
84
## License
74
-
Copyright (C) 2016-2022 Federico Dossena
85
+
86
+
Copyright (C) 2016-2024 Federico Dossena
75
87
76
88
This program is free software: you can redistribute it and/or modify
77
89
it under the terms of the GNU Lesser General Public License as published by
0 commit comments