#35 · Primary category: Speech & Audio

annyang

speech speech-recognition speech-to-text voice

💬 Speech recognition for your site

Project last updated:08/05/26

GitHub Stars

6.8K

Forks

1.0K

Contributors

38

License

MIT

Why we included this project

annyang is a small JavaScript library that wraps the browser's built-in speech recognition API, letting you turn spoken phrases into actions with a few lines of code. You define commands as plain strings, including wildcards like 'search for *term', and map them straight to JavaScript callbacks. The whole thing has no dependencies and comes in at around 2 KB, so it's a good fit when all you need is voice input and not a full speech platform. Since it sits on the Web Speech API, it works best in browsers that ship native speech recognition. For people adding voice control to prototypes, accessibility aids, or home-automation dashboards, it's quick to wire up, and the companion Speech KITT library adds a small on-screen widget so users can start and stop listening and see the current status.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category