In under 30 lines of JavaScript, I added 2 simple commands, and 2 complex ones.
hello
go to blog
ask (me) my *thing
ask me my name
ask my age
ask my my favourite colour in the whole wide world
search (for) *query
As you can see, from this very simple demo, the potential is limitless. More info can be found here
Create a powerful voice assistant in just a few lines of code
Meet annyang - a tiny JavaScript Speech Recognition library
In under 30 lines of JavaScript, I added 2 simple commands, and 2 complex ones.
hello
- this is a testing function, it creates an alert boxgo to blog
- this just redirects you to my blogask (me) my *thing
- this is the first complex one.ask me my name
ask my age
ask my my favourite colour in the whole wide world
search (for) *query
- search google for whatever you wantAs you can see, from this very simple demo, the potential is limitless. More info can be found here