Ana Sayfa / Kod ve Scriptler / Statuspage - Uptime and Incident Updates

Statuspage - Uptime and Incident Updates

Statuspage; hizmetleri izler, çalışma süresi geçmişini ve olay güncellemelerini yayımlar.

  • Yayın tarihi10 Kasım 2026
  • Paket içeriği.css, .html, .ts, .tsx, .json, JavaScript .js
  • Son güncelleme10 Kasım 2026
  • Canlı demoVar
Statuspage - Uptime and Incident Updates

Overview

Know before your customers do.

Statuspage is a self-hosted uptime monitor with a zero-login public status page. It runs HTTP, keyword and TCP checks on a schedule, keeps 90 days of daily uptime buckets, suppresses single-blip flaps, and turns an outage into a public incident timeline with updates your customers can follow.

What you get

  • HTTP, keyword and TCP monitors with interval, timeout, expected status and region selection
  • In-process scheduler — no cron, no external worker
  • 90-day daily uptime bars, average latency and per-monitor history
  • Flap suppression: consecutive-failure threshold plus a jitter window
  • Public page at /s/<slug>: name, headline, brand colour, support URL, no login
  • Incident timeline: open, post investigating/identified/monitoring updates, resolve
  • “Generate from checks” writes a narrative from the selected monitors’ probe history
  • Subscriber form and server-side subscriber log
  • React 18 + Vite + TypeScript UI; Express + one atomic JSON file; Docker one-liner
  • 98 automated tests, ~99.6% line coverage

What is real and what is a demo

  • Real: the HTTP/keyword/TCP checker, scheduler, uptime math, incident timeline, public page, subscriber storage.
  • Demo on first boot: the four seeded monitors use deterministic simulated probes on .test hostnames and never touch the network. Delete them and add your own targets.
  • Regions: US East / EU West / AP South are simulated latency offsets on one machine, not distributed agents.

Admin security

The admin console has no login in this version. DEPLOYMENT.md includes the exact Nginx Basic Auth configuration that protects / and the admin API while keeping /s/, /api/status/ and /api/subscribe public.

Deployment

Docker one-liner or plain Node 20+. The included DEPLOYMENT.md covers Docker install, Node + nvm, systemd, configuration, real monitor setup, backup/restore, Nginx + HTTPS, updating, a troubleshooting table and a browser verification checklist.

Run it

docker compose up -d --build
# http://localhost:30600

Or locally: npm ci && npm run build && PORT=30600 npm start.

API

GET /api/health · GET /api/dashboard · GET /api/status/:slug · GET/POST /api/monitors · POST /api/monitors/:id/check · GET /api/monitors/:id/results · GET/POST /api/incidents · POST /api/incidents/:id/narrative · POST /api/incidents/:id/resolve · POST /api/subscribe

Features

HTTP, keyword and TCP checks with an in-process scheduler 90-day daily uptime buckets, average latency and per-monitor history Flap suppression: failure threshold + jitter window Zero-login public status page with name, slug, brand colour and support URL Incident timeline: open, post updates, generate from checks, resolve Subscriber log for incident updates (email delivery simulated) React + Node + one JSON store; Docker one-liner; no database or cron 98 automated tests, 99.6% line coverage

Requirements

Node.js 20+ (22 recommended) or Docker 24+. No database, no external services. A writable data/ directory. Outbound network access to the targets you monitor. Demo monitors are deterministic simulations and never touch the network; delete them and add real targets. The three regions are simulated latency offsets on one machine, not distributed probes. Subscriber email delivery is simulated. The admin console is unauthenticated by default: protect it (DEPLOYMENT.md section 11).