npm/ifttt-hook-translator

Name: ifttt-hook-translator

Owner: npm

Description: ifttt.npmjs.com translate webhooks to maker channel iftt requests!!

Created: 2016-05-24 12:47:36.0

Updated: 2018-01-22 18:47:14.0

Pushed: 2016-06-01 13:59:25.0

Homepage:

Size: 346

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ifttt-hook-translator

Translate webhooks to maker channel iftt requests!!

webhook package changes to IFTTT. trigger any action supported by IFTTT

actions flow through the ether like this.

kage change]->[npm hook]->[this server]->[https://maker.ifttt.com]->[any "that" integration]
Slack example.

use the existing recipe:

https://ifttt.com/recipes/423099-npm-webhooks-to-slack-notif

and skip to adding the hook

or create a new recipe that posts npm webhook changes to your slack!

result

after you complete the first time setup all you need to do to is add hooks with this server as the endpoint (example running on http://ifttt.npmjs.com )

FIRST TIME SETUP

make your own recipe!

  1. login and create and account on https://ifttt.com

  2. visit https://ifttt.com/maker click “connect” button

    connect maker

  3. copy your maker key

    maker key

  4. create the recipe! visit https://ifttt.com/myrecipes/personal/new

    new recipe

  5. click “this” and search for “maker”. click the M logo

    search maker

  6. click the “Make web request” link

    make request

  7. fill in “Event Name” field with “package”

    event name

  8. click “That”

    that

  9. search for “slack”. connect to slack. and click “post to channel”

    slack

  10. fill out the form.

    slack form

add a hook to a package/scope/or author

wombat! open your terminal and run

at hooks add <your scope or package> 'http://ifttt.npmjs.com/hooks?makerKey=<your key from step 3>&event=package' a-secret-does-not-matter

our bridge at http://ifttt.npmjs.com/ is just for fun/education and we do not intend on supporting this service as a public api. please deploy this server yourself =)


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.