voice speechโฑ5 minutes

Get Started with annyang

Quick Summary

โ€œSpeech recognition for your siteโ€

Best for: Developers looking to add voice commands to web apps
Time to first integration: 5 minutes

๐Ÿ“‹Prerequisites

  • โœ“Node.js 18+ installed
  • โœ“A annyang account โ€” sign up here
  • โœ“An existing project (Next.js, React, or Node.js recommended)

Setup Steps

2 steps
1

Include Annyang in your project

Add the Annyang script to your HTML file.

html
<script src='https://cdnjs.cloudflare.com/ajax/libs/annyang/2.6.1/annyang.min.js'></script>
2

Initialize Annyang

Set up Annyang with commands and start listening.

javascript
if (annyang) { annyang.start(); }

Common Gotchas

Watch out for these issues in your first week.

Annyang not recognizing speech

Fix: Ensure the browser supports the Web Speech API and the microphone is enabled.

Links

annyang Guide | AI Navigator