Skip to content

isard_

Your IsardVDI desktops, from the terminal. Log in with your Gencat account, then create, start, open and script the same virtual desktops the web portal gives you.

# macOS / Linux
$ curl -fsSL https://isard.optersoft.com/install.sh | sh

$ isard login
$ isard list
$ isard view windows

What it is

IsardVDI is the virtual-desktop platform behind the Gencat educational network. The web portal is one way in; isard is the other. It signs in exactly as the portal does — your school account, through Microsoft's login — and keeps the session, so after the first time a command is a single HTTPS call.

Desktops

create, start, stop, delete — and view, which opens one in remote-viewer over SPICE, installing the viewer first if it is missing. --gpu 2Q gives one a vGPU, and start books the card for it.

SSH and the VPN

isard ssh goes through IsardVDI's bastion with your own key. isard vpn up joins the desktop network over WireGuard, for every port rather than two.

Scriptable

exec, push, pull, job: stdout is the guest's, the exit code is the guest's, and nothing prompts. A desktop becomes a test machine a script can drive.

Templates and images

isard build profile.yaml takes a Fedora, Ubuntu, Debian, Rocky or Alma ISO to a configured template. isard import puts a qcow2, vmdk or OVA image onto a new desktop with nobody at the console.

One binary

No runtime, no package manager. A single executable per platform, about 12 MB, verified by SHA-256 before the installer moves it into place.

Your credentials stay yours

No command takes a password as a flag. They come from GENCAT_USERNAME / GENCAT_PASSWORD, a .env, or a prompt — never your shell history.

Install

One line. The installer fetches the release manifest, downloads the binary for your platform, checks its SHA-256 and puts it on your PATH.

macOS and Linux

$ curl -fsSL https://isard.optersoft.com/install.sh | sh

Windows (PowerShell)

> irm https://isard.optersoft.com/install.ps1 | iex

isard 0.4.11 — or download the binary yourself. The Linux builds are static, so they run on any distribution.

PlatformFileSizeSHA-256
macOS · Apple siliconisard-darwin-aarch6411.3 MB22d9162b7dc45557198520b6fb0a170524e7580decab09833924ca3729ac40be
macOS · Intelisard-darwin-x86_6412.1 MB0f09deed4d1a8776334928fe2d5df7c554cf8af2c9653b3ffce9e3fea2e36cde
Linux · x86_64 (static)isard-linux-x86_6412.5 MB358829fdabcdc5f0db50d7a6c7aa05b72d378a31d6847a87dd991fed6a69c91f
Linux · arm64 (static)isard-linux-aarch6411.1 MB732005f29737ec2ff21233ce3626435b524908c4a47a8df2a471bf3281424c53
Windows · x86_64isard-windows-x86_64.exe13.2 MB722e4eb4cdc3e944e3586b4b9e34f0faeffffd0ac0289839ef146662f7aaaff0

The same data, for scripts: /api/version. Set ISARD_INSTALL to choose where the binary goes, or ISARD_NO_MODIFY_PATH=1 to leave your shell's startup files alone.

It is on PyPI too, with the Python library: uv tool install isard (just the command) or pip install isard (import isard).

Get started

Log in once. The session is cached in ~/.config/isard/ and renewed by itself when it expires — with your password from the environment or a .env when there is one, from a prompt otherwise.

$ isard login                     # your @edu.gencat.cat account
$ isard list --hardware           # your desktops, with vCPUs and memory
$ isard template list
$ isard create lab -t "Ubuntu Server 24.04_isardvdi_v1"
$ isard start lab
$ isard view lab                  # the desktop's screen, over SPICE
$ isard ssh lab
$ isard stop lab

Names are matched loosely — isard view win finds “Windows 11” when nothing else is close. The full walkthrough, with what each step looks like, is the CLI page of the documentation.

Scripting a desktop

When a test needs a machine the laptop is not — Windows, x86_64, nested virtualization — a desktop can be that machine. These commands never prompt, print only the guest's output on stdout, and exit with the guest's code.

$ isard up windows                # arm the SSH key, start, wait for sshd
$ isard exec windows -- 'Get-Date'
$ isard push windows ./project --mirror   # only what changed
$ isard job windows gate.ps1 -r 'C:\work\result.json' -o result.json
$ isard pull windows 'C:\work\out.txt' -
$ isard stop windows --wait

After the first call the route to the desktop is cached, so an exec is one SSH connection — about two seconds on Windows — and touches no API at all.

From Python too

pip install isard brings the same client, compiled into the package: nothing to build, no dependency to resolve. It shares the command's session and never prompts.

import isard

client = isard.connect()                 # the command's session, or a fresh login
for d in client.get_desktops(hardware=True):
    print(d["name"], d["state"], d["vcpus"])

win = isard.Remote("windows")            # the route `isard up windows` cached
print(win.run("Get-Date")["stdout"])

Records are plain dicts, typed in the stubs; errors are isard.IsardError. The whole library is on the Python page of the documentation.