Monarch butterfly logoArch · Nuxt 4 · .NET 10 · Kotlin

Linux KVM host OS and control plane.

Monarch pairs an Arch/CachyOS generic x86-64 virtualization host and LAN web installer with a single-admin control panel, an outbound .NET 10 node daemon, and a cert-pinned Android companion. No open ports or SSH keys on managed nodes.

Daemon (any Linux)
curl -fsSL "https://code.weexnes.dev/monarch/daemon/~files/master/install.sh?raw=true" | sudo bash
Panel port: 4382Agent tunnel: WSS /ws/daemonLicense: GPL-3.0
Interface

Panel & web installer walkthrough

Switch views below to inspect the live-ISO browser installer, fleet dashboard, VM table, dm-cache storage stack, one-click app catalog, network monitor, and QR mobile pairing.

https://10.10.0.11:4382/Live telemetry
Monarch.panel fleet overview showing two online hosts, running VMs, live throughput, and CPU graphs
Fleet overview tracking online nodes, active VMs, aggregate CPU/RAM utilization, and real-time 2-second WebSocket network and compute charts.
Topology

How the components talk

Only Monarch.panel listens for browser and mobile connections. Managed nodes initiate outbound TLS-pinned WebSockets back to the panel.

ClientsBrowser & Android App
  • HTTPS / WSS → /api/*, /ws/live, /ws/stream
  • Pinned TLS → /api/mobile/* (QR token)
Control Plane (:4382)Monarch.panel
  • Nuxt 4 SPA + Nitro + node:sqlite
  • Relays PTY, noVNC, serial, journal, uploads
  • 90d/30d history · Discord alerts · Audit log
Managed Nodes (0 open ports)monarch-daemon (.NET 10)
  • Outbound WSS /ws/daemon (ECDSA P-256)
  • virsh, lvs, smartctl, ip, wg
  • systemctl, journalctl, docker, caddy
Capabilities

Complete feature breakdown

OS & Browser Installer

Read full docs →

Generic x86-64 base

Arch core/extra plus the CachyOS generic x86-64 repo only — no v3/v4 AVX2 packages, so older Xeons like the E5-2680 v2 boot without instruction faults. Ships linux-lts, microcode, ext4 root, and BIOS/UEFI GRUB.

LAN web installer

Boot via USB or IPMI/iDRAC. tty1 prints the LAN HTTPS URLs, QR code, SHA-256 certificate fingerprint, and one-time access code. Binds to private addresses only; nftables drops everything else.

Dry-run before erase

Every command and generated systemd-networkd/libvirt file is previewed with secrets redacted on the Review screen. Nothing touches a disk until you type ERASE.

Storage & SMART cache guard

Carve system disks, LVM single/linear/RAID 1/5/6/10 data volumes, and dm-cache SSD partitions. monarch-cache-guard checks SMART every 10 minutes and flushes failing writeback caches to writethrough.

virtbr0 & firstboot

systemd-networkd bridge virtbr0 inherits the chosen NIC MAC address to keep DHCP reservations working. monarch-firstboot.service joins Netmaker/remote panel, wipes tokens, and starts ISO/QCOW pools.

Standard yay updates & ClyoCloud

Maintained with yay -Syu; /etc/os-release stays protected via NoUpgrade. Optional ClyoCloud uses the unmodified AUR package with drop-ins in zz-monarch.conf.