A tiny JavaScript Speech Recognition library that lets your users control your site with voice comma...
AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.
Why it matters
Developers can add browser-based voice commands to web apps in minutes without APIs, keys, or machine learning expertise, though Chrome-only support limits who it actually reaches.
Annyang is a free, tiny JavaScript library, under 2KB, that lets websites understand spoken commands. You write commands like 'show the weather' in plain code and the browser's built-in speech recognition triggers them. It has existed since 2014, handles ums and pauses, and works in Chrome and Edge. No accounts, servers, or AI knowledge are needed to use it.
Annyang offers a low-cost way to add voice shortcuts to web apps for accessibility, kiosks, or power users, using the browser's native Speech Recognition API. There are no licence fees, dependencies, or cloud setup, just a CDN script. The main strategic risk is platform dependence: it works only where Chromium supports the Web Speech API, so Firefox and Safari users are excluded. No usage metrics or adoption figures are given.
Annyang is a sub-2KB wrapper around the browser's native Web Speech API, matching spoken input against command patterns declared in a JavaScript object. It supports wildcard matching (e.g. 'go to *page'), optional words, named groups, continuous listening, and explicit or auto-detected language selection. It handles false starts, silence detection, and graceful fallback when the API is unavailable. Version 2.6.1 is available via cdnjs; no benchmark or accuracy figures are provided.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.