/node-react-google-speech-playground

An easy-to-set-up playground for cross device real-time Google Speech Recognition with Create React App, a Node server, and socket.io.

Primary LanguageJavaScript

Node React Google Speech Playground

License: MIT

An easy-to-set-up playground for cross device real-time Google Speech Recognition with Create React App, a Node server, and socket.io. Phew.

This project was bootstrapped with Create React App. It is based on the super reduced log only verison of the Google Cloud Speech Node with Socket Playground by Vinzenz Aubry. It also draws some inspiration from Amber B.'s answer to this question on Stack Overflow. It show's only two buttons, logs the results to the console and has no nlp. Use this if you want to implement it somewhere else.

Run Local

  1. get a free test key from Google
  2. place it into the project root and update the path in the .env file
  3. open the terminal and go to the project root
  4. run npm install
  5. run npm run build
  6. run node server
  7. go to http://127.0.0.1:1337/

Troubleshooting

  • If you have delays in calls, check if IPV6 is disabled on your server

Made by Seth C Whiting