测速站点

MortyFx dd8bbe1080 Merge branch 'master' of github.com:MortyFx/speedtest-x 7 mēneši atpakaļ
.github 3db2e4b84d chore: rm action env 7 mēneši atpakaļ
backend c02effbabe 测速结果增加线性图表 4 gadi atpakaļ
chartjs e60022778c chart 4 gadi atpakaļ
.gitignore 3c808fad6a 上报记录 4 gadi atpakaļ
LICENSE 87f5682efe Create LICENSE 4 gadi atpakaļ
README.md 9369a2e3b8 chore: add favicon 7 mēneši atpakaļ
README_CN.md 9369a2e3b8 chore: add favicon 7 mēneši atpakaļ
chart.html 9369a2e3b8 chore: add favicon 7 mēneši atpakaļ
favicon.ico 9369a2e3b8 chore: add favicon 7 mēneši atpakaļ
index.html 8122af08d8 Update index.html 7 mēneši atpakaļ
results.html 9369a2e3b8 chore: add favicon 7 mēneši atpakaļ
speedtest.js e4b765d86b update readme 4 gadi atpakaļ
speedtest_worker.js 574c56ecce 下行 garbage.php 文件限制大小至 50M 4 gadi atpakaļ

README.md

GitHub Actions Build Status GitHub last commit GitHub

This project is an extension of LibreSpeed, LibreSpeed is a pretty lightweight speedtest tool.

speedtest-x uses file datebase to save speedtest results from various users. Thus you can check out different results from various countries/regions.

中文文档

Join Telegram group

❗ Warning:Based on the principle of web speedtest, this program will generate garbage files for tester to download them to calculate the downstream network bandwidth from server to local. There may be abuses by malicious tester in a certain extent, after shared your speedtest website in public, please pay attention to the condition of your server traffic to avoid an traffic overload.

Features and extensions

  • Self-hosted lightweight speedtest page
  • User speedtest result datasheet
  • No MySQL, but lightweight file database
  • Use ip.sb to get IP info by default

Quick start

Deploy by Docker (Supported platforms: AMD64/ARM64)
  1. Pull Image docker pull badapple9/speedtest-x
  2. Run container docker run -d -p 9001:80 -it badapple9/speedtest-x (💡 See more parameters Here)
  3. Open {your_ip}:9001

General deploy (Require: PHP5.6+)
  1. Download repository files and unzip to website directory, open {your_domain_name}/index.html.
  2. Open {your_domain_name}/results.html to check out speedtest result datasheet.

Settings

backend/config.php:

MAX_LOG_COUNT = 100:Maximum results size, 100 by default

IP_SERVICE = 'ip.sb':IP info provider (Options: ip.sb / ipinfo.io), ip.sb by default

SAME_IP_MULTI_LOGS = false:Whether to allow the same user IP to record multiple speedtest results, false by default.

Screenshots

index results

See also

Contributors

License

See License