Sign inSign up

ghosttorment/speedtest_statuspage

By ghosttorment

•Updated about 1 year ago

Runs scheduled speed tests, exposing results through a lightweight self-hosted JSON API

Image
Networking
Internet of things
Monitoring & observability
0

1.1K

ghosttorment/speedtest_statuspage repository overview

⁠📡 Speedtest Statuspage

A lightweight self-hosted service that runs scheduled speed tests at configurable intervals and exposes results via a simple JSON API.


⁠🚀 Features

  • Runs speed tests periodically based on configured interval
  • Exposes a single API endpoint /speed returning the latest test results in JSON
  • Built in Rust for performance and safety
  • Minimal Alpine-based container image
  • Runs as a non-root user inside the container

⁠🐳 Usage

Run the container with environment variables to configure the server and test interval:

docker run -d \
  -p 8080:8080 \
  -e BIND_ADDRESS=0.0.0.0 \
  -e BIND_PORT=8080 \
  -e INTERVAL_MINUTES=60 \
  ghosttorment/speedtest_statuspage:latest

⁠⚙️ Configuration Environment Variables

VariableDescriptionDefault
BIND_ADDRESSAddress to bind the HTTP server to127.0.0.1
BIND_PORTPort for the HTTP server8080
INTERVAL_MINUTESMinutes between running speed tests60

⁠📡 API Endpoint

  • GET /speed — Returns the latest speed test results as JSON.

⁠🔒 Security & Design

  • Built with Rust ensuring memory safety and performance
  • Runs as non-root user inside a minimal Alpine Linux container
  • No web UI included — designed for API consumption

⁠📜 Licenses

  • Apache License 2.0
  • MIT License

Tag summary

Content type

Image

Digest

sha256:323f09d33…

Size

23.2 MB

Last updated

about 1 year ago

docker pull ghosttorment/speedtest_statuspage