šØāš» Example CLI application built with Go and distributed via Wasmer
wasmer run jcbhmr/hello-world-go-wasmer-cli -- --name="Alan Turing"
#=> Hello Alan Turing!
šæļø Written in Go
šŖ Compiled to WebAssembly
šØāš» Runnable on any device from a single .wasm
binary
š Distributed via the wasmer.io registry
There's nothing to install! The Wasmer CLI doesn't (yet) offer a first-class
way to wasmer install <pkg>
globally.
wasmer run jcbhmr/hello-world-go-wasmer-cli -- --name="Alan Turing"
#=> Hello Alan Turing!
--name
: The name to put in the output message Hello ${name}!
.
š Go 1.21 supports WASI preview 1! Yay! š„³ Make sure you have installed the latest version of the Go toolchain.
./just build
You can use the Wasmer CLI to run your compiled WASI WebAssembly binary.
wasmer run $WASMERFLAGS . -- --name="Ada Lovelace"
Each time a new GitHub release is released it gets wasmer publish
-ed.