Proposal: alternative "better" versions of the speed test and stability pages
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- css, html, javascript
- 领域
- frontend
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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)
- 主要语言
- JavaScript
- 星标
- 15.3k
- 派生
- 2.5k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
librespeed/speedtest 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
librespeed/speedtest#880 ·
-
Add support for Open Container Initiative (OCI) image format within the Docker artifact integration未关闭
难度 4/5 3-5 天 新手友好度 28/100
librespeed/speedtest#879 ·
-
难度 3/5 1-2 天 新手友好度 72/100
librespeed/speedtest#877 ·
-
难度 4/5 3-5 天 新手友好度 35/100
librespeed/speedtest#876 ·
-
难度 2/5 1-3 小时 新手友好度 42/100
librespeed/speedtest#875 ·
查看 librespeed/speedtest 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
ClouGence/open-cdm#487 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
cloudflare/workers-sdk#17159 ·
维护者通常 1 天内回复
-
size:S
难度 2/5 1-3 小时 新手友好度 72/100
blackie0424/tao_among#184 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
open-webui/open-webui#35045 · 1 条评论 ·
维护者通常 1 天内回复
-
[Type] Bug Gutenberg iOS
难度 2/5 1-3 小时 新手友好度 62/100
wordpress-mobile/GutenbergKit#942 ·
维护者通常 1 天内回复