Skip to content

Latest commit

 

History

History
67 lines (48 loc) · 2.63 KB

README.md

File metadata and controls

67 lines (48 loc) · 2.63 KB

Annyang-Trello-Hack

This is part of a hack to create trello cards using the voice recognition library Annyang. The hack consists of two parts.

  1. This project, a webtask which serves up a FORM for filling out the trello card details via voice recognition and then makes requests to an IFTTT channel.
  2. A user created IFTTT channel which receives requests from the webtask and creates trello cards.

Deploying the hack

First we must create the appropriate IFTTT channel. Then we must deploy the webtask.

Creating the IFTTT channel

  1. Go to https://ifttt.com/myrecipes/personal/new Image of thisthenthat

  2. Click on this and select the Maker channel Image of chooseMakerChannel

  3. Choose the trigger Receive a Web Request

  4. Call the event trello_card_created Image of choosing event name

  5. Click on that Image of ifMakerThenThat

  6. Select the Trello channel Image of trello channel

  7. Choose the action Create a card Image of create a card

  8. Fill out the information for creating the card.
    "Value1", "Value2", "Value3" will contain the list name, card title, and card description respectively. Here is an example of what to enter: Image of filling out card fields

  9. Create the recipe Image of create recipe

Getting your Maker key

In order to use the Maker channel you will need your Maker channel key. Go to the https://ifttt.com/maker to retrieve it.

Deploying the webtask

  1. Clone the project and cd into it
git clone https://github.com/mosoto/annyang-trello-hack
cd annyang-trello-hack/
  1. Install the webtask cli
npm install wt-cli -g
wt init
  1. Deploy the web task
wt create app.js --no-parse --no-merge --secret MAKER_KEY="[Your maker key]"

Using the hack

Once the web task is deployed, you can navigate to the webtask url using Chrome and start using it.
Other browsers, may or may not work. It depends on their support of the speech recognition APIs.

The task will look like the following: Image of hack page

Assuming you have a good microphone and an sufficiently quiet room, speaking list home should set the list name input field to home. The same goes for title my title and description This is the description. Saying submit should automatically click on the Submit button which will then create your trello card.