Skip to content

Releases: pulseengine/wasm-component-examples

Release v0.1.1

01 Jan 06:05

Choose a tag to compare

WebAssembly Component Examples v0.1.1

This release contains WebAssembly components built with rules_wasm_component.

Components Included

C Components:

  • hello_c_debug.wasm - Debug build
  • hello_c_release.wasm - Release build (optimized)

C++ Components:

  • hello_cpp_debug.wasm - Debug build
  • hello_cpp_release.wasm - Release build (optimized)

Rust Components:

  • hello_rust.wasm - Hello World CLI
  • calculator.wasm - Arithmetic calculator
  • datetime.wasm - Date/time display
  • yolo_inference_debug.wasm - YOLO detection (debug)
  • yolo_inference_release.wasm - YOLO detection (release)

Security

All components are signed using wsc with keyless Sigstore signing:

  • Identity: GitHub Actions OIDC
  • Certificate: Short-lived from Fulcio
  • Transparency: Logged in Rekor

Running Components

# Install wasmtime
curl https://wasmtime.dev/install.sh -sSf | bash

# Run Rust CLI examples
wasmtime run hello_rust.wasm
wasmtime run calculator.wasm 8 + 8
wasmtime run datetime.wasm

# Run YOLO detection (requires ONNX model)
wasmtime run --dir . -S cli -S nn -S nn-graph=onnx::./models/yolov8n \
  yolo_inference_release.wasm ./image.jpg

Verification

Signatures can be verified using wsc:

wsc verify --keyless \
  --identity "https://github.com/pulseengine/wasm-component-examples" \
  --issuer "https://token.actions.githubusercontent.com" \
  --input-file component.wasm

Full Changelog: v0.1.0...v0.1.1

Release v0.1.0

01 Jan 05:30

Choose a tag to compare

WebAssembly Component Examples v0.1.0

This release contains WebAssembly components built with rules_wasm_component.

Components Included

C Components:

  • hello_c_debug.wasm - Debug build
  • hello_c_release.wasm - Release build (optimized)

C++ Components:

  • hello_cpp_debug.wasm - Debug build
  • hello_cpp_release.wasm - Release build (optimized)

Rust Components:

  • hello_rust.wasm - Hello World CLI
  • calculator.wasm - Arithmetic calculator
  • datetime.wasm - Date/time display
  • yolo_inference_debug.wasm - YOLO detection (debug)
  • yolo_inference_release.wasm - YOLO detection (release)

Security

All components are signed using wsc with keyless Sigstore signing:

  • Identity: GitHub Actions OIDC
  • Certificate: Short-lived from Fulcio
  • Transparency: Logged in Rekor

Running Components

# Install wasmtime
curl https://wasmtime.dev/install.sh -sSf | bash

# Run Rust CLI examples
wasmtime run hello_rust.wasm
wasmtime run calculator.wasm 8 + 8
wasmtime run datetime.wasm

# Run YOLO detection (requires ONNX model)
wasmtime run --dir . -S cli -S nn -S nn-graph=onnx::./models/yolov8n \
  yolo_inference_release.wasm ./image.jpg

Verification

Signatures can be verified using wsc:

wsc verify --keyless \
  --identity "https://github.com/pulseengine/wasm-component-examples" \
  --issuer "https://token.actions.githubusercontent.com" \
  --input-file component.wasm

Full Changelog: https://github.com/pulseengine/wasm-component-examples/commits/v0.1.0