An easy-to-set-up playground for cross device real-time Google Speech Recognition with a Node server and socket.io.
- get a free test key from Google
- place it into the src folder and update the path in the
.env
file - open the terminal and go to the
src
folder - run
npm install
- run
node app.js
or with nodemon:nodemon app
- go to
http://127.0.0.1:1337/
Same as run local 1-4
.
- config the
.env
Port for a port that you've opened on the server. I'm using 1337 here, too. - go to
your server adress
I recommend using pm2 or something similar, to keep the process running even when close the connection.
Made by Vinzenz Aubry