1.0.1 • Published 8 years ago

ifttt-hook-translator v1.0.1

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

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.

[package 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

wombat 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 =)