jcbhmr/hello-world-go-wasmer-cli
Public
wasmer run jcbhmr/hello-world-go-wasmer-cli

"Hello world!" Go Wasmer CLI

πŸ‘¨β€πŸ’» 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

Installation

There's nothing to install! The Wasmer CLI doesn't (yet) offer a first-class way to wasmer install <pkg> globally.

Usage

Wasmer Terminal

wasmer run jcbhmr/hello-world-go-wasmer-cli -- --name="Alan Turing"
#=> Hello Alan Turing!

Options

  • --name: The name to put in the output message Hello ${name}!.

Development

Go Wasmer

πŸŽ‰ 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.

πŸ‘¨β€πŸ’» Example CLI application built with Go and distributed via Wasmer


Github
More packages
Example of the Tantivy CLI running on WASIX
did cli test
huhn
huhn
huhn
huhn
christoph/client-cli website
christoph avatar
christoph
christoph avatar
christoph
A CLI implementation for the wildpath library
wasm in Go
Kaiya Xiong
Kaiya Xiong
Kaiya Xiong
Kaiya Xiong