LibreSpeed
LibreSpeed is a lightweight, open-source, self-hosted internet speed test implemented in JavaScript. It measures download, upload, ping and jitter and supports PHP/Node backends and Docker deployment.

LibreSpeed is a lightweight, open-source internet speed test implemented in JavaScript for modern browsers. It provides an embeddable, self-hosted HTML frontend that performs download, upload, ping and jitter measurements and can optionally store results and telemetry on a backend server. (github.com)
Key Features
- Browser-based speed tests using XMLHttpRequest and Web Workers for parallel transfers and measurement accuracy. (github.com)
- Measures download throughput, upload throughput, ping and jitter; can optionally show ISP and approximate location. (github.com)
- Multiple backend options (PHP is the primary backend; additional backends and implementations exist) and optional database storage for results (MariaDB/MySQL, PostgreSQL, SQLite supported). (github.com)
- Official Docker image and Dockerfile for easy deployment and regular updates. (github.com)
Use Cases
- Deploy a private speed-test endpoint for internal network monitoring and SLA validation. (github.com)
- Provide a public community speed-test instance for an ISP, campus, or hosting provider to show real-world throughput and latency. (github.com)
- Integrate periodic speed checks into infrastructure monitoring workflows (store results in a database and ingest into dashboards). (github.com)
Limitations and Considerations
- Node.js backend: a partial Node.js implementation exists but is marked "not recommended" in the repository; PHP remains the primary backend. (github.com)
- High-throughput tests can be limited by server/hosting TLS termination or proxy configuration; community reports indicate HTTPS/proxy setups may reduce measured throughput compared to direct HTTP in some environments. Evaluate TLS offloading and proxy performance if you need gigabit-level results. (reddit.com)
LibreSpeed is a pragmatic, minimal dependency speed-test you can run on your own infrastructure to measure throughput and latency without third-party telemetry. It is actively maintained with releases and a Docker image for straightforward deployment, and supports multiple storage backends for result retention and analysis. (github.com)




