Giter Site home page Giter Site logo

jaithc / speedtest-x Goto Github PK

View Code? Open in Web Editor NEW

This project forked from badapple9/speedtest-x

0.0 0.0 0.0 73 KB

Self-hosted speedtest, an extended project of https://github.com/librespeed/speedtest

License: GNU Lesser General Public License v2.1

PHP 52.05% HTML 6.73% JavaScript 41.22%

speedtest-x's Introduction

speedtest-x

本仓库为 LibreSpeed 的延伸项目,LibreSpeed 是一个非常轻巧的网站测速工具。

speedtest-x 使用文件数据库来保存来自不同用户的测速结果,方便您查看全国不同地域与运营商的测速效果。

扩展细节

  • 用户测速会上传测速记录并保存至网站服务器
  • 不依赖 MySQL,使用文件数据库
  • IP 库改用 ip.sb,运营商记录更为精确

恰饭

Jetbrains 全家桶教育许可,正规国内大学渠道,9.9 元,购买地址:https://xiaozhu.win

部署与使用

常规部署

1、下载本仓库并解压到网站目录,访问 {域名}/index.html 进行测速

2、打开 {域名}/results.html 查看测速记录

Tips:修改 backend/config.php 中的 MAX_LOG_COUNT 可定义最大可保存多少条测速记录

Docker 部署

1、拉取 Docker 镜像 docker pull badapple9/speedtest-x

2、运行容器 docker run [-d] -p 9001:80 -it badapple9/speedtest-x

-d:以常驻进程模式启动

9001: 默认容器开放端口,可改为其他端口

3、访问 {IP}:{端口}/index.html 进行测速

环境要求

  • PHP 5.6+

截图

index results

更新记录

2020/11/19

Docker 镜像上线 https://hub.docker.com/r/badapple9/speedtest-x

2020/11/18

上报速度与延迟值强制使用浮点类型,修复结果页表格按照下载速度或 ping 值排序错误的问题

2020/11/16

优化测速结果上报频率

掩去测速结果 IP D 段

2020/11/13

Release

鸣谢

speedtest-x's People

Contributors

badapple9 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.