Company
Date Published
Author
Michael Carroll
Word count
3090
Language
English
Hacker News points
None

Summary

In this article, the development of a web application with voice command capabilities using AngularJS and PubNub is explored, focusing on creating Siri-like commands to set alarms and handle time-related queries. The application involves integrating several JavaScript libraries, including Ohm for building a domain-specific language to parse and handle voice commands. The article details the implementation of a user interface to accept voice commands and outlines how to structure commands using Ohm's grammar and semantics. It also discusses the use of webkitSpeechRecognition for speech recognition and PubNub for real-time message handling. Overall, the project demonstrates how to build a simple yet functional voice-activated application with potential for further development, inspired by existing voice assistants like Siri and Google Now.