Sherpaw (the "w" stands for "WASM") is a WebAssembly (WASM) wrapper for Sherpa-ONNX—a framework for speech-related tasks (ASR, VAD, TTS, STT, SD, etc.) using onnxruntime purely locally.
git clone git@github.com:sumimakito/sherpaw.git
git submodule init
git submodule updateFollow Sherpa-ONNX's Install Emscripten and Emscripten's Download and install guides to set up the Emscripten SDK.
Important
Some versions of Emscripten may be incompatible with Sherpa-ONNX. Ensure you follow their official documentation and use the recommended version.
# Assuming Emscripten 3.1.64 is used
# Refer to the documentation above when selecting a version
./emsdk install 3.1.64
./emsdk activate 3.1.64
cd sherpa-onnx
./build.shThe build outputs are located in sherpa-onnx/build/install/bin/wasm/.
Copyright 2025 Makito
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.