Skip to content

Work-in-progress Caddy Server plugin to run fastlike-compatible wasm programs

License

Notifications You must be signed in to change notification settings

avidal/caddy-fastlike

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

caddy-fastlike

A Caddy v2 plugin that can run WebAssembly code via fastlike

try it out

Extremely beta. But you can try it out:

# Build the example wasm
$ cd testdata && cargo build

# Get xcaddy and use it to build this plugin
$ go get -u github.com/caddyserver/xcaddy/cmd/xcaddy
$ env CGO_ENABLED=1 xcaddy build --with fastlike.dev/caddy-fastlike=$(pwd)

# Run caddy with the example config
$ ./caddy run --config example-config.json

Now all requests to localhost:2105 will run through the wasm module via fastlike. Try http://localhost:2105/teapot for a static response.

About

Work-in-progress Caddy Server plugin to run fastlike-compatible wasm programs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages