Перейти к содержимому

My self-hosted, uptime monitor + status page (Vue, Fastify, Postgres) - Thanks ‪@zeropsio‬

Eleftheria Batsou

0:00 / 0:00

My self-hosted, uptime monitor + status page (Vue, Fastify, Postgres) - Thanks ‪@zeropsio‬

858 просмотров · 7 дней назад
Eleftheria Batsou
6,95 тыс. подписчиков
858 просмотров · 7 дней назад
I built a self-hosted uptime monitor and public status page, think UptimeRobot or BetterStack, but mine (and yes, quite simpler as far as features are concerned) and the infrastructure took about three minutes to set up. Here's the full build and the tooling that made it fast. 🔧 THE STACK • Vue 3 + Vite + TypeScript (Composition API) • Fastify + TypeScript API with WebSocket push • Separate Node.js worker running scheduled checks • PostgreSQL 18 — time-series store with hourly rollups • Valkey 7.2 — status cache, pub/sub, and distributed locks • All running on Zerops ⚡ WHAT IT DOES • Monitors endpoints on a per-monitor schedule (30s → 1h) • HTTP and keyword monitoring (keyword exists / does not exist) • Retries once before declaring DOWN, so no false alarms • Opens and closes incidents automatically, with durations • Real-time dashboard updates over WebSockets — no polling • Hourly rollups + retention pruning so long-range charts stay fast • Brandable public status pages you can share ⏱️ CHAPTERS 0:00 What I built 0:50 Features — checks, incidents, charts 2:08 Architecture — API, worker, Postgres, Valkey 3:00 How ZCP set up 6 services in 3 minutes 4:10 What this costs you without it 5:20 Try it yourself 🔗 LINKS Zerops → https://zerops.io Zerops docs → https://docs.zerops.io Check out the project: https://appstage-2906-3000.prg1.zerop... Questions about the build? Drop them in the comments. 💬 Find me X: https://x.com/BatsouElef LinkedIn:   / eleftheriabatsou   Thanks for watching! Like 👍 Subscribe 🔔 and tell me what you'd build. #webdev #typescript #vuejs #devops #selfhosted