BSD Ports

www/librespeed 5.4.1 DragonFly

Lightweight selfhosted speedtest

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
LGPL3
Categories
net, www
Package size
10117.6 KiB, 51499.2 KiB installed

Description

LibreSpeed is a very lightweight Speedtest. LibreSpeed is implemented in Javascript, using XMLHttpRequest and Web Workers. It can be self hosted with the option to store results in a backend database.

In the other systems

SystemPortVersion
DragonFlywww/librespeed5.4.1
FreeBSDwww/librespeed6.3.1
HardenedBSDwww/librespeed6.3.0
GhostBSDwww/librespeed6.3.0

Install

Binary package:

pkg install librespeed-php81

From DPorts:

cd /usr/dports/www/librespeed && make install clean

Dependencies

Run dependencies 4

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
librespeed-php82-5.4.1, librespeed-php83-5.4.1, librespeed-php84-5.4.1

Message after installing

You can mostly follow the guide on: https://fdossena.com/speedtest/qs_v5_ubuntu1904.webm
For more advanced docs: https://github.com/librespeed/speedtest/blob/master/doc.md

Copy your preferred example from /usr/local/share/examples/librespeed to /usr/local/www/librespeed/index.html.
A default is provided. To use the backend (i.e. telemetry) feature, be sure to copy a -full example and rebuild
the port with backend support.

	cd /usr/local/share/examples/librespeed
	cp -a example-singleServer-full.html /usr/local/www/librespeed/index.html

The next step is to install and setup a web server with PHP to serve the content.

If you are uninstalling librespeed permanently,
and you do *NOT* want to retain the configured landing page and config files,
you should manually remove /usr/local/www/librespeed.