use case · multi-model · Moonshine Tiny (28.18 MB q8 · MIT) → Rampart PII (14.69 MB q4 · CC-BY-4.0) · 42.9 MB total
2-Stage Ultra-Light Voice → PII Redactor: 42.9 MB Total
Stage 1 (onnx-community/moonshine-tiny-ONNX, 28.18 MB q8 WASM, MIT)
transcribes speech locally at ~31× real time. Stage 2
(nationaldesignstudio/rampart, 14.69 MB q4 WASM, CC-BY-4.0, reusing
../../models/rampart-pii/worker.js) scrubs names, emails, phones, addresses, and financial
IDs across 35 BIO tags — keeping private meeting minutes 100% on-device.
1 · Two isolated speech + privacy workers (42.9 MB combined)
Stage 1 · Moonshine Tiny ASR (28.18 MB q8 · MIT)
onnx-community/moonshine-tiny-ONNX · variable-length speech-to-text (../worker.js).
Stage 2 · Rampart PII Redactor (14.69 MB q4 · CC-BY-4.0)
nationaldesignstudio/rampart · 35-label BIO token classifier (../../models/rampart-pii/worker.js).
2 · Voice input → Speech transcript → Redacted minutes
Initialise both workers above (42.9 MB total) to transcribe speech and redact PII locally.
Combined size42.9 MB
Stage 1 ASR ms–
Stage 2 PII ms–
PII spans redacted–
NaN (S1 / S2)–
Stage 1 · Transcript handoff (editable)
Detected PII highlights
Run Stage 2 to inspect detected PII entities.
Stage 2 · Privacy-scrubbed output
Run Stage 1 → Stage 2 to generate redacted meeting minutes.
3 · Inspect Stage 2 worker reuse & redaction
</>
Show the code · moonshine-tiny.js — RampartPiiClient (reusing ../../models/rampart-pii/worker.js)
▸
</>
Show the code · moonshine-tiny-core.mjs — redactTranscript() (span-safe PII replacement)
▸