Overview
Toaster is a lightweight, frontend-only internet speed test that measures download speed in real time. The test starts automatically on page load and presents a clean, minimal result without user interaction.
How It Works
Toaster measures download speed by requesting data from Cloudflare’s speed test endpoints and calculating throughput over time. Multiple samples are collected and averaged to produce the final Mbps value.
Test Behavior
- Automatically starts on page load
- Runs for 8 seconds
- Displays live Mbps updates during the test
- Shows the final averaged Mbps when complete
- Status text updates to indicate completion
Speed Warnings
If the final average speed is 50 Mbps or below, Toaster displays a notification indicating that the connection may be slow or unstable.
File Structure
index.html
styles.css
script.js
docs.html
docs.css
Deployment
Toaster can be deployed on any static hosting service such as GitHub Pages, Netlify, Vercel, or Cloudflare Pages. No build step or server is required.
Limitations
- Download speed only
- Frontend-only testing limitations
- Results depend on browser and device performance
Credits
Speed test data is provided by Cloudflare Speed Test endpoints.