# R u ded? (`rud`) Lightweight uptime monitor and health checker written in Go by [tyuXX] ([git.gsdistance.org/tyuXX/RUD](https://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 ```bash 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 ```bash docker compose up -d --build # exposes port 8080, persists ./data ``` ### Docker Compose + Cloudflare Tunnel (no exposed ports) ```bash 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`**](./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**.