Skip to content

Releases: pulseengine/wasm-component-examples

Release v0.5.0

06 Apr 02:55
651f0fd

Choose a tag to compare

WebAssembly Component Examples v0.5.0

This release contains WebAssembly components built with rules_wasm_component.

Components Included

C Components:

  • hello_c_cli.wasm - CLI executable (runs with wasmtime)
  • hello_c_debug.wasm - Library component (debug)
  • hello_c_release.wasm - Library component (release)

C++ Components:

  • hello_cpp_cli.wasm - CLI executable (runs with wasmtime)
  • hello_cpp_debug.wasm - Library component (debug)
  • hello_cpp_release.wasm - Library component (release)
  • stats_debug.wasm - Descriptive statistics (debug)
  • stats_release.wasm - Descriptive statistics (release)

Go Components:

  • hello_go.wasm - Hello world with TinyGo

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)

Rust P3 Async Components:

  • text_processor.wasm - Async text analysis and transformation
  • concurrent_tasks.wasm - Async mathematical computations (fibonacci, prime, collatz)
  • p3_cli.wasm - Composed CLI runner (text_processor + concurrent_tasks via wac)

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 C/C++ CLI examples
wasmtime run hello_c_cli.wasm
wasmtime run hello_cpp_cli.wasm

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

# Run P3 composed CLI (requires wasmtime with async support)
wasmtime run -W component-model-async=y p3_cli.wasm analyze "hello world"
wasmtime run -W component-model-async=y p3_cli.wasm fibonacci 10
wasmtime run -W component-model-async=y p3_cli.wasm transform uppercase "hello"
wasmtime run -W component-model-async=y p3_cli.wasm batch 5 10 15

# 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

What's Changed

  • feat: add composed P3 CLI via wac component composition by @avrabe in #8

Full Changelog: v0.4.1...v0.5.0

Release v0.4.1

06 Apr 02:06
c8700c9

Choose a tag to compare

WebAssembly Component Examples v0.4.1

This release contains WebAssembly components built with rules_wasm_component.

Components Included

C Components:

  • hello_c_cli.wasm - CLI executable (runs with wasmtime)
  • hello_c_debug.wasm - Library component (debug)
  • hello_c_release.wasm - Library component (release)

C++ Components:

  • hello_cpp_cli.wasm - CLI executable (runs with wasmtime)
  • hello_cpp_debug.wasm - Library component (debug)
  • hello_cpp_release.wasm - Library component (release)
  • stats_debug.wasm - Descriptive statistics (debug)
  • stats_release.wasm - Descriptive statistics (release)

Go Components:

  • hello_go.wasm - Hello world with TinyGo

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)

Rust P3 Async Components:

  • text_processor.wasm - Async text analysis and transformation
  • concurrent_tasks.wasm - Async mathematical computations (fibonacci, prime, collatz)

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 C/C++ CLI examples
wasmtime run hello_c_cli.wasm
wasmtime run hello_cpp_cli.wasm

# 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

What's Changed

  • fix: include Go component in release tarball by @avrabe in #7

Full Changelog: v0.4.0...v0.4.1

Release v0.4.0

05 Apr 23:35
9a1899d

Choose a tag to compare

WebAssembly Component Examples v0.4.0

This release contains WebAssembly components built with rules_wasm_component.

Components Included

C Components:

  • hello_c_cli.wasm - CLI executable (runs with wasmtime)
  • hello_c_debug.wasm - Library component (debug)
  • hello_c_release.wasm - Library component (release)

C++ Components:

  • hello_cpp_cli.wasm - CLI executable (runs with wasmtime)
  • hello_cpp_debug.wasm - Library component (debug)
  • hello_cpp_release.wasm - Library component (release)
  • stats_debug.wasm - Descriptive statistics (debug)
  • stats_release.wasm - Descriptive statistics (release)

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)

Rust P3 Async Components:

  • text_processor.wasm - Async text analysis and transformation
  • concurrent_tasks.wasm - Async mathematical computations (fibonacci, prime, collatz)

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 C/C++ CLI examples
wasmtime run hello_c_cli.wasm
wasmtime run hello_cpp_cli.wasm

# 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

What's Changed

  • feat: add P3 async examples, C++ stats, and fix release pipeline by @avrabe in #6

Full Changelog: v0.3.0...v0.4.0

Release v0.3.0

28 Mar 17:25
9fdc9da

Choose a tag to compare

WebAssembly Component Examples v0.3.0

This release contains WebAssembly components built with rules_wasm_component.

Components Included

C Components:

  • hello_c_cli.wasm - CLI executable (runs with wasmtime)
  • hello_c_debug.wasm - Library component (debug)
  • hello_c_release.wasm - Library component (release)

C++ Components:

  • hello_cpp_cli.wasm - CLI executable (runs with wasmtime)
  • hello_cpp_debug.wasm - Library component (debug)
  • hello_cpp_release.wasm - Library component (release)

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 C/C++ CLI examples
wasmtime run hello_c_cli.wasm
wasmtime run hello_cpp_cli.wasm

# 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

What's Changed

  • fix: replace git_override instead of appending local_path_override by @avrabe in #2
  • docs: align README with PulseEngine visual identity by @avrabe in #3
  • feat: update deps + add Rust P3 async component example by @avrabe in #5

Full Changelog: v0.2.0...v0.3.0

Release v0.2.0

12 Jan 06:23
34c29bd

Choose a tag to compare

WebAssembly Component Examples v0.2.0

This release contains WebAssembly components built with rules_wasm_component.

Components Included

C Components:

  • hello_c_cli.wasm - CLI executable (runs with wasmtime)
  • hello_c_debug.wasm - Library component (debug)
  • hello_c_release.wasm - Library component (release)

C++ Components:

  • hello_cpp_cli.wasm - CLI executable (runs with wasmtime)
  • hello_cpp_debug.wasm - Library component (debug)
  • hello_cpp_release.wasm - Library component (release)

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 C/C++ CLI examples
wasmtime run hello_c_cli.wasm
wasmtime run hello_cpp_cli.wasm

# 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

What's Changed

  • feat: add C/C++ CLI hello world examples by @avrabe in #1

New Contributors

  • @avrabe made their first contribution in #1

Full Changelog: v0.1.1...v0.2.0

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