1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| # WebAssembly
This is a module for [Project Forge](https://projectforge.dev). It allows you to build your http server as normal, but load it as a WebAssembly module or Service Worker.
https://github.com/kyleu/projectforge/tree/master/module/wasmserver
### License
Licensed under [CC0](https://creativecommons.org/publicdomain/zero/1.0)
### Usage
To use your app with only WebAssembly, no server process required, run `./bin/build/wasmserver.sh`, then host the files in ./tools/wasmserver in an HTTP server (it won't work with `file://` urls, and requires SSL for servers other than `localhost`).
This is of limited utility, since ServiceWorkers aren't allowed to set cookies or other forbidden headers, so the app is quite limited.
|