← sources

SpeedKetchup: a 0.23 MB container image that runs a speed test every 10 minutes and charts the results

source: reddit (reddit:selfhosted)published 2026-10-26 14:27ingested 2026-10-27 02:37

retained text

I wanted to know what my internet connection really delivers over weeks, not just at one moment. The existing trackers felt heavy for the job, so I wrote SpeedKetchup.

It's a single statically linked Rust binary of about 200-450 KB, depending on the platform. It has its own [speedtest.net](http://speedtest.net) client, so it doesn't need the Ookla command-line tool. The builtin web page with the charts is built into the binary, and the results go to a plain CSV file. There's no database, no runtime and no base image: the container image is FROM scratch, 0.23 MB in all. On Linux the process uses under 1 MB of memory at all times.

[https://raw.githubusercontent.com/gatispei/speedketchup-files/main/img/ketchup.png](https://raw.githubusercontent.com/gatispei/speedketchup-files/main/img/ketchup.png)



    docker volume create speedketchup
    docker run -p 8080:8080 -v speedketchup:/data gatispei/speedketchup



What you get:

* a test against the nearest [speedtest.net](http://speedtest.net) server every 10 minutes (you can change the interval), or against a server you pick
* speed and latency charts, including latency under load, with daily, monthly, time-of-day and time-of-week averages, and a sortable table of every result
* Prometheus /metrics, InfluxDB (v1, v2, v3), and MQTT with Home Assistant discovery
* builds for amd64, 386, arm64, arm/v6 and MIPS, small enough to run on a router; there's also a QNAP package, a macOS menu bar app and a Windows tray app, which is also in the Microsoft Store

It measures from the machine it runs on to the internet. Your browser only views the results, so run it on something wired to the router (or router itself).

GitHub: [https://github.com/gatispei/speedketchup](https://github.com/gatispei/speedketchup) (GPLv2)

I'd love feedback, especially on what's missing for your setup.

document fetched 2026-10-27 00:30 · canonical https://reddit.com/r/selfhosted/comments/1xfyclz/speedketchup_a_023_mb_container_image_that_runs_a