webhook

webhook is a lightweight incoming webhook server to run shell commands

MIT License

Downloads
4
Stars
9.9K
Committers
55

Bot releases are visible (Hide)

webhook - webhook 2.3.6

Published by adnanh almost 9 years ago

  • added pass-environment-to-command field in hooks.json file definition, to allow user to pass variables from headers, query or payload as environment variables to the command
  • better error handling
  • code refactoring
  • improved test coverage
  • got rid of redundant webhook.go version for windows
webhook - webhook 2.3.5

Published by adnanh about 9 years ago

  • Webhook will now fail if it cannot load hooks during the startup and it's not running in verbose mode (-verbose flag). If you wish to override this behaviour, use the -nopanic flag when starting webhook.
webhook - webhook 2.3.4

Published by adnanh over 9 years ago

  • you can now define multiple hooks with the same id, the first one to satisfy all rules will be triggered
  • you can now return output from command by setting the property in hook JSON include-command-output-in-response to true
  • you can now pass headers, payload or query variables as json to your command using { "source": "entire-headers" }, { "source": "entire-payload" }, { "source": "entire-query" } respectively
webhook - webhook 2.3.3

Published by adnanh over 9 years ago

  • separated windows and other platforms to their own build files
  • removed signal watcher for windows build target
  • you can pass static string as an argument to your command using { "source": "string", "name": "argument you want to pass" }
webhook - webhook 2.3.2

Published by adnanh over 9 years ago

  • added hook reload on USR1 os signal (i.e. on Linux you can now use kill -USR1 webhookpid to reload hooks from hooks file, useful if you don't want to, or, you've forgot to enable hot reload)
  • allow charset declaration in Content-Type header (it will be ignored however, but the correct content type hook handler will be invoked, as opposed to previous versions where nothing would happen)
webhook - webhook 2.3.0

Published by adnanh over 9 years ago

  • added support to decode JSON strings in payload to objects and then to reference them using the dot-notation syntax (useful for Bitbucket hooks where the payload is sent via the x-form-urlencoded as a JSON string)
  • code cleanup and refactoring
  • added tests
webhook - webhook 2.2.2

Published by adnanh over 9 years ago

  • added support for custom URL prefix for hooks using the -urlprefix argument when starting the webhook
  • added response-message property for hooks that will be sent to the hook initiator when the hook gets requested (useful for slack slash commands)
webhook - webhook 2.2.0

Published by adnanh over 9 years ago

  • added support for https
webhook - webhook 2.1.0

Published by adnanh over 9 years ago

  • added hot-reload for hooks file
webhook - webhook 2.0.0

Published by adnanh over 9 years ago

  • major architecture overhaul
  • new trigger rules
  • ability to pass data from header, payload and query variables
  • switched from martini to negroni
webhook - webhook 1.0.4

Published by adnanh over 9 years ago

Package Rankings
Top 29.23% on Formulae.brew.sh
Top 3.3% on Proxy.golang.org
Top 4.95% on Alpine-edge
Top 1.02% on Alpine-v3.18
Top 6.26% on Alpine-v3.14
Top 7.76% on Alpine-v3.17
Top 7.25% on Alpine-v3.15
Top 7.67% on Alpine-v3.16
Badges
Extracted from project README
Get it from the Snap Store