SCRIPT

LibreSpeed: Your Self-Hosted HTML5 Speed Test Solution

LibreSpeed is a self-hosted speed test tool that helps users measure internet performance without any bloat. Perfect for developers and network administrators.

librespeed speedtest internet-speed html5-speedtest self-hosted speed-checker
LibreSpeed: Your Self-Hosted HTML5 Speed Test Solution

📦 Get LibreSpeed: Your Self-Hosted HTML5 Speed Test Solution

vmaster· GNU Lesser General Public License v3.0· ⭐ 15.2K stars · Updated Sep 12, 2026

In an age where reliable internet speed is crucial for both personal and professional activities, having a tool to measure your connection performance can make all the difference. Enter LibreSpeed, a self-hosted speed test solution that allows you to assess your internet speed without relying on third-party services. Whether you’re a developer looking to integrate speed tests into your applications or a network administrator wanting to monitor internet performance, LibreSpeed provides a straightforward and efficient way to do just that.

What Is LibreSpeed?

LibreSpeed is a lightweight, self-hosted speed test tool implemented in JavaScript. It enables users to measure download and upload speeds, ping, and jitter without the need for Flash, Java, or WebSockets. Its simplicity and ease of use make it a popular choice among developers and tech enthusiasts. With support for PHP, Node.js, and multiple servers, LibreSpeed is versatile enough to fit various deployment scenarios.

Key Features

  • Download and Upload Tests: Quickly measure the speed of your internet connection for both downloads and uploads.
  • Ping and Jitter Measurements: Assess the latency and stability of your connection with comprehensive metrics.
  • Multiple Points of Test: Choose from various server locations to get accurate speed test results.
  • Telemetry and Results Sharing: Optionally share your test results and gather telemetry data for analysis.
  • Connection Stability Test: Monitor your connection over time with latency charting and loss tracking.
  • Mobile Friendly: Works seamlessly on all modern browsers, including mobile versions.
  • Customizable Interface: Tailor the UI to your branding and preferences.

Installation & Setup

Getting LibreSpeed up and running is straightforward. Follow these steps to install it on your server:

CODE
1. Download the source code from the GitHub repository:
   https://github.com/librespeed/speedtest/archive/refs/heads/master.zip

2. Extract the downloaded file and navigate to the extracted folder.

3. Copy the project files to your web server's shared folder (e.g., /var/www/html/speedtest for Apache):
   $ sudo cp -r speedtest-master/* /var/www/html/speedtest/

4. Optionally, copy the results folder and set up the database using the config file in it.
   $ sudo cp -r speedtest-master/results /var/www/html/speedtest/

5. Ensure your server has PHP 5.4 or newer installed and the necessary permissions for the files:
   $ sudo chown -R www-data:www-data /var/www/html/speedtest/

6. Visit YOURSITE/speedtest/index.html in your browser to start using LibreSpeed!

How to Use It

Using LibreSpeed is simple. Once you’ve installed it, open your web browser and navigate to the index page. Here’s a quick run-through:

  1. Open your browser and go to YOURSITE/speedtest/index.html.
  2. Click the “Start Test” button to begin measuring your internet speed.
  3. Wait for the test to complete—results for download speed, upload speed, ping, and jitter will be displayed.
  4. You can share your results or save them for future reference based on the optional features you've enabled.

Who Should Use LibreSpeed?

LibreSpeed is perfect for a variety of users. Developers looking to integrate speed tests into their applications will find its API and customizable features beneficial. Network administrators can use it to monitor connection performance and diagnose issues. Additionally, anyone who wishes to have a reliable, ad-free speed test tool at their disposal will appreciate the simplicity and effectiveness of LibreSpeed.

Final Thoughts

LibreSpeed stands out as a robust solution for those needing a self-hosted speed test. Its ease of installation, mobile compatibility, and extensive features make it a valuable tool for both developers and end-users alike. If you're looking for a lightweight, efficient, and customizable way to measure internet speed, I highly recommend giving LibreSpeed a try. It's straightforward, effective, and best of all—completely free.

ScriptForge Admin

Senior developer and curator of the ScriptForge platform. Specializing in PHP, Laravel, and full-stack JavaScript development.

gh
𝕏
🌐