ifttt-hook-translator
v1.0.1
Published
translate webhooks to maker channel iftt requests!!
Downloads
2
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.
[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!
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!
login and create and account on https://ifttt.com
visit https://ifttt.com/maker click "connect" button
- copy your maker key
- create the recipe! visit https://ifttt.com/myrecipes/personal/new
- click "this" and search for "maker". click the M logo
- click the "Make web request" link
- fill in "Event Name" field with "package"
- click "That"
- search for "slack". connect to slack. and click "post to channel"
- fill out the 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 =)