abridge-wasm

🌐 Abridge + WASM

A monolithic repository for WASM components to be exported for use in Abridge.

βœ… Demos

⚠️ Status

Currently this is all research and experimentation. Please submit pull requests/issues.

At this time, optimization is not a priority. There are several ways to optimize the WASM bundle size once Abridge’s WASM components are made and algorithms are optimized.

🏁 Quickstart

Dependencies

Install Rust:

curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
rustup update

Install wasm-pack

curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

Build

git clone https://github.com/simbleau/abridge-wasm
cd abridge-wasm
wasm-pack build --release --target web

Serve

python3 -m http.server

🟧 Exporting to Abridge

Building WASM

Optimizing Bundle Size

Release settings

Linking WASM

Method 1: WASM-Glue