A modern, self-hostable web UI for managing NATS clusters. Monitor your JetStream streams, KV stores, and cluster health in real-time.
100% Vibe Coded - This entire codebase was written by Claude Code with my guidance and direction. I wrote zero lines of code, just provided requirements, feedback, and design decisions. Took a few hours. I expect you will self host this and run on your own machine. If anything doesn't work make a bug report or PR.
- Fleet overview - One screen for every cluster: health, throughput, connections, storage, consumer backlog, the busiest streams and a plain-language list of what needs attention
- Health insights - Automatic findings for unreachable servers, lost JetStream leaders, offline or lagging replicas, storage filling up, stalled consumers, slow consumers, cluster partitions and more
- Metric history - Message, data, connection, CPU, memory and backlog charts from the last 15 minutes up to 7 days, stored locally in SQLite
- Servers & topology - Per-server resources and a live map of routes, gateways and leafnodes with round-trip times
- Connections - Every client with live publish/receive rates, its subscriptions, and recently closed connections with the reason they ended
- JetStream - Streams with ingest rate and replica health, consumers ranked by backlog, meta group status, per-account usage
- Live Tail - Subscribe to any subject from the browser, inspect messages, publish or make requests
- Alerts - Rules on 14 metrics (rates, servers down, consumer backlog, storage, CPU...) with a hold time to ignore spikes, delivered to Telegram, Discord, Slack or a webhook
- Management - Create and browse streams, consumers, KV buckets and object stores
- Multi-cluster - Token and username/password authentication, dark and light themes, keyboard shortcuts and a command palette (
Cmd/Ctrl+K)
docker run -d \
-p 3000:3000 \
-v nats-eye-data:/app/data \
--name nats-eye \
ghcr.io/dreson4/nats-eye:latestThen open http://localhost:3000 in your browser.
services:
nats-eye:
image: ghcr.io/dreson4/nats-eye:latest
ports:
- "3000:3000"
volumes:
- nats-eye-data:/app/data
restart: unless-stopped
volumes:
nats-eye-data:| Environment Variable | Default | Description |
|---|---|---|
PORT |
3000 |
Server port |
SECURE_COOKIES |
false |
Set to true if using HTTPS |
DATA_DIR |
./data |
Where the SQLite database is stored |
POLL_INTERVAL_MS |
5000 |
How often server metrics are collected |
DETAIL_INTERVAL_MS |
15000 |
How often JetStream, route and account details are collected |
METRICS_RETENTION_DAYS |
7 |
How long metric history is kept |
LOG_REQUESTS |
false |
Set to true to log every HTTP request in production |
- Open NATS Eye in your browser
- Create an admin account on the setup page
- Add your first NATS cluster (use
ws://orwss://WebSocket URLs) - Add the cluster's monitoring URLs to unlock metrics, history, topology and alerts
NATS Eye uses two endpoints on your NATS servers:
- WebSocket - for managing streams, KV and object stores, and for Live Tail
- HTTP monitoring - for server metrics, connections, topology and health checks. NATS Eye polls it from the backend, so it only needs to be reachable from where NATS Eye runs, not from your browser
# nats-server.conf
http_port: 8222
websocket {
port: 8080
no_tls: true # Use TLS in production!
}For a cluster, add the monitoring URL of every server (for example http://nats-1:8222, http://nats-2:8222). A cluster without monitoring URLs still works, with basic up/down checks and JetStream totals only.
# Install dependencies
bun install
# Run the API server (port 3000) and, in a second terminal, the frontend (port 5173)
bun run dev
bun run dev:client
# Type-check and run the tests
bun run typecheck
bun run test
# Build for production
bun run build- Frontend: React, TanStack Router/Query, Tailwind CSS, Shadcn UI
- Backend: Bun, Hono
- Database: SQLite (bun:sqlite)
- NATS: nats.ws (WebSocket client)
MIT