r/kvm • u/Slaker19 • Sep 27 '26
WebKVM - A lightweight, web-based management UI for Libvirt and QEMU/KVM written in Go (15-30MB idle RAM)
Hi r/kvm,
I have been working on WebKVM, an open-source, web-based management panel for KVM/QEMU and Incus on headless Linux hosts.
While virsh is great for scripting and virt-manager is the traditional GUI, running virt-manager over SSH X11/Wayland forwarding or Spice tunnels can feel clunky. I wanted a fast, native web interface that talks directly to the Libvirt API without turning the host into a heavyweight appliance.
Architecture and Features:
- Direct Libvirt Integration: Connects cleanly to qemu:///system via native Libvirt bindings in Go, leaving all guest domain XML definitions 100% standard and manageable via virsh in the terminal.
- Instant CoW Storage: Integrated template pool allowing 1-second guest provisioning using QCOW2 Copy-on-Write backing files from official cloud images (Debian, Ubuntu, AlmaLinux, Arch, etc.).
Optimized Hardware Profiles: Built-in domain templates configured with optimal virtual hardware:
- Modern Linux: Q35 chipset, UEFI (OVMF), VirtIO-SCSI/VirtIO-BLK, and VirtIO-Net.
- Windows 11: Emulated TPM 2.0 (swtpm) and OVMF Secure Boot out of the box.
- BSD / Legacy: BIOS (SeaBIOS) and compatible storage/NIC fallback emulation.
- Network Management: Web configuration for Linux bridges (vmbr0), isolated vSwitches, and NAT bridges (vmbr1) with automated dnsmasq DHCP lease tracking.
- Integrated Consoles: Real-time embedded noVNC graphical displays, serial consoles, and direct host terminal access.
- Dual Engine: Alongside full KVM/QEMU VMs, it integrates native support for Incus (LXC) system containers.
Performance and Resource Usage:
- Memory: Written entirely in Go. Consumes roughly 15 MB to 30 MB RAM at idle and stays under ~70 MB during multi-guest operations.
- CPU: ~0% idle overhead. CPU cycles are only consumed when streaming live noVNC guest display sessions.
Current State and Feedback:
- Solo Maintainer: I am developing and testing WebKVM on my own across vanilla Linux hosts (Ubuntu, Debian, Fedora, Arch). There may still be edge cases or bugs.
- 100% Free and Open-Source: No enterprise licenses, telemetry paywalls, or feature locking.
- Multi-language: UI currently supports English, Spanish, and Catalan.
GitHub Repository:https://github.com/Slaker19/webkvm
I would love to get feedback from other KVM users regarding storage pools, domain XML generation options, or features you would like to see implemented!








7
u/HoustonBOFH Sep 27 '26
How much AI was used in development? How much experience do you have with coding, bug fixes and security?
2
u/flrichar Sep 27 '26
Can I use this on an existing virsh install, where I already handle network & storage? For example, an archlinux host where I only want to use the UI.
2
u/JeffWDH Oct 01 '26 •
You may want to get this project added to the official list located here: https://libvirt.org/apps.html
That might help get more eyes on it.
2
u/toastbrotch Oct 02 '26 •
Oh wow. Awesome. I used some old kvm-html thingi that was clunky. Proxmox just overkill. Now casaos as it is simple, but does only docker containers so i do kvm in the shell...
I always looked for a solution to manage docker containers and vms in one tool in my lab... So, are you going to support docker containers aswell? Not as kubernetes does but simple version like casaos?
1
u/kirillrepkin Sep 27 '26
Oh, some time earlier I think to create same app for my tasks. virt-manager is good but sometimes looks like a old solution and need each time to start the app required python. vibe coding is not wrong in my opinion this app is wrapper for libvirt api with extensions and code by hand something like this is bored. in our time coding with agent isnt a problem if use good prictices. Long story short - Many thanks i will try!
1
u/JeffWDH Sep 29 '26
This is truly fantastic! I really hope this succeeds as it takes care of 99% of my small cluster needs. The console works great, even on mobile browsers.
Do you have any plans to support multiple hosts / live migration of VMs? A lightweight vCenter-esque tool for KVM is sorely needed. All the other options are gigantic, overly complex resource hogs.
1
u/tructt Sep 29 '26
Interesting project. Will test soon
5
u/dvuk99 Sep 27 '26
Isn't that what Cockpit can be used for?
2
u/[deleted] Sep 28 '26
[removed] — view removed comment