https://totp-wasm-zig.vercel.app
To reduce the size of the .wasm
file, you can choose to install Binaryen.
zig build
zig build bind
You can download the latest release of Binaryen from https://github.com/WebAssembly/binaryen/releases. Once that's done, simply extract the compressed file somewhere. wasm-opt
will be in the bin
folder.
Here are some related projects that you may find useful:
- totp-wasm: Rust implementation of this project.
- UdonOTPLib: C# implementation for the VRChat game.
Code is distributed under MIT license, feel free to use it in your proprietary projects as well.