Self-hosted network speed testing and server monitoring tool with a web UI, built in Go and React.
librespeed/speedtest
A self-hosted, browser-based internet speed test written in JavaScript, measuring download, upload, ping and jitter.
Open-source alternative to:Speedtest by Ookla
- Stars
- 15,250
- Forks
- 2,517
- Open issues
- 16
- Last commit
- yesterday
What is it?
LibreSpeed is a lightweight internet speed test that runs in the browser using XMLHttpRequest and Web Workers, without Flash, Java or WebSocket. It measures download and upload speed, ping and jitter, and can optionally show IP address, ISP and distance to the server.
The project is meant to be hosted on your own infrastructure. The reference server is written in PHP and runs on Apache, nginx or IIS, with results optionally stored in MariaDB, MySQL, PostgreSQL, SQLite or Microsoft SQL Server. Docker images are provided, and the frontend supports both a classic and a modern UI with a switch between them.
Beyond the basic test, it includes a standalone connection stability test that charts latency over time, tracks loss and supports threshold alerts and CSV export. Multiple points of test can be configured, and separate backends exist for Go and Rust, along with Android, CLI and .NET clients.
Key features
- 01Measures download, upload, ping and jitter in the browser
- 02Optional IP, ISP and server distance display
- 03Connection stability test with latency chart, loss tracking and CSV export
- 04Multiple points of test can be configured
- 05Storage backends include MariaDB, MySQL, PostgreSQL, SQLite and MSSQL
- 06Docker image available
Use cases
- Running a speed test server for an office, school or ISP-independent network
- Checking connection quality and latency stability over time
- Embedding a private speed test on an internal website
Quick start
- 1
Download the source code and extract it
- 2
Copy the project files to your web server's shared folder, keeping the repository layout
- 3
Visit YOURSITE/speedtest/index.html to run the speed test
Things to know
- Self-hosting requires a PHP (5.4 or newer) and web server setup, such as Apache 2 or nginx.
- Licensed under LGPL-3.0, a copyleft license.
In collections
Topics
FAQ
- What is speedtest?
- A self-hosted, browser-based internet speed test written in JavaScript, measuring download, upload, ping and jitter. LibreSpeed is a lightweight internet speed test that runs in the browser using XMLHttpRequest and Web Workers, without Flash, Java or WebSocket. It measures download and upload speed, ping and jitter, and can optionally show IP address, ISP and distance to the server.
- Is speedtest free to use? What license does it have?
- speedtest is open source under the LGPL-3.0 license. Check the license terms before using it in commercial products.
- Is speedtest still maintained?
- Actively maintained. The last commit to speedtest was on Oct 22, 2026.
- What can I use speedtest for?
- Running a speed test server for an office, school or ISP-independent network Checking connection quality and latency stability over time Embedding a private speed test on an internal website
- How do I install speedtest?
- Download the source code and extract it Copy the project files to your web server's shared folder, keeping the repository layout Visit YOURSITE/speedtest/index.html to run the speed test
- Where can I get speedtest?
- The source code and installation instructions are on GitHub: https://github.com/librespeed/speedtest
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Self-hosted software that runs scheduled internet speed tests and keeps the results for a configurable retention period.
A self-hosted app that schedules regular internet speed tests and tracks download, upload, ping and uptime history over time.
A Rust-based ping tool that pings multiple hosts concurrently with real-time charts, TCP ping, and Prometheus exporter mode.
Nagios Core is a C-based host, service and network monitoring program with an optional web interface for status and history.
Open-source online survey platform (PHP) for building surveys with conditional logic, branching, multilingual support and GDPR-oriented data handling.