DEV Community

Tao Chen
Tao Chen

Posted on

I built a local-first control plane for the Mac that stays on in my home lab

A real control plane for the Mac you own

When an always-on Mac misbehaves, the hard part is finding the right surface: system pressure, a process, a listening port, a container, a service, or its logs.

Flux Monitor dashboard

What it can inspect

  • System health: CPU, memory, disk and network activity.
  • Processes and ports: locate a runaway process and the owner of a listening port.
  • Logs: read recent service output without first remembering the command.
  • Docker: inspect containers and their state.
  • Nginx and LaunchAgents: identify macOS-managed services that failed after a reboot.
  • SSH: open a deeper shell workflow once the dashboard has narrowed the problem.

Flux Monitor services

Incident flow

  1. Check CPU, memory, disk and network.
  2. Find the relevant process or port.
  3. Check Docker, Nginx, or the LaunchAgent.
  4. Read the recent logs.
  5. Restart only the confirmed failing service.

The macOS launcher and web dashboard are paired with Flux Remote for iOS and Android, so this first-pass diagnosis works away from the desk.

Flux Remote

Flux Monitor is MIT licensed. Optional public tunneling is for people who understand the exposure trade-off: use strong credentials and replace the default JWT secret before exposing a Mac to the public internet.

Top comments (0)