TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Webhook – A lightweight configurable tool written in Go

144 pointsby adnanhabout 8 years ago

13 comments

donatjabout 8 years ago
Interestingly similar and interestingly different to a project I wrote a while back called Hookah. Mine is specifically targeted at GitHub though.<p>I actually might not have written mine if this had been around. I intend to play with this as we want to start handling webhooks from other services and I&#x27;m not really interested in growing the scope of Hookah.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;donatj&#x2F;hookah" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;donatj&#x2F;hookah</a>
评论 #14154365 未加载
评论 #14152635 未加载
评论 #14159525 未加载
评论 #14155593 未加载
neulandabout 8 years ago
Configuration for this, especially the hook rules definitions, would be better in some DSL rather than JSON. Trying to structure logic as JSON is very hard to read.<p>Edit: if you aren&#x27;t married to configuration in a file, you could even do hosted JS or Lua functions kinda like a serverless environment
评论 #14156858 未加载
评论 #14154108 未加载
评论 #14153835 未加载
brianxq3about 8 years ago
Seems cool! Given the example talks about &quot;redeploy,&quot; I assume this was built with longer running tasks in mind? Is there a way to see what hooks are processing and get output from them (or send that output somewhere)?
评论 #14156951 未加载
nomoralabout 8 years ago
CGI?
评论 #14155904 未加载
评论 #14152442 未加载
评论 #14156866 未加载
ziikutvabout 8 years ago
I think your JSON keys are verbose.<p>Command to run should be just called command. And trigger rule can be just trigger no?<p>Maybe personal preference.
评论 #14156881 未加载
评论 #14154584 未加载
openasocketabout 8 years ago
Sigh, it&#x27;s HTTP by default. I get that HTTPS is more setup and it&#x27;s nice to have something that works out of the box with minimal configuration, but the idea of command execution over an insecure channel makes my eye twitch.
评论 #14158118 未加载
评论 #14158120 未加载
zalmoxesabout 8 years ago
Might be a good time to plug my writeup of parsing webhooks in Go <a href="https:&#x2F;&#x2F;groob.io&#x2F;tutorial&#x2F;go-github-webhook&#x2F;" rel="nofollow">https:&#x2F;&#x2F;groob.io&#x2F;tutorial&#x2F;go-github-webhook&#x2F;</a>
stephenrabout 8 years ago
One thing this has going for it that others here likely don&#x27;t: it&#x27;s in debian repos. The docs say `sid` but it&#x27;s made it into `stretch` too.
brutabout 8 years ago
So webhook does not handle sending a response? Only requests?
评论 #14156968 未加载
willlllabout 8 years ago
The icon in the readme looks like the heroku logo
评论 #14156976 未加载
mhmddabout 8 years ago
Awesome tool!
waxmigs2902about 8 years ago
go winner
irfankaabout 8 years ago
di si hajdare :)
评论 #14156978 未加载