Bespoken Tools (bst) - Tools for Alexa Skills Kit Development
![Join the chat at https://gitter.im/bespoken/bst](https://badges.gitter.im/bespoken/bst.svg)
Overview
The bst (aka Bespoken Tools) makes it easy to develop for Alexa/Echo.
We call it working in BEAST mode - rampage through code/test iterations as Alexa requests are sent directly to your laptop.
Do not slow-down for:
- Time-consuming server deployments
- Over-complicated and error-prone packaging scripts
- Seemingly-innocuous-but-still-pesky service restarts
The current version provides three commands - proxy http, proxy lambda, speak and intend.
The proxies make it super-easy to develop and debug your Alexa skill on your local machine.
Just point the bst at the local service running on your machine, and your code changes will be instantaneously available via Alexa.
The proxies can work either with a service listening on a port (proxy http),
or directly with a Lambda written with Node/JavaScript (proxy lambda).
The speak and intend commands simulate the Alexa service by sending any utterance or intent from the command-line to your service.
The request sent to your service is a properly formatted intent request.
It then prints out the JSON payload returned by your service.
Keep an eye out as we add more features and commands in the future. Current plans:
- deploy: Automatically deploy Alexa Lambdas to the cloud with a single command
Installation
Using NPM:
$ npm install bespoken-tools -g
For additional help, see Getting Started
bst proxy Command
The proxy command allows you to interact with a local service running on your machine via an Alexa device.
Read the docs here.
bst speak Command
The speak command generates intent requests for your service as if they were coming from Alexa itself.
It works in a manner very similar to the Alexa simulator available via the Alexa developer console.
Read the docs here.
bst intend Command
The intend command generates intent requests for your service as if they were coming from Alexa itself.
It works by taking an intent and wrapping it in the correct JSON payload.
Read the docs here.
Bespoken Tools API
The emulator the underlies the speak command can be used for unit and functional testing,
as well as other purposes.
The API reference can be found here.
Tutorials
Questions/Feedback?
Talk to us on Gitter, also feel free to open an issue for a bug or feature request.
We love to hear feedback.