# adnanh/webhook

webhook is a lightweight incoming webhook server to run shell commands

Repository: https://github.com/adnanh/webhook
Canonical: https://ross.abutalabs.com/products/webhook
Language: Go
License: MIT
License Family: permissive
Topics: webhook, go, devops, deploy, redeploy, shell, web, server, incoming, execute, hook, hooks, webhooks, integration, ci, automate, script, automation, programming, hacktoberfest
Last push: 2026-08-05T20:05:30+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 38, longevity 100
- inputs: {"age_days": 4251, "days_push": 28, "days_rel": 202, "gap_med": 475, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 12091, forks 874 (observed 2026-08-28T04:10:51.733917+00:00)

## What it is
webhook is a lightweight Go-based tool that lets you create configurable HTTP endpoints (hooks) on your server to execute shell commands. It parses request headers, payloads, and query variables, applies rule-based matching, and passes data to commands via arguments or environment variables.

## Use cases
- run a redeploy script when GitHub pushes to master
- trigger shell commands from Slack or Mattermost outgoing webhooks
- set up HTTP endpoints that execute server-side scripts
- automate deployments from CI webhook events
- pass webhook payload data to scripts as environment variables
- build simple automation hooks without writing a full server

## When to choose
- you need a tiny, single-binary tool to trigger shell commands from incoming webhooks
- you want rule-based filtering of webhook requests before command execution
- you prefer a self-hosted, dependency-free alternative to full automation platforms

## When to avoid
- you need webhook queuing, replay, or monitoring features
- you want a full workflow engine or GUI for managing hooks
- you need to run complex logic beyond shell commands

## Facets
- artifact type: service
- maturity: stable
- function: webhook, http-server, workflow-automation, deployment, cli
- domain: web-development, self-hosted, developer-tools
- platform: windows, cross-platform, go, self-hosted
- tags: incoming-webhooks, shell-commands, hook-server, ci-cd, lightweight, devops, automation, linux, macos

## Member repositories
- adnanh/webhook (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:51.733917+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:14:56.500749+00:00, confidence not recorded.
  - readme: https://github.com/adnanh/webhook (fetched 2026-08-28T04:10:51.733917+00:00, sha 52c71e636373)
- Data as of 2026-08-30T08:39:29.467469+00:00.
