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.
- get a free test key from Google
- place it into the project root and update the path in the
.env
file - open the terminal and go to the project root
- run
npm install
- run
npm run build
- run
node server
- go to
http://127.0.0.1:1337/
- If you have delays in calls, check if
IPV6
is disabled on your server
Made by Seth C Whiting