Skip to content

STT v1.0.0 — Self-Contained WebAssembly Release

Latest

Choose a tag to compare

@izuc izuc released this 16 Nov 08:12

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 JS STT SDK (stt_glue_ptr / stt_glue_len), and raw C-ABI exports
  • stt.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>