smee, persistent local webhooks
Create a webhook locally which persists between script runs, with no configuration required.
var smee = ;smee;
Hook configuration is stored in a local .smeeconf
file in your script directory and is different between scripts.
To use as middleware in a permanent server, just move to smee.hook
:
var app = ;app
Options
If your webhook call is being sent incorrectly from the server (as form or text data), set json: true
in the options:
smee
The default port is 9009
. If this is conflicting, change it by setting port: ...
in the options.
Installation
Install localtunnel:
pip install localtunnel
Then:
npm install smee
License & Credits
Smee is MIT licensed.
And if you're feeling good today, donate to localtunnel for being such an awesome project.