[HN Gopher] Self-hostable webhook tester in go
___________________________________________________________________
Self-hostable webhook tester in go
Author : muliswilliam
Score : 67 points
Date : 2025-05-13 09:30 UTC (2 days ago)
(HTM) web link (testwebhook.xyz)
(TXT) w3m dump (testwebhook.xyz)
| muliswilliam wrote:
| I built a small tool to help debug and inspect webhooks more
| easily. It gives you a unique URL where you can see incoming
| requests, headers, payloads, and even replay them.
|
| Built in Go, it's lightweight, open source, and free to use.
|
| Try it out: https://testwebhook.xyz
|
| Code: https://github.com/muliswilliam/webhook-tester
|
| Would love your feedback or suggestions!
| markoph wrote:
| This post falls under Show HN and should probably follow the
| guidelines (eg. title should begin with Show HN:). See
| https://news.ycombinator.com/showhn.html
|
| Tool itself looks interesting and I've been looking for
| something like this several times. I'm bookmarking it for next
| time.
| muliswilliam wrote:
| Thank you, I will post it in show HN
| dangoor wrote:
| I didn't see any sort of license in the repository. If your
| intention is that people can self-host, it would be nice to
| include some sort of license so that it's clear what the terms
| of use are for self-hosting.
|
| Neat looking project! Thanks for sharing!
| m4tthumphrey wrote:
| So I've been looking at these sorts of tools recently as am
| building webhooks into my project. One common theme is that none
| of them allow you to change/add the response headers; only the
| body.
|
| Otherwise it looks good! If you add the above I will have a
| reason to stop looking!
| muliswilliam wrote:
| Thank you for the feedback. I will add a feature to customize
| response headers today.
|
| Any other features you would like to see in the app?
| m4tthumphrey wrote:
| Honestly no... testing them needn't be a complex process!
|
| There is another service that allows for scripting which I'm
| sure some people love, but I just need somewhere I can set
| the response.
| RUnconcerned wrote:
| I'm pretty sure Wiremock (https://wiremock.org) lets you
| configure both the response body and headers.
| ffsm8 wrote:
| That capability is actually not that old, and lots of people
| are gonna be on old versions because they're working on
| brownfield projects, hence...
| sethammons wrote:
| Would love your feedback on a tool I am making that I think
| does exactly that. Still alpha, but would appreciate any
| feedback on if this solves your problem
|
| https://voodoocall.com/docs/
|
| tl;dr: configure responses to your 3rd party http dependencies,
| matching against header or body or url, and returning a custom
| response, including headers.
|
| The best feature, I think, is that you can pass a header in
| that configures the response, so you can have tests that
| dynamically force response content/errors. That and allowing
| your integration tests to validate error paths and various
| states.
| solatic wrote:
| Looks great, I needed something like this recently.
|
| Any chance of doing full support for serverless platforms with
| scale-to-zero? Test infrastructure is usually a great fit for
| serverless since their usage looks like CI runners - high spikes
| when tests are running and 0% utilization otherwise.
| Havoc wrote:
| Probably not hard to wrap this in a docker image and throw it
| into GCP as cloud run
|
| Would probably need to change the code to get rid of the
| generated url part though
| xet7 wrote:
| Here is PHP webhook receiver:
|
| https://github.com/wekan/webhook/blob/main/public/index.php
|
| It can receive per board and global webhooks about what is
| happening at WeKan kanban boards, and run python code
| https://github.com/wekan/wekan/blob/main/api.py to use WeKan API
| to do some change at WeKan.
|
| https://wekan.github.io
|
| https://github.com/wekan/wekan
|
| https://github.com/wekan/wekan/wiki at right menu is more info
| about webhooks etc
| dhalucario wrote:
| Reminds me of https://webhook.site
___________________________________________________________________
(page generated 2025-05-15 23:02 UTC)