relay2slack 0.3

Creator: railscoderz

Last updated:

Add to Cart

Description:

relay2slack 0.3

relay2slack======relay2slack is a tool for capturing and forwarding incoming Slack webhook events.Installation------------To install relay2slack, simply:.. code-block:: bash pipinstallrelay2slackTorunrelay2slackintheforeground:..codeāˆ’block::bash relay2slackIf you would like to daemonize relay2slack, refer to `docs/ <docs/>`_ for supported methods.Usage-----For whichever service you would like to product webhook events, instead point it to http://localhost:5000/relay with the normal JSON object you expect to send to Slack. For example:.. code-block:: bash curl -X POST -d 'payload={"channel":"@blaketmiller","username":"My service","icon_emoji":":warning:","text":"Hello world"}' http://localhost:5000/relayrelay2slack receives that request and forwards the posted JSON object onto the actual Slack webhook endpoint that you provide it in `SLACK_TOKEN`.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.