There are a bunch of ways of doing speech recognition on a website - I just hacked something together using Annyang which was the first library I found for speech recognition when I Googled:
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi - so if you're using Puck.js or Pixl.js you probably want to use Bluetooth LE?
On MacOS or Android you could use a website with Web Bluetooth - it's definitely the easiest way and there's a tutorial here: http://www.espruino.com/Puck.js+Web+Bluetooth
There are a bunch of ways of doing speech recognition on a website - I just hacked something together using Annyang which was the first library I found for speech recognition when I Googled:
https://gfwilliams.github.io/experiments/voice.html
Just click above, click 'start' and connect to your Puck/Pixl and also let it use your microphone, then try saying
Turn on
andturn off
source here: https://github.com/gfwilliams/gfwilliams.github.io/blob/master/experiments/voice.html