OpenSpeedTest

A browser based network performance estimation tool using vanilla JavaScript and built in web APIs.

OpenSpeedTest is an open-source, self-hosted network performance estimation tool. It operates as a web application that allows users to measure bandwidth and latency directly through a web browser without requiring client-side software or plugins. The tool utilizes vanilla JavaScript and built-in web APIs, such as XMLHttpRequest, to perform measurements without the need for third-party frameworks or libraries.

The application is deployed as a set of static files on a web server or via a Docker container. It supports various server environments including Nginx, Apache, IIS, and Express, provided they support HTTP/1.1 or newer. Because it relies on static HTML, CSS, and JavaScript, it can be run on any local area network or wide area network with or without an active internet connection, making it suitable for isolated environments.

Key features

  • Bandwidth estimation using vanilla JavaScript and built-in Web APIs
  • Stress test mode for continuous speed testing over specified durations
  • Automatic test execution on page load via URL parameters
  • Ability to save test results to an external database
  • Support for multiple server lists with automatic latency-based selection
  • Adjustable parallel HTTP connection limits and overhead compensation
  • Customization of ping sample sizes and timeout thresholds
  • SVG-based user interface for compatibility across different display resolutions

The software is designed for high performance and low resource consumption, with a script size under 8kB gzip. It is intended for network administrators and users who need a secure, lightweight way to monitor network throughput. The architecture avoids third-party frameworks to minimize security vulnerabilities and ensure compatibility with browsers from IE10 onwards. For large-scale deployments, the project provides a Docker image based on an unprivileged Nginx alpine image to further reduce the resource footprint and improve security.

OpenSpeedTest serves as a utility for infrastructure and performance monitoring in both small-scale and large-scale headless deployments.

Last Modified
Software TypeWeb App / Server
Platform
Last Activity3 months ago
Repository Age5 years
LicenseMIT
Open Source Alternative to
Open Source Software.io

Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.