HiveStatus
A modern, hexagonal monitoring dashboard frontend for Gatus. This application acts as a proxy and visualization layer, fetching status data from a Gatus instance and displaying it in a responsive, auto-refreshing honeycomb grid.
Features
- Hexagonal Grid UI: Visually distinct status indicators (Green for Up, Red for Down).
- Grouped Services: Automatically groups services based on their key prefix (e.g.,
core_api -> Group "Core").
- Dark/Light Mode: Automatically adapts to your system's color scheme.
- Responsive Design: "Honeycomb" packing adapts perfectly to various screen sizes, from mobile to ultra-wide monitors.
- Auto-Refresh: Updates status every 60 seconds.
- Rust Backend: Fast, lightweight proxy using
Axum to handle CORS and serve static files.
Prerequisites
- Rust: (For local compilation) v1.70+
- Docker & Docker Compose: (For containerized deployment)
Configuration
The application is configured via environment variables:
| Variable |
Description |
Default |
APP_GATUS_URL |
The base URL of your Gatus instance. |
https://status.twin.sh |
APP_PAGE_TITLE |
The title of the HTML page. |
HiveStatus |
APP_PORT |
The port the server will listen on. |
3000 |
APP_HOST |
The host address the server will bind to. |
0.0.0.0 |
APP_LOG_LEVEL |
The verbosity of application logs (info, debug, warn, error). |
info |
APP_REFRESH_INTERVAL_MS |
The data refresh interval in milliseconds. |
60000 |
APP_FOOTER_TEXT |
Custom footer HTML (replaces "Powered by HiveStatus"). |
Powered by <a href="...">HiveStatus</a> |
Installation & Running
Option 1: Docker Compose (Recommended)
You can run HiveStatus easily using the pre-built image from GitHub Container Registry.
Create a docker-compose.yml file:
version: '3.8'
services:
hive-status:
image: ghcr.io/adeekshith/hivestatus:latest
ports:
- "${APP_PORT:-3000}:${APP_PORT:-3000}"
environment:
- APP_GATUS_URL=${APP_GATUS_URL:-https://status.twin.sh}
- APP_PAGE_TITLE=${APP_PAGE_TITLE:-HiveStatus}
- APP_PORT=${APP_PORT:-3000}
- APP_HOST=${APP_HOST:-0.0.0.0}
- APP_LOG_LEVEL=${APP_LOG_LEVEL:-info}
- APP_REFRESH_INTERVAL_MS=${APP_REFRESH_INTERVAL_MS:-60000}
- APP_FOOTER_TEXT=${APP_FOOTER_TEXT:-}
restart: unless-stopped
Start the container:
docker-compose up -d
Open http://localhost:${APP_PORT:-3000} in your browser.
Option 2: Run with Docker (Quick Start)
Run the dashboard with a single command:
docker run -d -p 3000:3000 \
-e APP_GATUS_URL="https://your-gatus-instance.com" \
-e APP_PAGE_TITLE="My Custom Status" \
-e APP_PORT="3000" \
-e APP_HOST="0.0.0.0" \
-e APP_LOG_LEVEL="info" \
-e APP_REFRESH_INTERVAL_MS="30000" \
ghcr.io/adeekshith/hivestatus:latest
Option 3: Local via Cargo
Navigate to the project directory:
cd hive-status
Run the application with your desired configuration:
# Linux/Mac
export APP_GATUS_URL="https://your-gatus-url.com"
export APP_PAGE_TITLE="My Status Page"
export APP_PORT="8080"
export APP_LOG_LEVEL="debug"
export APP_REFRESH_INTERVAL_MS="15000"
cargo run
# Windows (PowerShell)
$env:APP_GATUS_URL="https://your-gatus-url.com"
$env:APP_PAGE_TITLE="My Status Page"
$env:APP_PORT="8080"
$env:APP_LOG_LEVEL="debug"
$env:APP_REFRESH_INTERVAL_MS="15000"
cargo run
Compilation (Static Binary with musl)
The included Dockerfile builds a static binary using musl on Alpine Linux.
Build the Docker image:
docker build -t hive-status .
Run the container:
docker run -p 3000:3000 -e APP_GATUS_URL="https://your-gatus-url.com" hive-status
Port conflict? If you see Bind for 0.0.0.0:3000 failed: port is already allocated, either stop the process using port 3000 or map to a different host port: docker run -p 8080:3000 hive-status.
Testing
Rust unit and integration tests (via Docker)
docker build -t hivestatus-test --target builder -f- . <<'DOCKERFILE'
FROM rust:alpine AS builder
RUN apk add --no-cache musl-dev gcc ca-certificates
WORKDIR /app
COPY . .
RUN cargo test --release 2>&1
DOCKERFILE
This runs all Rust unit tests (configuration parsing) and integration tests (API endpoints, static file serving, upstream error handling) inside an Alpine container — nothing is installed on your host.
Playwright E2E tests (via Docker Compose)
docker compose -f docker-compose.test.yml up --build --abort-on-container-exit
This spins up two containers:
- app — the HiveStatus server
- e2e — Playwright (Chromium) running browser tests against the app
Tests cover hexagon rendering, status colors, centering, dark mode glow effects, responsive scaling, collapsible groups, and more. All tests run at both desktop (1920x1080) and mobile (375x812) viewports.
Running Playwright tests locally (without Docker)
cd e2e
npm install
npx playwright install chromium
npx playwright test
Note: the app must be running on http://localhost:3000 (or set BASE_URL env var).