Skip to content

gizmo-ds/totp-wasm-zig

Repository files navigation

totp-wasm-zig

License CI

Demo

https://totp-wasm-zig.vercel.app

Requirements

Build

Compiling WebAssembly

To reduce the size of the .wasm file, you can choose to install Binaryen.

How to install Binaryen?

zig build
zig build bind

How to install Binaryen?

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.

Related Projects

Here are some related projects that you may find useful:

  • totp-wasm: Rust implementation of this project.
  • UdonOTPLib: C# implementation for the VRChat game.

License

Code is distributed under MIT license, feel free to use it in your proprietary projects as well.