librespeed / speedtest

Self-hosted Speed Test for HTML5 and more. Easy setup, examples, configurable, mobile friendly. Supports PHP, Node, Multiple servers, and more

Home Page:https://librespeed.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Make test parameters easily configurable

zenflow opened this issue · comments

Description

We have these parameters for configuring the speed tests:
https://github.com/librespeed/speedtest/blob/master/doc.md#test-parameters

But to set them, we need to customize the frontend.

In that case, we can't really use the frontend provided in the Docker image.. we could copy the source to our project and make the modifications and overwrite the file when building our custom Docker image, but then upgrades become tedious because every time we upgrade we need to review and merge any upstream updates with our own modifications - not ideal.

It would be really great if we could set the parameters more easily.

Why it should be implemented

It would benefit everyone who wants to configure the test parameters but doesn't want to maintain a whole frontend.

Optional: implementation suggestions

I think ideally we would be able to configure these parameters the same way we're able to configure servers, i.e. with a JSON file that we add to our docker image (or could even just be mounted with a file in the host filesystem).

@adolfintel What do you think of this feature request? Good idea?
Would you review/merge a PR for it?

@zenflow Yes, I'd be happy to take a look at it