Ad

webhookd: Simple Shell Script Webhook Server

webhookd launches shell scripts via HTTP webhooks. It provides a lightweight and configurable server for triggering scripts based on incoming HTTP requests, supporting various HTTP modes and request parameters.
Screenshot of ncarlier/webhookd homepage

webhookd launches shell scripts in response to HTTP requests. It provides a simple way to execute shell scripts based on webhooks, acting as an intermediary between external systems and internal automation. The project solves the problem of integrating shell scripts into web-based workflows and event-driven architectures. It uses Go as the primary language, offering performance and efficient resource management.

webhookd supports multiple HTTP streaming modes (server-sent events and chunked transfer encoding) to handle script output. It provides comprehensive parameter passing via URL, headers, and request bodies, supporting flexibility in data exchange. The design allows for easy configuration through command-line parameters and environment variables. The user experience is streamlined with clear documentation and examples.

  • HTTP Streaming Modes: Supports both server-sent events (SSE) and chunked transfer encoding for real-time script output.
  • Parameter Handling: Provides flexible parameter passing via URL, headers and request bodies, configurable to suit different script requirements.
  • Configuration Options: Offers command-line parameters, environment variables, and a configuration file for easy adaptation.
  • Request Timeout: Globally and per-request timeout configuration for managing long-running scripts.
  • Logging: Allows access to past webhook logs via request ID, enabling debugging and monitoring.
  • Multi-Method Support: Handles various HTTP methods (GET, POST, etc.) in the associated script.
  • User Identification: Provides hooks with an ID, name, method, and user-agent information.

webhookd has been actively maintained since its creation in 2014, benefitting from a consistent release history and ongoing development. The issue tracker shows a well-managed system with timely responses to reported problems. Comprehensive documentation and examples contribute to good usability. The active community engagement suggests a reliable and sustainable project.

webhookd is beneficial for developers who need to integrate shell scripts into web-based workflows. It simplifies the process of triggering scripts from external systems, providing a clear and efficient solution for continuous integration, continuous deployment, and webhook-based automation. It offers a lightweight alternative to more complex webhook systems and provides better control.

Summarize:
Share:
Stars
1,090
Forks
97
Issues
9
Created
11 years ago
Commit
2 months ago
License
MIT
Archived
No
Updated 19 days ago

Similar Repositories