speedtest/frontend
Josef Schlehofer 3d1118bc50
feat: add a modern design for the result image
The shared result image had one look, and it no longer matched the modern
frontend.

The renderer can now draw either design. The image follows the same
useNewDesign setting as the frontend, so a deployment has one switch rather
than two that can disagree, and classic remains the fallback.

- An explicit style query parameter overrides it, which is how the modern
  frontend asks for the design it matches.

- The modern design reuses the frontend palette and shows the client, address
  family and timestamp already present in the result data.
2026-08-15 12:29:33 +02:00
..
fonts Implement the new design from #649 (#694) 2026-04-11 23:07:05 +02:00
images Implement the new design from #649 (#694) 2026-04-11 23:07:05 +02:00
javascript feat: add a modern design for the result image 2026-08-15 12:29:33 +02:00
screenshots Implement the new design from #649 (#694) 2026-04-11 23:07:05 +02:00
styling Implement the new design from #649 (#694) 2026-04-11 23:07:05 +02:00
index.html Add internet stability test feature 2026-05-16 18:47:08 +02:00
README.md fix: point the modern frontend at the assets where they actually live 2026-08-10 03:16:26 +02:00

LibreSpeed frontend

This directory contains the modern LibreSpeed UI assets.

Deployment

For installation and deployment, follow the top-level README.md and DESIGN_SWITCH.md. This directory is copied as a whole: index-modern.html loads its assets from frontend/, so the layout here is the layout that gets served.

Configuration

The two configuration files live at the top level rather than here, because the page fetches them relative to itself:

  • ../server-list.json contains the default server list used by the modern UI.
  • ../settings.json overrides selected speedtest_worker.js settings.
  • index.html and ../index-modern.html show how the frontend is wired up.

Notes

  • The modern frontend expects modern browser features and does not support old browsers.
  • This directory does not contain the backend or results-sharing files.