yyx990803/speech.js — explained in plain English
Analysis updated 2026-07-18 · repo last pushed 2014-01-29
Add a voice search bar that converts spoken queries into text
Build a hands-free note-taking app using continuous listening mode
Show real-time interim text as a user is still speaking for a live transcription feel
Add voice-controlled accessibility features for users who can't type
| yyx990803/speech.js | mrxujiang/hicad | skevy/babel-preset-react-native-stage-0 | |
|---|---|---|---|
| Stars | 99 | 99 | 101 |
| Language | JavaScript | JavaScript | JavaScript |
| Last pushed | 2014-01-29 | — | 2017-11-28 |
| Maintenance | Dormant | — | Dormant |
| Setup difficulty | easy | moderate | easy |
| Complexity | 2/5 | 3/5 | 2/5 |
| Audience | developer | vibe coder | developer |
Figures from each repo's GitHub metadata at analysis time.
Relies on Chrome's built-in speech recognition, which sends audio to Google's servers for processing.
Speech.js is a JavaScript library that lets you add voice recognition to web pages. Instead of typing or clicking, users can speak into their browser's microphone and have their words converted to text, useful for search boxes, voice commands, note-taking apps, or accessibility features. Under the hood, it's a simplified wrapper around Chrome's built-in speech recognition API. Rather than wrestling with the raw API's quirks, you create a Speech object with a few settings, then listen for events like "the user started speaking" or "here's what they said." The library handles the plumbing: it captures audio, sends it to Google's servers (which do the actual speech-to-text work), and sends results back to your code. You then decide what to do with the recognized words, display them on the page, submit a search, trigger an action, whatever you want. The library supports 80+ languages and regional accents, from English in Australia to Mandarin Chinese. You can also fine-tune behavior: enable continuous listening so it doesn't stop after one sentence, show interim results as the user is still speaking (so they see partial text updating in real time), or auto-restart if the connection drops. A debugging mode logs everything to the browser console to help you troubleshoot. Who would use this? Any web developer building voice-first features, a voice search bar, a hands-free note app, a voice-controlled game, or a smart home dashboard. It's particularly valuable for accessibility, letting users who can't type or prefer speaking interact with your site. Since it wraps a browser feature rather than building speech recognition from scratch, it's lightweight and relies on infrastructure that's already there in Chrome.
A lightweight JavaScript wrapper around Chrome's speech recognition API that turns spoken words into text for search boxes, note-taking, or accessibility features.
Mainly JavaScript. The stack also includes JavaScript.
Dormant — no commits in 2+ years (last push 2014-01-29).
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.