Skip to content
kebabmarioPublic

About

A fast, minimal internet speed test

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

Toaster logo

Toaster

A fast, minimal internet speed test that runs entirely in your browser.
Run a test · Report a bug · Request a feature

MIT license

About

Toaster measures your connection the moment the page opens. There is nothing to install and no account to make. Results can be a little off compared to dedicated tools, since everything runs in the browser.

It measures:

  • Download speed, shown live as the test runs
  • Latency, with the connection idle
  • Latency under load, which shows bufferbloat
  • Upload speed
  • Connection details: your public IP, provider, the Cloudflare edge you reached, and approximate location

How it works

Speed and latency come from Cloudflare's speed test endpoints. Toaster downloads and uploads test data for a few seconds and averages the fastest samples, so a slow first request does not drag the result down.

Connection details come from these services:

Data Source
Public IP ipify
Provider and location ipwho.is, with ipapi.co as a fallback
Cloudflare edge Cloudflare /meta

Note

Your browser contacts these services directly, so each one sees your IP address. Toaster has no server and stores nothing.

Development

Toaster is built with Next.js and React, and hosted on Vercel.

Requirements: Node.js 20 or newer.

git clone https://github.com/kebabmario/toaster.git
cd toaster
npm install
npm run dev

Then open http://localhost:3000.

Command What it does
npm run dev Starts a local server with hot reload
npm test Runs the unit tests
npm run build Builds the site for production

Project structure

app/
  SpeedTest.jsx     The page: readout, speed trace, results
  globals.css       All styles and the color palette
  icon.svg          Logo and favicon
  layout.js         Fonts and page metadata
lib/
  speedtest.mjs     Measurement logic, no UI
public/             Static files copied as is
legacy/             The previous plain HTML version

Deployment

Vercel deploys every push to main to production. Pull requests get their own preview deployment.

Contributing

Contributions are welcome. Read the contributing guide to get started, and follow the code of conduct.

To report a security problem, follow the security policy. Do not open a public issue.

Developers

Repobeats analytics

Other projects

Check out atmos, a simple, lightweight weather website.

License

Toaster is released under the MIT License.

About

A fast, minimal internet speed test

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages