1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-03 17:36:05 +00:00
No description
Find a file
2026-11-23 15:55:19 +03:00
.github/workflows fix(instances): the fault reasons on the libvirt of Debian 12 and Ubuntu 22.04; the update test from v4.3.0's commit 2026-11-23 10:45:09 +03:00
accounts fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
admin fix(ui): the settings index stays at hand on a phone; one wording in Turkish 2026-11-22 16:43:34 +03:00
appsettings fix(ui): the settings index stays at hand on a phone; one wording in Turkish 2026-11-22 16:43:34 +03:00
computes feat(instances): a VM a fault stopped or paused says why 2026-11-22 21:19:35 +03:00
conf docs: split the README into pages under doc/ and CONTRIBUTING.md 2026-11-23 15:08:16 +03:00
console fix(ui): the settings index stays at hand on a phone; one wording in Turkish 2026-11-22 16:43:34 +03:00
datasource refactor(datasource): user data names what its template gets 2026-11-14 13:36:06 +03:00
dev docs: split the README into pages under doc/ and CONTRIBUTING.md 2026-11-23 15:08:16 +03:00
doc docs(readme): screenshots of the panel as it looks now, and the Backups page 2026-11-23 15:08:16 +03:00
instances fix(xml): read XML with its entities not expanded and nothing fetched 2026-11-23 15:55:19 +03:00
interfaces fix(ui): a block or a job's cancel asks first; every delete and save says it is done 2026-11-21 21:02:20 +03:00
locale fix(instances): the fault reasons on the libvirt of Debian 12 and Ubuntu 22.04; the update test from v4.3.0's commit 2026-11-23 10:45:09 +03:00
logs fix(jobs): a busy message names what the job in the way works on 2026-11-19 21:35:28 +03:00
networks fix(ui): lists say they are empty plainly, filter by themselves and fit a phone 2026-11-21 20:34:51 +03:00
nodedevs fix(ui): a host's pages on a phone: one row of sections, tables that fit 2026-11-22 14:59:17 +03:00
nwfilters fix(ui): a host's pages on a phone: one row of sections, tables that fit 2026-11-22 14:59:17 +03:00
operations fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
static feat(instances): a VM a fault stopped or paused says why 2026-11-22 21:19:35 +03:00
storages fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
templates fix(ui): the settings index stays at hand on a phone; one wording in Turkish 2026-11-22 16:43:34 +03:00
virtsecrets fix(ui): a block or a job's cancel asks first; every delete and save says it is done 2026-11-21 21:02:20 +03:00
vmbackups fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
vrtManager fix(xml): read XML with its entities not expanded and nothing fetched 2026-11-23 15:55:19 +03:00
webvirtcloud test(csp): the inline script check finds <SCRIPT> in any case 2026-11-23 15:55:19 +03:00
.dockerignore feat: an installation's own settings in data/local_settings.py; settings.py is part of the code 2026-11-20 17:50:43 +03:00
.gitignore feat: an installation's own settings in data/local_settings.py; settings.py is part of the code 2026-11-20 17:50:43 +03:00
.hadolint.yaml fix(docker): resolve hadolint warnings in Dockerfile and add hadolint config 2026-09-25 22:39:31 +03:00
_config.yml Set theme jekyll-theme-cayman 2018-08-29 14:59:10 +03:00
CONTRIBUTING.md docs: headings and lists for scanning; LDAP examples per directory; behavior changes on their own page 2026-11-23 15:08:16 +03:00
docker-compose.yml fix(settings): TZ sets the panel time zone in Docker 2026-11-09 12:00:55 +03:00
Dockerfile feat: an installation's own settings in data/local_settings.py; settings.py is part of the code 2026-11-20 17:50:43 +03:00
gunicorn.conf.py chore: comments say what the code does 2026-11-06 13:48:04 +03:00
install.sh fix: write the admin password file without following symlinks 2026-10-02 23:17:32 +03:00
LICENSE Add the Apache License 2.0 text as LICENSE 2026-11-23 15:08:16 +03:00
manage.py update django files to Django 2 2020-06-04 12:06:23 +03:00
pyproject.toml chore(ci): the coverage floor keeps one point of room on the PostgreSQL leg 2026-10-23 16:21:31 +03:00
README.md docs(readme): screenshots of the panel as it looks now, and the Backups page 2026-11-23 15:08:16 +03:00
update.sh docs: split the README into pages under doc/ and CONTRIBUTING.md 2026-11-23 15:08:16 +03:00
Vagrantfile docs: split the README into pages under doc/ and CONTRIBUTING.md 2026-11-23 15:08:16 +03:00
webvirtcloud.sh docs: split the README into pages under doc/ and CONTRIBUTING.md 2026-11-23 15:08:16 +03:00

