Hookhub
A simple webhook handler for Github events
Install / Use
/learn @litl/HookhubREADME
HookHub - A simple webhook handler for Github Releases
Installation
Make sure you have your Go environment setup, in particular that GOPATH is set. Then run:
$ go install github.com/litl/hookhub
Configuration
You will need a hookhub.toml configuration file in the server's working directory. An example is provided.
You will also need to configure your Github webhooks to point at http://<host>:<port>/github_webhook, and then modify them to listen for Releases.
First, find the id for your hook:
curl -H "Authorization: token YOURTOKEN" https://api.github.com/repos/:owner/:repo/hooks
Next, PATCH in support for Release events:
curl -X PATCH -H "Authorization: token YOURTOKEN" -H "Content-Type: application/json" -d '{"add_events":["release"]}' https://api.github.com/repos/:owner/:repo/hooks/:id
Copyright and License
HookHub is Copyright (c) 2013 litl, LLC and licensed under the MIT license. See the LICENSE file for full details.
Heavily derived from https://github.com/litl/hookyapp :-)
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
