Skip to content
Projects

About

Self-hosted homelab discovery: a live network map down to the switch port, racks, change tracking, service checks, health, backups and alerts. One self-contained binary.

Systems & Infrastructure

How these counts are measured

67 stars9 Forks +1 in 24h

Measured star growth

in 24h
+1
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Rackward

ci License: AGPL v3

Keeps watch over your rack, and charts every port in it.

Join the Rackward chat on Telegram  Questions, problems and ideas are welcome.

Self-hosted homelab discovery. Rackward reads your router, switches, access points, hypervisors and NAS through their own read-only APIs, draws the physical topology down to the switch port, records every change, checks every service it finds, watches disks, backups and updates, and sends one alert per root cause when something breaks.

One Go binary with the web UI built in. It installs natively under systemd, on any Linux host or in a Proxmox LXC; no container image is published yet.

Download the latest release, or see Install.

The map: every device, the port at each end of every cable, what runs on the server and the NAS's pools, and a switch's live front panel

Try it in one command

make build && ./rackward serve --demo        # or: ./rackward --demo

Then open http://127.0.0.1:8080. The demo runs a built-in fake lab (a gateway, three switches, two access points, a Proxmox host with eight guests, a NAS with apps, a UPS and a few clients) through the real pipeline. It needs no configuration and no login, and it contacts nothing on your network. A 15-minute script repeats so there's always something to watch: a web app fails and recovers, a VM starts and stops, a NAS disk drops out of its pool, and a switch loses power. The database is a temporary one, deleted on exit (-data DIR keeps it, -listen ADDR changes the address).

What it does

Find and map

Topology Merges what every source sees (LLDP, LACP, MAC tables) into one device per real thing and one link per cable, each with its evidence and a confidence. Bonds, LAGs, guests on hosts, clients behind unmanaged switches.
Map Drag devices and they snap into line; point at a cable to see both ports. Server cards list what runs on them, NAS cards their pools and drives.
Front panels Each switch and router drawn port by port (embedded NetBox device-type library plus verified layout hints). Click a port to see what's plugged into it.
Racks and floor plans Draw your 19″ or 10″ racks, mount hardware and patch cables through patch panels. Place access points and wall jacks on a floor plan, trace a jack to its switch port and estimate Wi-Fi coverage.
Start page and network Every web app found, with domains, reverse proxies and certificates, IP addresses and VLANs, and what the internet can reach. The port map exports to PDF or CSV.
Hand edits Add a dumb switch or a cable discovery can't see. Discovered data never overwrites what you entered.

Watch

Changes Every scan is compared with the last one: devices new or gone, guests started or stopped, links up, down or moved, IPs changed.
Service checks Finds HTTP(S) and TCP services on running VMs, containers and apps and checks them, with uptime and response times.
Health, backups, power Disks, pools and storage; what has no backup and what failed; UPS state and power draw.
Updates and configs What's outdated and known CVEs; every version of switch, router and guest configs, secrets masked, with side-by-side diffs.
Alerts and logs One message per root cause through ntfy, Telegram, Discord, Slack, email, webhooks and others (shoutrrr). When a host goes down you get "pve-01 unreachable", not one message for each of its 30 services. Logs from your sources and syslog in one place.
Media stack Optional: the Seerr → Sonarr/Radarr → download client → Plex pipeline, with each request followed through it.

Write it down

Notes and recovery Notes and runbooks per device, what goes down with it, and a printable disaster-recovery document.
Assets and labels Purchases, warranties and where credentials are kept; QR labels for devices, cables and ports.
Showcase Pictures of your map or racks with names and addresses replaced, and public read-only links you can revoke.

Every page also works on a phone.

Sources

All read-only. Rackward changes nothing unless you turn actions on: Wake-on-LAN, guest power, restarts and the like are off until config.yaml enables them, each with its own credential (setup guide §14h).

Run against real hardware UniFi Network, MikroTik SwitchOS, Proxmox VE, TrueNAS, OpenWrt, SNMP v1/v2c, Linux servers running lldpd, an APC UPS over SNMP, Nginx Proxy Manager, Cloudflare Tunnel, syslog
Written from the vendor's documentation, not yet run live MikroTik RouterOS, SNMP v3, Unraid, Synology, OPNsense, pfSense, Docker and Portainer, Pi-hole, AdGuard Home, Technitium, Kea, Caddy, Traefik, Proxmox Backup Server, restic and Borg status files, NUT, smart plugs, Redfish

Some features of a tested source are newer than its last live run (TrueNAS apps, for one). The exact state of each is in the setup guide's verification table.

Screenshots

All from the built-in demo.

Device page Services
A switch's front panel and every port's link Discovered services, uptime and the last 24 hours
Health Alerts
Pools, disks, storages and backups Incidents grouped by root cause
Racks
A rack in cabling mode: patch panel, switches and servers with their cables

Install

From a release

On any systemd Linux host (Debian, Ubuntu, …), as root:

