Amazon Echo is a smart speaker developed by Amazon.com. The device is capable of voice interaction, music playback, making to-do lists, setting alarms, streaming podcasts, playing audiobooks, and providing weather, traffic and other real time information. In addition to this developers can write custom “skills” and either use them in a ad hoc manner, or publish them thought Amazon’s developer portal. The haxe library “alexa” can help you get up and running with creating a custom skill written completely in Haxe (currently only available for the NodeJS target).
Github repo can be found here: [repo path=”peteshand/alexa-skills-kit-hx”]
haxelib install alexa
Getting Up & Running
The alexa haxe library includes a sample “hello world” sample application. This demonstrates the most basic type of interaction. After the Amazon echo devices triggers the sample application with the “HelloWorldIntent” the sample app will trigger the “HelloWorldProcess” which simply replies with “Hello World” as the outputSpeech.