jennifer registry

@deckyard/proxmox

A client for the Proxmox VE API: guests, nodes, storage and tasks

proxmoxpvevirtualizationkvmlxc

Depend on it

[decks]
"@deckyard/proxmox" = "^0.1.0"

Versions

VersionStatusKindPinRequiresEnginesCapabilities
0.1.0livegit205348cbf2e1-jennifer >=0.25.0net

License

LGPL-3.0-only

Source

Released from
0.1.0
Published under
@deckyard mplx
Repository owner
deckyard

Resolutions

Times a client asked this registry where to find this deck. Not downloads: the registry only stores metadata, and the code is fetched from its repository directly, so we never see an install and cannot count one. Repeated builds inflate these numbers; installs from an existing lockfile do not appear at all. Counted in UTC.

Readme

@deckyard/proxmox

test Documentation release

A Jennifer client for the Proxmox VE API. get, post, put and delete reach every endpoint; typed verbs cover nodes, guests (QEMU VMs and LXC containers), creating and deleting them, power actions, cloning, templates, snapshots, IP addresses, migration, disk resizing, cloud-init, backups and restores, ISOs and container templates, metrics, pools, HA, firewall rules, permissions and background tasks. It authenticates with an API token or a password ticket (TOTP included) and trusts the cluster's own CA.

Documentation

Install

jvc add @deckyard/proxmox

Or unpack src/ from a release archive (deckyard-proxmox-<version>.tar.gz) into vendor/deckyard/proxmox/.

Usage

use io;
import "@deckyard/proxmox/" as proxmox;

def c as proxmox.Client init proxmox.client("pve.example.com");
$c = proxmox.withCaCert($c, fs.readBytes("pve-root-ca.pem"));
$c = proxmox.withToken($c, "root@pam!automation", os.getEnv("PVE_TOKEN_SECRET"));

for (def g in proxmox.guests($c)) {
    io.printf("%6d %-20s %s\n", $g.vmid, $g.name, $g.status);
}

def web as proxmox.Guest init proxmox.guest($c, 101);
def t as proxmox.Task init proxmox.waitTask($c, proxmox.start($c, $web), 60000);
io.printf("start: %s\n", $t.exitStatus);

Requirements

Jennifer 0.25.0 or newer and the default jennifer binary: the deck needs the net capability, which jennifer-tiny lacks.

Development

tools/check-all.sh                   # the full gate, as CI runs it
jennifer test src/proxmox_test.j     # the test overlay, offline
tools/check-docs.sh                  # docs against the code
tools/pack.sh dist                   # build the release archive

The tests answer from a fake server on a loopback port. The examples need a real host; see their headers.

Licence

LGPL-3.0-only, see LICENSE. Copyright (C) 2026 mplx <[email protected]>.

Proxmox is a registered trademark of Proxmox Server Solutions GmbH. This deck is not affiliated with or endorsed by it.

This deck as JSON