Skip to content
midnights-ra1nPublic

About

A complete homelab management and monitoring stack

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Nyx

Self-hosted homelab management and monitoring. Written in Rust, light on CPU, RAM and disk, with no third-party requests from the browser.

The monitor's overview

Nyx has three parts. Each one works without the others.

Part What it does Port
Monitor Dashboards, hosts, containers, SMART, alerts, logs, status pages, wall displays, and ICMP, HTTP, DNS, certificate and SNMP probes 8081
Manager Hardware and virtual inventory, IPAM (nested subnets, VLANs, VRFs, address map, ping scan, conflict detection), routing simulation, dashboard widgets, network map, deployments, Node.js sites, tasks 8082
Agent One small Rust binary on each host. It opens no port and only calls the monitor none

Run the manager alone, the monitor with its agents alone, or link them. When linked, the manager fills its inventory from the agents and deploys sites through them.

Project status

Nyx 0.1.0 is the first stable release, with images and packages on the releases page. It is a young project: its tests pass, but it has only seen light use on real systems, so keep backups and report what breaks. You can also build it from source.

Features

  • Agent: uptime, CPU, RAM, swap, network, disks, temperature, Docker containers, systemd services (state, uptime, memory, CPU, restarts, logs and unit file), system updates (and applying them), and light log collection. SMART health with remaining life on physical hosts. 1.4 MB binary, about 13 MB of RAM.
  • Host types: VM, physical, Proxmox and VPS. Change the type live, without reinstalling. On Proxmox, the agent can install itself in new containers.
  • Install anywhere: a generated curl line, an Ansible role, .deb and .rpm packages, or Docker images, for x86_64 and arm64.
  • Tags and updates: tag hosts and inventory records, filter and chart by tag, and update the packages of a whole tag from one page, security fixes first.
  • Your own charts: pick a measure, some hosts and a look; $host and $tag variables at the top switch every chart at once.
  • Probes: ping, website, DNS, HTTPS certificate expiry, and SNMP v1, v2c and v3 with presets for switches, servers, UPS, printers, Synology and MikroTik.
  • Status pages: as many public pages as you like, built from Grafana-style panels, with your colours and logo. They show only what you pick, never addresses or targets, and each can be embedded in another site if you allow it.
  • Wall displays: full-screen supervision boards for a screen in a room, up to 4K, with a private link and no account. Long lists page by themselves.
  • Notifications: email, Discord, Matrix, Slack, Gotify, Ntfy, Telegram, Teams and more through Shoutrrr. Custom templates with emojis, a live preview that looks like the app receiving them, and grouping into daily, weekly or monthly digests.
  • Node.js platform: detects running apps and how they run, adopts them or deploys from Git with a deploy key, and redeploys on push through a signed webhook.
  • VPN links: agents report Tailscale, NetBird, WireGuard and other tunnels and alert when one drops. The manager keeps them on their page and on the network map.
  • Tasks and deployments: Kanban board or list, with states, tags, due dates, checklists synced with Nextcloud, and progress overall and per tag.
  • Racks and network map: drag devices into racks drawn to scale, plug cables between ports, and draw your infrastructure (Internet, routers, switches, servers, VMs, VPS, cloud) with typed links: Ethernet, fibre, Wi-Fi, VLAN, VPN.
  • English and French: the interface follows the browser's language, or the one you pick.
  • Integrations: Nextcloud tasks and calendar, EDF Tempo (RTE), Proxmox noVNC console, Meross power plugs, Prometheus metrics for Grafana, an MCP server for AI assistants, and passkeys.
  • Update channels: stable releases by default, or opt in to beta from the settings.
  • Your pages, your layout: nearly every page is made of blocks. Slide them, hide them, choose up to four columns, on each device. Arrows do the same from the keyboard.
  • Logs you can read: time, level, service and message, repeats folded, and a live view of any host that stores nothing and costs nothing when nobody watches.
  • Works on a phone: every page is responsive and installable as a PWA. It refreshes when you come back to the tab and stops polling while hidden.
  • Long history, small database: keep 30 to 365 days. Past a week, history is stored hour by hour, so a year takes about 3 MB per host.
  • Local or shared database: each server has its own built in. Or pick a shared nyx-db at first start, and the monitor and the manager use one set of accounts.
  • Low disk writes: live metrics stay in RAM. PocketBase gets one batch every five minutes, plus state changes when they happen.
  • Low memory: about 10 MB for an idle server, plus 43 MB for PocketBase. With 200 hosts, the monitor stays near 30 MB. See the measurements, taken on macOS so far.

Screenshots

These come from a real monitor and manager, filled with simulated agents and invented hosts. Select an image to see it at full size.

Wall display

For a large screen in a room. A panel too long for the screen pages through its content by itself.

A wall display

Monitor

Hosts, nested under their Proxmox node Host detail, made of blocks
Host list as a tree Detail page of a storage server
Containers Network probes
Docker containers across hosts Probe list with latency and history
Storage and disk health Alerts
File systems and SMART state Open and resolved alerts
Physical disks, SMART in plain words Customize any page
One card per disk with health, life left and temperature Host page with its blocks being rearranged
Logs, readable and folded Live logs of a host
Logs with levels, services and a summary Lines of a host arriving live
Public status page Page editor
Status page with 30 days of uptime Editor of a wall display

Notification templates

Each channel has its own title and body template, with a live preview. See notifications.

Editing a notification channel next to its preview

Manager

Overview IPAM, with conflicts and routing simulation
Manager overview IPAM page
Network map Hardware inventory
Network map and export formats Hardware inventory
Deployments Node.js sites
Deployment tracking Sites and detected Node.js apps

On a phone

Both interfaces work as installable web apps.

Overview on a phone Host detail on a phone Alerts on a phone

Quick start with Docker

curl -fsSLO https://raw.githubusercontent.com/midnights-ra1n/nyx-stack/stable/packaging/docker/compose.yaml
curl -fsSL -o .env https://raw.githubusercontent.com/midnights-ra1n/nyx-stack/stable/packaging/docker/.env.example
# Set your two URLs in .env, then:
docker compose --profile monitor --profile manager up -d

Open port 8081 or 8082 and create your account. In the monitor, choose Add host and run the generated line on the machine to monitor.

Each step, packages for Debian and RHEL, HTTPS, backups, updates and removal are in the deployment guide.

Documentation

Licence

Copyright (C) 2026 the Nyx contributors.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. It is distributed without any warranty. See LICENSE, and THIRD-PARTY.md for the licences of the components.

About

A complete homelab management and monitoring stack

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages