Simple demo using vanilla JavaScript and the browser Web Speech APIs 🌐
Works only on Google Chrome / Chromium ...for now ;)!
See the demo here 👉 https://nativejs-speech-recognition.glitch.me/
Or remix this repo on Glitch 👉
- Node.js >= 8.10.
- Google Chrome / Chromium Browser >= 60.
- Clone this repo into your local machine:
git clone https://github.com/xurzua/nativejs-speech-recognition
- Go to the cloned directory and install it's dependencies:
cd nativejs-speech-recognition
npm install
- Run the app with npm:
npm start
- It should look like this:
> nativejs-speech-regcognition@1.0.0 start /home/dev/nativejs-speech-recognition
> node index.js
SpeechRecognition demo app is listening on port 3000!
- Open the following URL in your Chrome / Chromium browser:
https://localhost:3000/
- If you need to change the server port, you can modify the config file provided in the config directory.
MIT.