WebAssembly Client

/doc/module/wasmclient.md (635 B)

 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# WebAssembly

This is a module for [Project Forge](https://projectforge.dev). Provides a WASM library and HTML host for a custom WASM application

https://github.com/kyleu/projectforge/tree/master/module/wasm

### License

Licensed under [CC0](https://creativecommons.org/publicdomain/zero/1.0)

### Usage

A WASM library is available in `./app/wasm`. If the `sandbox` module is enabled, a testbed will be created that provides an HTML host for the application.

A main method is generated in `/app/wasm/main.go`, and exported functions are defined in `/app/wasm/funcs.go`.
To build your wasm project, run `/bin/build/wasmclient.sh`.