Skip to content

v0.1.0

Latest

Choose a tag to compare

@mandesero mandesero released this 01 Jul 12:49
· 9 commits to master since this release

tarawasm is a CLI toolkit for building WebAssembly components. It supports multiple guest languages and can be used directly or via an official Docker image. Key features include initialization, binding generation, component building, artifact cleanup, and a strip command for reducing WASM binary size.

Highlights

Guest language support for Python, Go, Rust, JavaScript, and C/C++

Docker-based workflow with the published image mandeser0/tarawasm

Core commands: init, bind, build, clean, all, and strip

Config handling via the Config dataclass stored in tarawasm.json

Strip command to remove custom sections from a WebAssembly binary

Examples for each language under examples/ demonstrating initialization, binding, building, and execution

Docker Image

Pull the official Docker image from Docker Hub:

docker pull mandeser0/tarawasm:latest

Using Docker avoids the need to install toolchains locally. You can run the CLI via:

alias tarawasm='docker run --rm -v "$PWD":/work -w /work mandeser0/tarawasm'

This image is automatically built and published through the repository’s GitHub Actions workflow.

Testing

A pytest suite exercises each language example and validates that the strip command reduces binary size

Links

Docker Hub: mandeser0/tarawasm