Tired of using 3rd party speed test websites that are riddled with ads and pop-ups? Looking for a solution you can self host on your own NAS or server?

Librespeed is a very lightweight Speedtest implemented in Javascript, using XMLHttpRequest and Web Workers.

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

Features

Download

Upload

Ping

Jitter

IP Address, ISP, distance from server (optional)

Telemetry (optional)

Results sharing (optional)

Multiple Points of Test (optional)

By now I’ll assume you already know how to install Docker on Synology and pull an image down. So I’ll spare you the first couple steps.

Step 1. Launch Docker on your Synology NAS and head to the Registry and search for “librespeed”. Now Download the linuxserver/librespeed image.

Step 2. Click the Container tab. Wait for the image to download then launch it to begin building the container. On the General settings page, click Advanced Settings and continue on.

Step 3. Tick “Enable auto-restart” then move on to the Volume tab. Here we have to map a folder to the config files for LibreSpeed. Click “Add Folder” then create a folder called librespeed within the docker folder. Now click select so we can map the folder.

Step 4. Add /config as the mount path as pictured below. Now move on to the Port Settings tab.

Step 5. LibreSpeed container ships on port 80 and 443. We can add our own ports to avoid conflict with other web applications here in the Port Settings.

Step 6. Click the blue Apply button and finish the wizard then start the container.

Now you can open https://your_nas_ip_here:8001 or http://your_nas_ip_here:8181 to try it out!

I will mention before closing, that your results will vary depending on hardware. For example, I tried this on a VM with much less CPU and RAM and had much lower results in speed. Just keep that in mind when using this application.

Extras

You can add a PASSWORD environment variable to access previous results.

Then visit http://your-nas-ip-here:8181/results/stats.php

Install via Docker-Compose

Compatible with docker-compose v2 schemas.

--- version: "2.1" services: librespeed: image: linuxserver/librespeed container_name: librespeed environment: - PUID=1000 - PGID=1000 - TZ=Europe/London - PASSWORD=PASSWORD - DB_TYPE=sqlite #optional - DB_NAME=DB_NAME #optional - DB_HOSTNAME=DB_HOSTNAME #optional - DB_USERNAME=DB_USERNAME #optional - DB_PASSWORD=DB_PASSWORD #optional volumes: - /path/to/appdata/config:/config ports: - 80:80 restart: unless-stopped

More about LibreSpeed

GitHub Repo – Demo Website