Proposal: alternative "better" versions of the speed test and stability pages
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 30/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- css, html, javascript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Start by reviewing the proposed files in frontend/better/ and the described changes to the Dockerfiles and entrypoint.sh; the issue says the implementation already exists on a fork. First get agreement on whether the feature belongs in the repository and whether it should be split into pull requests. Done would mean the agreed pages are shipped without changing the existing pages, with the described tests passing.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
I would like to propose two new pages, index-better.html and stability-better.html: alternative versions of the classic
speed test and of the stability test, with the same features and a different look. They are new files, so the existing
pages (classic, modern, stability) are not touched and nothing changes for anyone who does not open them. The code is in
frontend/better/, with a small change to the Dockerfiles and to entrypoint.sh to ship the two pages.
What they have:
- The same tests as today: the speed test with the server selection and the number of connections, and the stability test
with the server discovery, the target list (local server, Google, Cloudflare, Apple), the alert threshold, the CSV
download and the rating - A round button in the top right corner that opens a panel with every option: light, dark or auto mode, 12 brand colors,
rounding of buttons and boxes, footer style, font set (system, Inter, Sora, Manrope), text size, high contrast and language - Three chart styles on the stability page (polished, bands and uPlot, which is only loaded when chosen)
- A test history that stays in the browser, with the link and the image of each result
- Localization in English, Portuguese, Spanish and Swedish, using the same catalog format as #860 (flat JSON with dotted
keys,data-i18n,data-i18n-attr, the English text kept in the page as the fallback). The Swedish text is the one from #860 - A layout that works on small screens, and canvases (meters and chart) that follow the theme, the text size and high contrast
Everything is saved in the browser, and some options can also be set with URL parameters (?theme=, ?brand=, ?lang=,
?font=, ?chart=, ?footer=).
Why it should be implemented
- People who host their own LibreSpeed (home labs, ISPs, companies) often want a page that fits their site: a brand
color, dark mode, their own language and bigger text for accessibility. Today that means editing the HTML by hand - The options (text size, high contrast, themes, localization) make the speed test easier to use for people who need them
- It is opt-in and additive. The classic and modern pages stay as they are, so there is no risk of changing what
people already use, and the new pages can be removed by deleting the files - The code follows the style of the repository (Prettier, ESLint, Playwright tests) and has no new dependencies, only
two vendored files that are loaded when needed (the fonts, under SIL OFL, and uPlot, under MIT)
Optional: implementation suggestions
I already have this working on a fork, with 23 new Playwright tests; the whole existing suite (57 tests with Docker)
passes and npm run lint shows no new warnings. It is about 5.8 thousand lines in 46 files, but only about 2 thousand are
code (the rest is CSS, the catalogs, the fonts and uPlot).
Because it is a big change I would like to know first what you prefer before opening a pull request:
- Do you want this in the repository at all, or would you rather keep it as a separate project?
- If yes, as one pull request, or split (for example the core pages first, then the theme panel and fonts, then the languages)?
- How do you want the localization to coexist with #860? The catalogs of the new pages are in
frontend/better/locales,
so they do not conflict withfrontend/locales, and they can be merged later
I also have a few smaller improvements for the classic pages that I can send as separate pull requests if you are
interested: a better privacy dialog, text size and high contrast options, an embedded mode, and a test history.
Optional: screenshots
Updated(2026-10-07)
- Ngôn ngữ chính
- JavaScript
- Star
- 15.3k
- Fork
- 2.5k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của librespeed/speedtest
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
librespeed/speedtest#880 ·
-
Add support for Open Container Initiative (OCI) image format within the Docker artifact integrationĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 28/100
librespeed/speedtest#879 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
librespeed/speedtest#877 ·
-
PHP vulnerabilitiesĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
librespeed/speedtest#876 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 42/100
librespeed/speedtest#875 ·
Tất cả issue của librespeed/speedtest
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
louislam/uptime-kuma#8257 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue help wanted translation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100