Skip to content
forked from TalAter/annyang

A javascript library for adding voice commands to your site, using speech recognition.

License

Notifications You must be signed in to change notification settings

CarterTsai/annyang

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

annyang!

A tiny javascript library that lets your users control your site with voice commands.

annyang has no dependencies, weighs less than 1kb, and is free to use and modify under the MIT license.

Demo

Visit the demo and docs site

Usage

It's as easy as adding one javascript file to your document, and defining the commands you want.

<script type="text/javascript" src="annyang.min.js"></script>
<script type="text/javascript">
if (annyang) {
  // Let's define a command.
  var commands = {
    'show tps report': function() { $('#tpsreport').show(); }
  };

  // Initialize annyang with our commands
  annyang.init(commands);

  // Start listening.
  annyang.start();
}
</script>

For more details, visit the demo and docs site.

Author

Tal Ater: @TalAter

License

Licensed under MIT.

About

A javascript library for adding voice commands to your site, using speech recognition.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published