abstract_vmshare
Shared VM workspaces on a libvirt/KVM host, built for co-operative rooms in abstractendeavors.com/chat.
- Masters are read-only disk images, stored once per host (
vmshare syncpulls them, resumable). - Workspaces boot as copy-on-write qcow2 overlays on a master: start in seconds, keep their
state between sessions, and
resetreturns them to the master. - The VM display is VNC on
127.0.0.1only; the service bridges it over an authenticated WebSocket (raw RFB, noVNC-compatible) for a trusted front end (the chat server).
python3 -m pip install abstract-vmshare
VMSHARE_TOKEN=... vmshare serve # :7031
vmshare sync ubuntu # pull a master
vmshare start room-12 ubuntu # ops/debug
API (all requests need Authorization: Bearer $VMSHARE_TOKEN): GET /masters, GET /host,
GET|POST /workspaces/{id}[/start|/stop|/reset], GET /workspaces/{id}/vnc (WebSocket).
Metadata
Release files for abstract-vmshare 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| abstract_vmshare-0.1.3.tar.gz | 10.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| abstract_vmshare-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.8 kB