# adnanh/webhook

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/adnanh-webhook).**

11,902 stars · 868 forks · Go · MIT

## Links

- GitHub: https://github.com/adnanh/webhook
- awesome-repositories: https://awesome-repositories.com/repository/adnanh-webhook.md

## Topics

`automate` `automation` `ci` `deploy` `devops` `execute` `go` `hacktoberfest` `hook` `hooks` `incoming` `integration` `programming` `redeploy` `script` `server` `shell` `web` `webhook` `webhooks`

## Description

Webhook is a lightweight automation server that executes local shell scripts and system commands in response to incoming HTTP requests. It functions as an integration engine, mapping external network events to server-side tasks by parsing request payloads and triggering predefined processes.

The project distinguishes itself through a declarative configuration model that allows for dynamic argument injection. By extracting values from request headers, query parameters, or bodies, it populates command templates to facilitate flexible script execution. This enables the automation of infrastructure workflows, such as deployment pipelines, by bridging external service events with local command-line operations.

Security is managed through request signature validation, which verifies the authenticity of incoming payloads against stored secrets before any command execution occurs. The system operates by spawning synchronous child processes, capturing their output to provide immediate feedback for each request. The software is distributed as a standalone binary and is configured via structured files.

## Tags

### Development Tools & Productivity

- [Shell Script Execution Engines](https://awesome-repositories.com/f/development-tools-productivity/shell-script-execution-engines.md) — Executes shell scripts automatically in response to incoming HTTP webhook requests. ([source](https://github.com/adnanh/webhook/tree/master/docs/))
- [Automation Servers](https://awesome-repositories.com/f/development-tools-productivity/automation-servers.md) — Provides a utility for triggering local server tasks and deployment workflows through validated webhooks.
- [Command Execution Engines](https://awesome-repositories.com/f/development-tools-productivity/command-execution-engines.md) — Maps HTTP request payloads to command-line arguments using templates to automate infrastructure tasks.
- [Argument Injection Utilities](https://awesome-repositories.com/f/development-tools-productivity/argument-injection-utilities.md) — Parses request data into variables and injects them into command templates before execution.
- [Command Template Engines](https://awesome-repositories.com/f/development-tools-productivity/command-template-engines.md) — Supports dynamic construction of command parameters by injecting request data into templates. ([source](https://github.com/adnanh/webhook/tree/master/docs/))
- [Data Injection](https://awesome-repositories.com/f/development-tools-productivity/data-injection.md) — Extracts values from request headers, query parameters, or bodies to populate command templates. ([source](https://github.com/adnanh/webhook/tree/master/docs/))

### Networking & Communication

- [Local HTTP Servers](https://awesome-repositories.com/f/networking-communication/local-http-servers.md) — Acts as a lightweight server that executes shell scripts and system commands in response to HTTP requests.
- [HTTP Request Triggers](https://awesome-repositories.com/f/networking-communication/network-infrastructure-routing/network-infrastructure-configuration/network-management/http-interaction-utilities/http-request-triggers.md) — Triggers local system commands and shell scripts in response to incoming HTTP requests.
- [Webhook Event Consumers](https://awesome-repositories.com/f/networking-communication/webhook-event-consumers.md) — Integrates third-party services with local infrastructure by processing incoming webhook payloads.

### Security & Cryptography

- [Webhook Security](https://awesome-repositories.com/f/security-cryptography/webhook-security.md) — Verifies incoming webhook requests using shared secrets to ensure only authorized sources trigger commands. ([source](https://github.com/adnanh/webhook/tree/master/docs/))

### Artificial Intelligence & ML

- [Workflow Automation Servers](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/integration-deployment/ai-agent-tooling/workflow-automation-servers.md) — Provides a server-side automation engine for triggering custom scripts via HTTP requests.

### Part of an Awesome List

- [Automation and Integrations](https://awesome-repositories.com/f/awesome-lists/devtools/automation-and-integrations.md) — Executes commands triggered by incoming Slack webhooks.

### DevOps & Infrastructure

- [Continuous Deployment Pipelines](https://awesome-repositories.com/f/devops-infrastructure/continuous-deployment-pipelines.md) — Automates deployment pipelines by triggering build and release scripts via webhook events.

### Software Engineering & Architecture

- [Request Validation](https://awesome-repositories.com/f/software-engineering-architecture/request-validation.md) — Verifies the authenticity of incoming webhook payloads using shared secrets before processing.
- [Declarative Configuration](https://awesome-repositories.com/f/software-engineering-architecture/declarative-configuration.md) — Uses structured configuration files to define the mapping between incoming HTTP requests and server-side command execution.

### Web Development

- [Administrative API Endpoints](https://awesome-repositories.com/f/web-development/api-management-tools/api-development-management/web-apis/administrative-api-endpoints.md) — Exposes controlled, secure API endpoints for triggering administrative tasks.
