R u ded? Performant and lightweight uptime and health check monitor written in go.
Find a file
2026-11-08 00:31:09 +03:00
internal Add favicon 2026-11-08 00:31:09 +03:00
.env.example Init 2026-11-01 13:11:54 +00:00
.gitignore Update 2026-11-07 15:22:48 +03:00
CONFIGURATION.md Update 2026-11-07 15:22:48 +03:00
docker-compose.cloudflared.yml Update 2026-11-07 15:22:48 +03:00
docker-compose.yml Update 2026-11-07 15:22:48 +03:00
Dockerfile Update 2026-11-07 15:22:48 +03:00
go.mod Update 2026-11-07 15:22:48 +03:00
go.sum Update 2026-11-07 15:22:48 +03:00
LICENSE Initial commit 2026-11-01 15:27:51 +03:00
main.go Add favicon 2026-11-08 00:31:09 +03:00
README.md Update 2026-11-07 15:22:48 +03:00
rud.json Update 2026-11-07 15:22:48 +03:00

R u ded? (rud)

Lightweight uptime monitor and health checker written in Go by [tyuXX] (git.gsdistance.org/tyuXX/RUD).

Mainly created for use in GsDistance.org.

Compiles to a single static binary, checks http/https, tcp, ping, dns, and cmd targets, sends declarative alerts (webhooks/commands), and serves a minimal status page plus JSON health output — all configured through one rud.json file. Full check history is kept in daily JSONL logs (zstd-compressed) and a SQLite stats database, viewable per-monitor at /monitor.


Quick Start

Standalone binary

go build -trimpath -ldflags="-s -w" -o rud .
./rud -config rud.json   # auto-generates rud.json if missing

Then open http://localhost:8080/ (HTML) or http://localhost:8080/?format=json (JSON).

Docker Compose

docker compose up -d --build   # exposes port 8080, persists ./data

Docker Compose + Cloudflare Tunnel (no exposed ports)

cp .env.example .env           # set TUNNEL_TOKEN=...
docker compose -f docker-compose.cloudflared.yml up -d --build

Point your tunnel's public hostname at http://rud:8080.


Configuration

See CONFIGURATION.md for the full rud.json reference — monitors, check methods, alert events, page elements, and storage/history options.


License

MIT — Created by tyuXX for GsDistance.org.