Giter Site home page Giter Site logo

jackieylogan / speedtest-x Goto Github PK

View Code? Open in Web Editor NEW

This project forked from badapple9/speedtest-x

0.0 1.0 0.0 163 KB

A self-hosted speedtest appilication with an awesome test result datasheet.

License: GNU Lesser General Public License v2.1

JavaScript 40.22% PHP 48.39% HTML 11.39%

speedtest-x's Introduction

speedtest-x

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

Optional arguments:

-e MAX_LOG_COUNT=100: Maximum results size, 100 by default

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

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

If you want support IPV6 in a Docker container, edit /etc/docker/daemon.json:

{
  "ipv6": true,
  "fixed-cidr-v6": "fd00::/80",
  "experimental": true,
  "ip6tables": true
}
  1. 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

speedtest-x's People

Contributors

badapple9 avatar hujk avatar amefs avatar

Watchers

James Cloos 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.