Runtime
Runners
WCGI

WCGI Runner

WCGI allows you to use normal CGI applications in WebAssembly. It is a simple wrapper around the WASI interface.

If you have a CGI program, just try to compile it to WebAssembly and WASI and run it with WCGI.

You can read more about WCGI here:

https://wasmer.io/posts/announcing-wcgi (opens in a new tab)

Usage

To use the wcgi runner, you need to specify the runner for you package in your wasmer.toml file:

...
[[command]]
name = "proxy"
module = "<your-module>"
runner = "https://webc.org/runner/wcgi"

Learn More

To learn more about WCGI runner, please click here (opens in a new tab).