mirror of
https://github.com/librespeed/speedtest.git
synced 2026-05-13 16:26:38 +00:00
* Implement fromScratch design * Add some documentation * enable new design in docker (no alpine yet) * merge fixed docker images * alpine docker added new design * fix #685 * Implement fromScratch design * Add some documentation * enable new design in docker (no alpine yet) * alpine docker added new design * fix #685 * fix database permissions alpine, remove baby * hide serverselector on only one server * Update frontend/styling/server-selector.css Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com> * fix alpine image again * adjust settings.json in entrypoint so env vars are honored * Update frontend/javascript/index.js Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com> * Add feature switch for new design via config file, URL parameters, and Docker (#742) * Initial plan * Add feature switch for new design with config and URL parameter support Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> * Improve error handling and prevent infinite redirect loops Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> * Update Dockerfiles and entrypoint to support design feature switch Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> * Update design-switch.js Co-authored-by: qodo-free-for-open-source-projects[bot] <189517486+qodo-free-for-open-source-projects[bot]@users.noreply.github.com> * fix: copy actions in entrypoint * Restructure design switch to place both designs at root level Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> * Flatten frontend assets in Docker to eliminate frontend directory Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> * fix: entrypoint settings & server-list disable entrypoint bash debug * add link to modern design --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> Co-authored-by: sstidl <sstidl@users.noreply.github.com> Co-authored-by: qodo-free-for-open-source-projects[bot] <189517486+qodo-free-for-open-source-projects[bot]@users.noreply.github.com> * add armv7 * reformat * Add GDPR_EMAIL environment variable for Docker deployments (#743) * Initial plan * Add GDPR_EMAIL environment variable for Docker deployments Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> * Improve GDPR_EMAIL handling with proper escaping and loop Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> * Refine GDPR_EMAIL processing - skip index.html and improve escaping Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> * Optimize GDPR_EMAIL sed commands and improve escaping Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> * Clarify sed escaping comment for GDPR_EMAIL Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> * cleanup old EMAIL ENV Var * fix: line break in html prevented sed replacement * version 6.0.0pre1 * test: add mssql docker compose tests * Update Speedtest screen recording link in README * Filter unreachable servers from selector (newdesign UI) (#769) * Filter unreachable servers from selector (newdesign UI) * Apply suggestions from code review Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * keep // servers in list Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * fix misleading comment --------- Co-authored-by: Lumi <lumi@openclaw.local> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Stefan Stidl <sti-github@stidl.com> * fix: server.json handling * Use server-list.json in classic frontend by default * Add configurable server list URLs to frontend and Docker --------- Co-authored-by: Timendus <mail@timendus.com> Co-authored-by: Stefan Stidl <stefan.stidl@ffg.at> Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com> Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> Co-authored-by: qodo-free-for-open-source-projects[bot] <189517486+qodo-free-for-open-source-projects[bot]@users.noreply.github.com> Co-authored-by: Stefan Stidl <sti-github@stidl.com> Co-authored-by: Lumi <lumi@openclaw.local> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
151 lines
4.8 KiB
HTML
Executable file
151 lines
4.8 KiB
HTML
Executable file
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta
|
|
name="viewport"
|
|
content="width=device-width, initial-scale=1, shrink-to-fit=no"
|
|
/>
|
|
<meta
|
|
name="description"
|
|
content="Free and Open Source Speedtest. Run it right now in your browser, or self-host on a PHP, Golang, Rust or Node server. License: LGPL."
|
|
/>
|
|
<link rel="shortcut icon" href="images/favicon.svg" />
|
|
<script type="text/javascript" src="speedtest.js"></script>
|
|
<script type="text/javascript" src="javascript/index.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="styling/index.css" />
|
|
<title>LibreSpeed - Free and Open Source Speedtest</title>
|
|
</head>
|
|
|
|
<body>
|
|
<header>
|
|
<img src="images/logo.svg" alt="LibreSpeed" />
|
|
</header>
|
|
<main>
|
|
<h1>Free and Open Source Speedtest.</h1>
|
|
<p class="tagline">No Flash, No Java, No Websockets, No Bullsh*t</p>
|
|
|
|
<div class="server-selector">
|
|
<div class="chosen">
|
|
<div class="chevron">
|
|
<img src="images/chevron.svg" alt="select..." />
|
|
</div>
|
|
<p>current server</p>
|
|
<h2 id="selected-server">searching nearest server...</h2>
|
|
</div>
|
|
<ul class="servers"></ul>
|
|
<p class="sponsor" id="sponsor"> </p>
|
|
</div>
|
|
|
|
<p id="privacy-warning" class="hidden">
|
|
by clicking the start button you agree to our privacy policy<br />
|
|
<a href="#" id="choose-privacy">or choose your privacy options</a>
|
|
</p>
|
|
<button class="disabled" id="start-button"></button>
|
|
|
|
<div class="gauge-layout">
|
|
<div class="ping hidden">
|
|
<span class="label">Ping</span>:
|
|
<span class="value" id="ping">00</span>ms
|
|
</div>
|
|
|
|
<div class="gauge download" id="download-gauge">
|
|
<div class="progress"></div>
|
|
<div class="speed"></div>
|
|
<h1><span id="download-speed">00</span> Mbps</h1>
|
|
<h2>Download</h2>
|
|
</div>
|
|
|
|
<div class="gauge upload" id="upload-gauge">
|
|
<div class="progress"></div>
|
|
<div class="speed"></div>
|
|
<h1><span id="upload-speed">00</span> Mbps</h1>
|
|
<h2>Upload</h2>
|
|
</div>
|
|
|
|
<div class="jitter hidden">
|
|
<span class="label">Jitter</span>:
|
|
<span class="value" id="jitter">00</span>ms
|
|
</div>
|
|
</div>
|
|
|
|
<button class="small inverted hidden" id="share-results">
|
|
Share results
|
|
</button>
|
|
</main>
|
|
<footer>
|
|
<p class="source">
|
|
<a href="https://github.com/librespeed/speedtest">source code</a>
|
|
</p>
|
|
</footer>
|
|
|
|
<dialog id="share">
|
|
<div class="close-dialog">
|
|
<img src="images/close-button.svg" alt="Close" />
|
|
</div>
|
|
<img id="results" src="" alt="Test results in graphical form" />
|
|
<button id="copy-link">Copy link</button>
|
|
</dialog>
|
|
|
|
<dialog id="privacy">
|
|
<div class="close-dialog">
|
|
<img src="images/close-button.svg" alt="Close" />
|
|
</div>
|
|
<section>
|
|
<h1>Privacy Policy</h1>
|
|
<p>
|
|
This HTML5 speed test server is configured with telemetry enabled.
|
|
</p>
|
|
|
|
<h2>What data we collect</h2>
|
|
<p>
|
|
At the end of the test, the following data is collected and stored:
|
|
</p>
|
|
|
|
<ul>
|
|
<li>Test ID</li>
|
|
<li>Time of testing</li>
|
|
<li>Test results (download and upload speed, ping and jitter)</li>
|
|
<li>IP address</li>
|
|
<li>ISP information</li>
|
|
<li>Approximate location (inferred from IP address, not GPS)</li>
|
|
<li>User agent and browser locale</li>
|
|
<li>Test log (contains no personal information)</li>
|
|
</ul>
|
|
|
|
<h2>How we use the data</h2>
|
|
<p>Data collected through this service is used to:</p>
|
|
|
|
<ul>
|
|
<li>
|
|
Allow sharing of test results (sharable image for forums, etc.)
|
|
</li>
|
|
<li>
|
|
To improve the service offered to you (for instance, to detect
|
|
problems on our side)
|
|
</li>
|
|
</ul>
|
|
|
|
<p>No personal information is disclosed to third parties.</p>
|
|
|
|
<h2>Your consent</h2>
|
|
<p>
|
|
By starting the test, you consent to the terms of this privacy policy.
|
|
</p>
|
|
|
|
<h2>Data removal</h2>
|
|
<p>
|
|
If you want to have your information deleted, you need to provide
|
|
either the ID of the test or your IP address. This is the only way to
|
|
identify your data, without this information we won't be able to
|
|
comply with your request.
|
|
</p>
|
|
<p>
|
|
Contact this email address for all deletion requests:
|
|
<a href="mailto:PUT@YOUR_EMAIL.HERE">TO BE FILLED BY DEVELOPER</a>.
|
|
</p>
|
|
</section>
|
|
<button id="close-privacy">Close</button>
|
|
</dialog>
|
|
</body>
|
|
</html>
|