Skip to content
项目

关于

WebVirtCloud 为管理员和用户提供虚拟化 Web 界面。

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
-1
15天
+5
1个月
+9

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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, Simplified Chinese and Ukrainian

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.

探索相关项目

加载中…