Repository navigation
STT v1.0.0 (stt.computer)
Single self-contained WebAssembly release (stt.wasm) — zero external WASM imports, zero servers, zero .bin model downloads, with the 13M-parameter quantized Conformer-CTC weights, DTW voice-command matcher, and complete JavaScript STT SDK embedded directly inside stt.wasm.
Release Assets
stt.wasm— standalone self-contained WebAssembly binary (~13.3 MiB raw, ~12.0 MiB gzipped) with embedded Conformer-CTC speech model, DTW command engine, internal JSSTTSDK (stt_glue_ptr/stt_glue_len), and raw C-ABI exportsstt.js— optional ES module loader (import init, { STT } from "./stt.js")stt.d.ts— full TypeScript declarations
4-Line Single-File HTML Embed (stt.wasm only)
<script type="module">
const { module, instance: { exports: w } } = await WebAssembly.instantiateStreaming(fetch("./stt.wasm"));
const { STT } = Function("wasm", "wasmModule", new TextDecoder().decode(new Uint8Array(w.memory.buffer, w.stt_glue_ptr(), w.stt_glue_len())))(w, module);
const stt = new STT();
await stt.listen({ onPhrase: (p) => console.log(p.text, p.words) });
</script>