WebVirtCloud

Manage libvirt and KVM hosts from the browser, with users, roles and quotas.

Tests Installer Python 3.10–3.14 Django 5.2 LTS QEMU/KVM License: Apache 2.0

Quick start | Documentation | Screenshots | REST API

From installation to a VM's first backup, in three and a half minutes:

https://github.com/user-attachments/assets/526fe16c-bfd7-46da-b986-689a37975e08

libvirt is the single source of truth. WebVirtCloud reads, displays and triggers actions on libvirt state, but it is never the primary orchestrator.

flowchart TB
    people["Administrators and users"]
    panel["WebVirtCloud<br/>web panel"]
    tools["virt-manager / virsh"]
    libvirt["libvirt on every host<br/>QEMU / KVM<br/><b>the source of truth</b>"]
    people -- web browser --> panel
    people --> tools
    panel -- libvirt API --> libvirt
    tools -- libvirt API --> libvirt
    classDef truth stroke-width:3px
    class libvirt truth
  • An administrator can connect to libvirt directly with virt-manager or virsh and create, delete, rename or reconfigure virtual machines. WebVirtCloud picks these changes up the next time the VM list is loaded.
  • Virtual machines keep running even when WebVirtCloud is stopped; the application only reflects the current state of libvirt.
  • WebVirtCloud is not a full automation platform like Proxmox. Its goal is to expose libvirt's functionality through the browser in an accessible, role-based and secure way.

Features

Hosts

  • Several QEMU/KVM hosts, with their capacity, a maintenance mode and proposed migrations that balance them
  • Storage pools and volumes, networks, interfaces, network filters and secrets
  • PCI and USB devices given to VMs
  • Live host statistics

Virtual machines

  • Create, power, clone (also running), migrate (with or without shared storage, many at once), delete
  • External snapshots and disk moves between pools
  • VNC (noVNC) and serial consoles in the browser
  • UEFI Secure Boot and TPM 2.0 for Windows 11
  • Live VM statistics, and the reason a VM stopped or paused on a fault
  • SSH keys and root passwords set in guests; cloud-init metadata (OpenStack compatible) and NoCloud seed disks

Users and access

  • Users see only their VMs, within quotas; an auditor permission sees every VM read-only
  • Two-factor login and login lockout; LDAP / Active Directory login (optional)
  • An audit log of who changed what
  • REST API (OpenAPI 3.0) with API tokens

Operations

  • Long operations run as jobs that the page follows and that can be cancelled
  • VM backups into a storage pool, by hand or on a schedule, verified, restored as a new VM or over the VM
  • Daily backups of the panel itself, with an optional off-site copy
  • VMs created, renamed or deleted with virsh or virt-manager are picked up on their own
  • Tags, protected VMs, search by IP or MAC address and a VM report as an Excel file
  • Alerts by e-mail or webhook, and a health check URL
  • English, Turkish and Simplified Chinese

Quick start

On a supported Linux server:

curl -fsSL -O https://raw.githubusercontent.com/retspen/webvirtcloud/master/install.sh
chmod 744 install.sh
sudo ./install.sh

Or with Docker, replacing the example names/IPs with those the panel is reached by:

git clone https://github.com/retspen/webvirtcloud
cd webvirtcloud
cat > docker-compose.override.yml <<'EOF'
services:
  webvirtcloud:
    environment:
      - ALLOWED_HOSTS=wvc.example.com,192.0.2.10
EOF
docker compose up -d

Then sign in at http://<server-ip> as admin (first login shows where its password is) and add a compute node.

Documentation

Topic
Installation installer, Docker, manual installation, first login
Adding a Compute Node KVM hosts over SSH, TCP, TLS or a local socket; gstfsd; migration
Configuration environment variables, local settings, HTTPS and reverse proxy, cloud-init, OTP, alerts, serial console
LDAP LDAP / Active Directory login
Backups daily panel backups, off-site copy, VM backups
Updating update, restore and rollback, moving to a new machine, behavior changes
Users, Roles and Permissions superusers, staff, VM owners, auditors
REST API Swagger, ReDoc, API tokens
Architecture how the panel is built
Development dev setup, translations, tests

Screenshots

VM list VM page
VM list VM page
Computes Host overview
Computes Host overview
New VM Logs
New VM Logs
Backups
Backups

License

WebVirtCloud is licensed under the Apache License, Version 2.0.