WASIX

The WASIX backend runs WebAssembly modules in a sandbox using the Wasmer runtime with the WASIX extensions. It's cross-platform, requires no virtualization or container runtime, and is well-suited for shipping small isolated tools or static-file servers.

Requirements

  • The wasmer CLI on PATH, or a wasix-host-runner binary configured via HEYVM_WASIX_RUNTIME

Installation

Install Wasmer:

curl https://get.wasmer.io -sSfL | sh

Or follow the Wasmer install guide for your platform.

Default image

The default image is wasmer/bash. Override per-sandbox with --image.

Usage

heyvm --backend-type wasix

Static file serving

Use wasmer/static-web-server with a mounted directory:

heyvm create --name docs \
  --backend-type wasix \
  --image wasmer/static-web-server \
  --mount "/path/to/docs:/public"