WasmHub

Open-source WASM Hub of language runtimes

Kumar Anirudha

Table of content
  1. Why WasmHub?
  2. Quick install
  3. Where next

Open-source WASM Hub of language runtimes. Download and manage versioned WebAssembly runtimes for Go, Rust, and more — usable as a Rust library, a CLI tool, or via CDN.

Why WasmHub?

Quick install

As a CLI:

cargo install wasmhub --features cli
wasmhub get go 1.23

As a library:

[dependencies]
wasmhub = "0.1"
tokio = { version = "1", features = ["full"] }
use wasmhub::{RuntimeLoader, Language};

#[tokio::main]
async fn main() -> wasmhub::Result<()> {
    let loader = RuntimeLoader::new()?;
    let go = loader.get_runtime(Language::Go, "1.23").await?;
    println!("Runtime at: {}", go.path.display());
    Ok(())
}

Where next