selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

LibreSpeed logo

Self-host LibreSpeed

v6.3.1

Browser speed test with download, upload, ping and jitter

ReleaseOpen SourceLGPL-3.0
docker run -p 80:8080 -d --name speedtest --rm ghcr.io/librespeed/speedtest
Updated2 weeks ago
LanguageJavaScript
Setup difficultyEasy
MobileResponsive
ThemeDark mode
Stars
15 285
Port
8080 (Included web server inside the container (UI, backend files and stats page); mapped with docker -p, e.g. 80:8080)
Docker
ghcr.io/librespeed/speedtest
Screen recording of a speed test run across multiple points of test

What is LibreSpeed?

LibreSpeed is a lightweight Internet speed test that runs in the browser with Web Workers and XMLHttpRequest, so it needs no Flash, Java or WebSocket support. It reports download and upload throughput together with ping and jitter, and can optionally show the client's IP address, its ISP and the distance to the server. Optional telemetry stores every run in a database behind a password-protected stats page, and each test can produce a shareable result image. A single frontend can pick the best of several test backends (multiple points of test), while a separate stability page repeats ping measurements over a chosen period and charts latency, packet loss and jitter, with warning thresholds and spreadsheet export. The PHP implementation is the main one; community backends exist for Go and Rust, with a partial Node.js branch. Self-hosting means copying the files onto a web server with PHP 5.4 or newer, or running the ghcr.io Docker image, which can operate as standalone, backend, frontend or dual node. Telemetry counts as personal data under GDPR, so the bundled privacy policy and the contact email have to be edited before you offer the test publicly.

LibreSpeed alternatives

Should you self-host LibreSpeed?

LibreSpeed scores 73/100 on selfhost.directory (how scoring works) and ranks #2 of 20 in Network Utilities. It has 15 285 GitHub stars, +72 in the last 30 days.

It shipped 10 stable releases in the past year. The latest, v6.3.1, came out on 21 October 2026. New versions land roughly every 3 weeks.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is LGPL-3.0-licensed and written mostly in JavaScript.

Its closest alternative on selfhost.directory is MyIP (75/100, 12 341 stars). It scores higher overall, so compare the two before you pick. See LibreSpeed vs MyIP side by side.

Features

  • Backend-less static modeDownload, upload and ping/jitter only
  • Classic and modern web UIs
  • Configurable test duration and order
  • Connection Stability Test
  • CSV export of stability samples
  • Download Speed Test
  • Embeddable JavaScript API
  • IP, ISP and distance detectionOptional; distance needs an ipinfo.io API key
  • Multiple points of testOptional
  • Ping and jitter testNot an actual ICMP ping
  • Shareable result imagesOptional; requires FreeType 2 and the PHP gd library
  • Telemetry / result storageOptional; sqlite by default, MySQL/PostgreSQL/MSSQL supported
  • Upload Speed Test

LibreSpeed README

LibreSpeed Logo

LibreSpeed

No Flash, No Java, No Websocket, No Bullshit.

This is a very lightweight speed test implemented in Javascript, using XMLHttpRequest and Web Workers.

How to install LibreSpeed

Install LibreSpeed with Docker

Docker; image ghcr.io/librespeed/speedtest
Environment variables
MODE, TELEMETRY, PASSWORD, WEBPORT, DB_TYPE, IPINFO_APIKEY
docker run -p 80:8080 -d --name speedtest --rm ghcr.io/librespeed/speedtest

Default is to run in standalone mode; an Alpine Linux variant is published under tags with the -alpine suffix

How to configure LibreSpeed

  • MODEstandaloneDocker operating mode: standalone, backend, frontend or dual

    values: standalone, backend, frontend, dual

  • TITLELibreSpeedTitle of your speed test
  • TAGLINENo Flash, No Java, No Websockets, No Bullsh*tSlogan shown below the heading on the modern frontend (index-modern.html)
  • USE_NEW_DESIGNfalseWhen true, enables the new modern frontend design instead of the classic one

    values: true, false

  • SERVER_LIST_URLLoad the server list from this URL instead of the generated or mounted server-list.json

LibreSpeed releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Network Utilities

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…