Show HN: Audio Transcription in Browser with WebGPU
Category: ai-ml
Tags: webgpu, speech-to-text, whisper, browser, on-device-ml, typescript
Score: 7.0/10 (Innovation: 6, Technical: 7, Documentation: 8, Utility: 7)
browser-whisper is a TypeScript library that runs Whisper, Moonshine, and Parakeet speech-to-text models entirely in the browser using WebGPU with WASM fallback. It handles audio decoding, chunking, model loading, and transcription via web workers, caching weights in OPFS for offline use. The project fills a real gap for client-side, privacy-preserving transcription with a clean streaming API.
Target audience: frontend devs, web developers building transcription features, privacy-focused application developers
Repository: https://whisper.tanpreet.xyz/demo/ · TypeScript · MIT · 234 stars
View on Hacker News