webhook snap


Adnan Hajdarevic (adnan.h)
  • Adnan Hajdarevic (adnan.h)

Install latest/stable of webhook

Make sure snap support is enabled in your Desktop store.

Install using the command line

Don't have snapd? Get set up for snaps.

Channel Version Published

webhook is a lightweight incoming webhook server to run shell commands

webhook is a lightweight configurable tool written in Go, that allows you to easily create HTTP endpoints (hooks) on your server, which you can use to execute configured commands. You can also pass data from the HTTP request (such as headers, payload or query variables) to your commands. webhook also allows you to specify rules which have to be satisfied in order for the hook to be triggered.

For example, if you're using Github or Bitbucket, you can use webhook to set up a hook that runs a redeploy script for your project on your staging server, whenever you push changes to the master branch of your project.

If you use Mattermost or Slack, you can set up an "Outgoing webhook integration" or "Slash command" to run various commands on your server, which can then report back directly to you or your channels using the "Incoming webhook integrations", or the appropriate response body.

webhook aims to do nothing more than it should do, and that is:

  • receive the request,
  • parse the headers, payload and query variables,
  • check if the specified rules for the hook are satisfied,
  • and finally, pass the specified arguments to the specified command via command line arguments or via environment variables.

Everything else is the responsibility of the command's author.

For documentation and help visit the [official GitHub project page](https://github.com/adnanh/webhook).

Developer website

Contact Adnan Hajdarevic

Details for webhook

Last updated
12 February 2019

Share this snap

Generate an embeddable card to be shared on external websites.

Where people are using webhook

Users by distribution (log)

ubuntu 18.04
ubuntu 16.04
ubuntu 19.04
ubuntu 18.10
zorin 12

Related blog posts

Is there a problem with webhook? Report this app