shin1m / alexaagent

Alexa Voice Service Agent
5 stars 4 forks source link

Alexa Voice Service Agent

Alexa Voice Service Agent is a tiny client program for Alexa Voice Service. It is written in C++.

Dependencies

How to Build

autoreconf -is
./configure
make
make install

How to Setup

Register the Product with Alexa Voice Service

Follow the Step 1 in the Getting Started page.

Configure the Product

Make a private key and a certificate for accepting SSL/TLS connections.

Prepare sound files for alerts.

Make a directiory for session files.

mkdir session

Edit session.json appropriately.

cp configuration/example.json configuration/session.json
vi configuration/session.json

Authorize the Product via Login With Amazon

Open the URL of the product (e.g. https://localhost:3000 as in example.json) with a web browser. You will be redirected to the Login With Amazon page.

Log in to Login With Amazon and authorize the product. You will be redirected back to the product and the console page will appear.

TODO

License

The MIT License (MIT)

Copyright (c) 2016 Shin-ichi MORITA

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.