Skip to content

z63d/hello-wasi-http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hello-wasi-http

https://opensource.microsoft.com/blog/2024/09/25/distributing-webassembly-components-using-oci-registries/

cargo component build --release
mv target/wasm32-wasip1/release/hello_wasi_http.wasm ./hello_wasi_http.wasm
wasmtime serve hello_wasi_http.wasm
curl 127.0.0.1:8080
wkg oci push ghcr.io/z63d/hello-wasi-http:latest hello_wasi_http.wasm
regctl manifest get ghcr.io/z63d/hello-wasi-http:latest
wkg oci pull ghcr.io/z63d/hello-wasi-http:latest -o app.wasm
wasmtime serve app.wasm --addr 127.0.0.1:3000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages