Skip to content
Permalink
Browse files

Renamed to LibreSpeed

  • Loading branch information...
adolfintel committed Sep 25, 2019
1 parent 19c19ac commit bd7ec37350e4b8d51f293f838e70a3dd8f116435
@@ -1,4 +1,4 @@
![HTML5 Speedtest Logo](https://github.com/adolfintel/speedtest/blob/master/.logo/Readme-Logo.png?raw=true)
![HTML5 Speedtest Logo](https://github.com/librespeed/speedtest/blob/master/.logo/logo3.png?raw=true)

# HTML5 Speedtest

@@ -7,7 +7,7 @@ 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](http://speedtest.fdossena.com)
[Take a Speedtest](https://speedtest.fdossena.com)

## Compatibility
All modern browsers are supported: IE11, latest Edge, latest Chrome, latest Firefox, latest Safari.
@@ -36,7 +36,7 @@ Works with mobile versions too.
* [Quick start installation guide for Ubuntu Server 19.04](https://fdossena.com/?p=speedtest/quickstart_v5_ubuntu.frag)

## Android app
A template to build an Android client for your HTML5 Speedtest installation is available [here](https://github.com/adolfintel/speedtest-android).
A template to build an Android client for your HTML5 Speedtest installation is available [here](https://github.com/librespeed/speedtest-android).

## Docker
Please see the `docker` branch
12 doc.md
@@ -1,11 +1,11 @@
# HTML5 Speedtest
# LibreSpeed

> by Federico Dossena
> Version 5.0
> [https://github.com/adolfintel/speedtest/](https://github.com/adolfintel/speedtest/)
> Version 5.1
> [https://github.com/librespeed/speedtest/](https://github.com/librespeed/speedtest/)
## Introduction
HTML5 Speedtest is a Free and Open Source speedtest that you can host on your server(s), and users can run in their browser.
LibreSpeed is a Free and Open Source speedtest that you can host on your server(s), and users can run in their browser.

__Features:__
* Download test
@@ -108,11 +108,11 @@ A login is required to access the interface. __Important__: change the default p

#### The end
Now that the test is installed, rename one of the examples to `index.html` and delete the other examples.
The best starting point for most people is `example-singleServer-pretty.html`. If you want to use telemetry and results sharing, use `example-singleServer-full.html` instead.
The best starting point for most people is `example-singleServer-gauges.html`. If you want to use telemetry and results sharing, use `example-singleServer-full.html` instead.

If you're not using telemetry and results sharing, you can delete the `results` folder too.

Details about the examples and how to make custom UIs will be discussed later.
Details about the examples and how to make custom UIs will be discussed later. If you don't want to make a custom UI, feel free to modify the example and replace "LibreSpeed Example" with the name of your test.

#### Privacy
Telemetry contains personal information (according to GDPR defintion), therefore it is important to treat this data respectfully of national and international laws, especially if you plan to offer the service in the European Union.
@@ -367,10 +367,10 @@
}
}
</style>
<title>HTML5 Speedtest</title>
<title>LibreSpeed Example</title>
</head>
<body onload="initServers()">
<h1>HTML5 Speedtest</h1>
<h1>LibreSpeed Example</h1>
<div id="loading" class="visible">
<p id="message"><span class="loadCircle"></span>Selecting a server...</p>
</div>
@@ -417,7 +417,7 @@ <h3>Share results</h3>
<img src="" id="resultsImg" />
</div>
</div>
<a href="https://github.com/adolfintel/speedtest">Source code</a>
<a href="https://github.com/librespeed/speedtest">Source code</a>
</div>
<div id="privacyPolicy" style="display:none">
<h2>Privacy Policy</h2>
@@ -4,7 +4,7 @@
<link rel="shortcut icon" href="favicon.ico">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no" />
<title>HTML5 Speedtest</title>
<title>LibreSpeed Example</title>
<script type="text/javascript" src="speedtest.js"></script>
<script type="text/javascript">
@@ -184,7 +184,7 @@
</style>
</head>
<body>
<h1>HTML5 Speedtest</h1>
<h1>LibreSpeed Example</h1>
<div id="startStopBtn" onclick="startStop()"></div>
<div id="serverId">Selecting server...</div>
<div id="test">
@@ -216,7 +216,7 @@ <h1>HTML5 Speedtest</h1>
IP Address: <span id="ip"></span>
</div>
</div>
<a href="https://github.com/adolfintel/speedtest">Source code</a>
<a href="https://github.com/librespeed/speedtest">Source code</a>
<script type="text/javascript">
initUI();
selectServer();
@@ -2,12 +2,12 @@
<html>
<meta charset="UTF-8" />
<head>
<title>HTML5 Speedtest</title>
<title>LibreSpeed Example</title>
<link rel="shortcut icon" href="favicon.ico">
</head>
<script type="text/javascript" src="speedtest.js"></script>
<body>
<h1>HTML5 Speedtest</h1>
<h1>LibreSpeed Example</h1>

<h4>IP Address</h4>
<p id="ip"></p>
@@ -32,7 +32,7 @@ <h4>Latency</h4>
s.start(); // start the speedtest with default settings
</script>

<a href="https://github.com/adolfintel/speedtest">Source code</a>
<a href="https://github.com/librespeed/speedtest">Source code</a>

</body>
</html>
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="UTF-8" />
<title>HTML5 Speedtest</title>
<title>LibreSpeed Example</title>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css">
html,
@@ -238,7 +238,7 @@
</head>

<body>
<h1>HTML Speedtest - Chart.js example</h1>
<h1>LibreSpeed - Chart.js example</h1>
<div id="testArea" style="display:none">
<p id="ip">Please wait...</p>

@@ -251,6 +251,6 @@ <h2>Latency</h2>
<a href="javascript:abortTest()" id="abortBtn">Abort</a>
</div>
<a href="javascript:runTest()" id="startBtn">Run speedtest</a>
<br/><br/> Charts by <a href="http://www.chartjs.org/">Chart.js</a><br/><br/><a href="https://github.com/adolfintel/speedtest">Source code</a>
<br/><br/> Charts by <a href="http://www.chartjs.org/">Chart.js</a><br/><br/><a href="https://github.com/librespeed/speedtest">Source code</a>
</body>
</html>
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no" />
<title>HTML5 Speedtest</title>
<title>LibreSpeed Example</title>
<link rel="shortcut icon" href="favicon.ico">
<script type="text/javascript" src="speedtest.js"></script>
<script type="text/javascript">
@@ -150,7 +150,7 @@
</style>
</head>
<body>
<h1>HTML5 Speedtest</h1>
<h1>LibreSpeed Example</h1>
<div id="startStopBtn" onclick="startStop()"></div>
<div id="test">
<div class="testGroup">
@@ -166,7 +166,7 @@ <h1>HTML5 Speedtest</h1>
</div>
</div>
</div>
<a href="https://github.com/adolfintel/speedtest">Source code</a>
<a href="https://github.com/librespeed/speedtest">Source code</a>
<script type="text/javascript">
initUI();
</script>
@@ -266,10 +266,10 @@
}
}
</style>
<title>HTML5 Speedtest</title>
<title>LibreSpeed Example</title>
</head>
<body>
<h1>HTML5 Speedtest</h1>
<h1>LibreSpeed Example</h1>
<div id="testWrapper">
<div id="startStopBtn" onclick="startStop()"></div><br/>
<a class="privacy" href="#" onclick="I('privacyPolicy').style.display=''">Privacy</a>
@@ -310,7 +310,7 @@ <h3>Share results</h3>
<img src="" id="resultsImg" />
</div>
</div>
<a href="https://github.com/adolfintel/speedtest">Source code</a>
<a href="https://github.com/librespeed/speedtest">Source code</a>
</div>
<div id="privacyPolicy" style="display:none">
<h2>Privacy Policy</h2>
@@ -218,10 +218,10 @@
}
}
</style>
<title>HTML5 Speedtest</title>
<title>LibreSpeed Example</title>
</head>
<body>
<h1>HTML5 Speedtest</h1>
<h1>LibreSpeed Example</h1>
<div id="testWrapper">
<div id="startStopBtn" onclick="startStop()"></div>
<div id="test">
@@ -255,7 +255,7 @@ <h1>HTML5 Speedtest</h1>
<span id="ip"></span>
</div>
</div>
<a href="https://github.com/adolfintel/speedtest">Source code</a>
<a href="https://github.com/librespeed/speedtest">Source code</a>
</div>
<script type="text/javascript">setTimeout(function(){initUI()},100);</script>
</body>
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no" />
<title>HTML5 Speedtest</title>
<title>LibreSpeed Example</title>
<link rel="shortcut icon" href="favicon.ico">
<script type="text/javascript" src="speedtest.js"></script>
<script type="text/javascript">
@@ -153,7 +153,7 @@
</style>
</head>
<body>
<h1>HTML5 Speedtest</h1>
<h1>LibreSpeed Example</h1>
<div id="startStopBtn" onclick="startStop()"></div>
<div id="test">
<div class="testGroup">
@@ -184,7 +184,7 @@ <h1>HTML5 Speedtest</h1>
IP Address: <span id="ip"></span>
</div>
</div>
<a href="https://github.com/adolfintel/speedtest">Source code</a>
<a href="https://github.com/librespeed/speedtest">Source code</a>
<script type="text/javascript">
initUI();
</script>
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no" />
<title>HTML5 Speedtest</title>
<title>LibreSpeed Example</title>
<link rel="shortcut icon" href="favicon.ico">
<script type="text/javascript" src="speedtest.js"></script>
<script type="text/javascript">
@@ -172,7 +172,7 @@
</style>
</head>
<body>
<h1>HTML5 Speedtest</h1>
<h1>LibreSpeed Example</h1>
<div id="startStopBtn" onclick="startStop()"></div>
<div id="test">
<div id="progressBar"><div id="progress"></div></div>
@@ -204,7 +204,7 @@ <h1>HTML5 Speedtest</h1>
IP Address: <span id="ip"></span>
</div>
</div>
<a href="https://github.com/adolfintel/speedtest">Source code</a>
<a href="https://github.com/librespeed/speedtest">Source code</a>
<script type="text/javascript">
initUI();
</script>
@@ -1,5 +1,5 @@
<?php
$WATERMARK_TEXT="HTML5 Speedtest";
$WATERMARK_TEXT="LibreSpeed";
error_reporting(0);
putenv('GDFONTPATH=' . realpath('.'));
@@ -9,7 +9,7 @@
<!DOCTYPE html>
<html>
<head>
<title>HTML5 Speedtest - Stats</title>
<title>LibreSpeed - Stats</title>
<style type="text/css">
html,body{
margin:0;
@@ -54,7 +54,7 @@
</style>
</head>
<body>
<h1>HTML5 Speedtest - Stats</h1>
<h1>LibreSpeed - Stats</h1>
<?php
include_once("telemetry_settings.php");
require "idObfuscation.php";
@@ -1,7 +1,7 @@
/*
HTML5 Speedtest - Main
LibreSpeed - Main
by Federico Dossena
https://github.com/adolfintel/speedtest/
https://github.com/librespeed/speedtest/
GNU LGPLv3 License
*/

@@ -49,7 +49,7 @@ function Speedtest() {
this._settings = {}; //settings for the speedtest worker
this._state = 0; //0=adding settings, 1=adding servers, 2=server selection done, 3=test running, 4=done
console.log(
"HTML5 Speedtest by Federico Dossena v5.0 - https://github.com/adolfintel/speedtest"
"LibreSpeed by Federico Dossena v5.1 - https://github.com/librespeed/speedtest"
);
}

@@ -1,7 +1,7 @@
/*
HTML5 Speedtest - Worker
LibreSpeed - Worker
by Federico Dossena
https://github.com/adolfintel/speedtest/
https://github.com/librespeed/speedtest/
GNU LGPLv3 License
*/

0 comments on commit bd7ec37

Please sign in to comment.
You can’t perform that action at this time.