# syl22-00/pocketsphinx.js

Speech recognition in JavaScript and WebAssembly

Repository: https://github.com/syl22-00/pocketsphinx.js
Canonical: https://ross.abutalabs.com/products/pocketsphinxjs
Language: JavaScript
License Family: other
Last push: 2020-04-05T10:17:38+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4841, "days_push": 2341, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1508, forks 262 (observed 2026-08-28T04:04:55.553435+00:00)

## What it is
PocketSphinx.js is a speech recognition library that runs entirely in the web browser, built by compiling the PocketSphinx C recognizer to JavaScript/WebAssembly with Emscripten. It includes an audio recorder component based on the Web Audio API and a Web Worker wrapper to keep recognition off the UI thread.

## Use cases
- add offline speech recognition to a web page
- recognize voice commands in the browser without a server
- build a keyword spotting web app
- record audio in the browser with the web audio api
- run speech recognition in a web worker
- support chinese speech recognition in the browser

## When to choose
- you need fully client-side, offline speech recognition in the browser
- you want keyword spotting without sending audio to a server
- you need a small vocabulary recognizer with no per-request cloud costs

## When to avoid
- you need high-accuracy large-vocabulary recognition (modern models like Whisper or cloud APIs are better)
- you need a maintained project - the last release was 2020 and there is no license file
- you need server-side or mobile-native speech recognition

## Facets
- artifact type: library
- maturity: maintenance
- function: speech-recognition, audio-processing, sdk
- domain: speech-processing, web-development
- platform: browser, wasm
- tags: pocketsphinx, emscripten, web-worker, keyword-spotting, offline-speech-recognition, natural-language-processing, javascript

## Member repositories
- syl22-00/pocketsphinx.js (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:55.553435+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:32:34.666668+00:00, confidence not recorded.
  - readme: https://github.com/syl22-00/pocketsphinx.js (fetched 2026-08-28T04:04:55.553435+00:00, sha ed9a23230dc6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