curl -fsSL https://github.com/Bestbow35/rackward/releases/latest/download/install.sh | bash

On Proxmox VE, in the host's shell, to make a new container with Rackward in it:

bash -c "$(curl -fsSL https://github.com/Bestbow35/rackward/releases/latest/download/proxmox-lxc.sh)"

Releases come with static binaries for linux/amd64 and linux/arm64 and a SHA256SUMS file, which the installer checks, plus the license files.

The installer puts in /usr/local/bin/rackward, a rackward system user, /etc/rackward/config.yaml (sources and settings), /etc/rackward/rackward.env (secrets) and the systemd unit, whose data lives in /var/lib/rackward. Running it again upgrades the binary and keeps your config and data. --uninstall removes it.

The Proxmox script creates an unprivileged Debian container (1 core, 512 MB, 4 GB, DHCP on vmbr0, nesting on, starts on boot). Options: --id, --storage, --bridge, --vlan, --ip 10.0.0.50/24 --gw 10.0.0.1, --memory, --config FILE --env FILE (start with your own config and secrets) and more; see --help.

From a checkout

To run what you built yourself (see Build from source):

make build && sudo bash deploy/install.sh --binary ./rackward   # this host
bash deploy/proxmox-lxc.sh --binary ./rackward                  # on a Proxmox host, with deploy/ copied there

Then

  1. Open the printed address and create your admin account (the first visitor does, so do it right away).
  2. On the Sources page, add each source with a read-only account. Credentials are stored encrypted. docs/setup-guide.md shows how to create the read-only access on each system and how to check that it can't change anything.
  3. The map fills in on the next scan (every 5 minutes, or press Scan now).

Sources and alert targets can also be written in config.yaml; config.example.yaml documents every setting.

Updating

Rackward doesn't update itself. It asks once, in the app, whether to tell you about new releases; say yes and a banner appears on every page when there is one, and your alert targets get a message. The same steps as below are in the app, under About → How to update.

Installed with the installer (a Linux host or LXC): on the machine Rackward runs on, as root:

curl -fsSL https://github.com/Bestbow35/rackward/releases/latest/download/install.sh | bash

curl: command not found? Run apt-get update && apt-get install -y curl first.

Installed with the Proxmox script: in the Proxmox host's shell, find the container's number and go into it (100 here), then run the installer inside it:

pct list
pct enter 100
apt-get update && apt-get install -y curl && curl -fsSL https://github.com/Bestbow35/rackward/releases/latest/download/install.sh | bash
exit

Built from source: in your checkout:

git pull && make build && sudo bash deploy/install.sh --binary ./rackward

What an update does. Your config, secrets and data are kept. The version that ran is kept too, the database is copied before the new version changes it, and if the new version doesn't start within 30 seconds the previous one is put back by itself.

Check it worked: the app's About page, or rackward version on the host, shows the new version.

Go back: as root on the host (it asks first; anything recorded since the update is lost):

rackward rollback -config /etc/rackward/config.yaml

On v1.2.0 and earlier, if your config.yaml uses ${RACKWARD_…} secrets, load them first: set -a; . /etc/rackward/rackward.env; set +a

A particular release: add -s -- --version v1.2.0 after bash in the installer command.

On v1.1.0 or earlier the app doesn't ask about updates: tick Tell me when a new Rackward is released on its About page, or on GitHub choose Watch → Custom → Releases for this repository.

Build from source

Needs Go (see go.mod) and Node 22 with npm.

make build        # web UI + one static binary: ./rackward
make test         # go test ./...
make lint         # golangci-lint
make demo         # build, then serve the fake lab
make dist         # release files in dist/: binaries for amd64 + arm64, scripts, SHA256SUMS

./rackward help lists the commands: serve, probe (one collector's view as JSON), links (the cable table), cycle, events, checks, alerts, media, dr (the recovery document), check-config, hash-password, reset-login, rollback, catalog, version, licenses.

Join the chat

Rackward on Telegram is where to ask questions, report a problem, and say what you'd like Rackward to do next.

When you write, it helps to say:

  1. What you'd like it to do, or what's missing or annoying today.
  2. What gear you run (router, switches, hypervisor, NAS, UPS), so we know which sources matter most.
  3. Your version (the About page) and what you expected to happen, if something went wrong.

Documentation

docs/setup-guide.md Connecting each source: read-only access, verifying it, config, troubleshooting
config.example.yaml Every setting, with defaults
CONTRIBUTING.md How to work on Rackward, including how to add a collector
RACKWARD_BUILD_PLAN.md The design and the milestone plan
docs/decisions/ Decision records
CHANGELOG.md What each release changes
SECURITY.md Reporting a vulnerability, and what to protect

License

GNU Affero General Public License v3.0. You can run, change and share Rackward freely; if you offer a modified version to others over a network, you must offer them its source too.

The software built into Rackward keeps its own licenses: see THIRD_PARTY_NOTICES.txt, or run rackward licenses.

Explore related projects

Loading…