Thank you for choosing WebhookWormhole. If you are building apps that have webhooks involved, you are in the right place. WebhookWormhole gives you the convenience of allowing to test a webhook-based application in the warmth of your localhost.
Using the docker image, you can run setup the client without any hassle.
> docker pull dockarg/whwh_cli
Now that the image has been downloaded, you can start the container with the following command.
> docker run -e AARGEEE_HOOK_URL=http://localhost:3001 dockarg/whwh_cli
This would have started the client.
Note If AARGEEE_HOOK_URL is not provided, the default url http://localhost:3000 is selected.
You must receive this as your output.
time=... level=INFO msg="Starting WHWH Client... Thank you for choosing me!"
time=... level=INFO msg="Received Hook Url: <APP_URL>"
time=... level=INFO msg="All data to https://whwh.rahulgoel.dev?stream=<uniqueid> will be forwarded to <APP_URL>"
Paste your unique id here and click on the test button.
This will send the following payload to the hook url as a POST request.
{ "payload": "test" }
https://whwh.rahulgoel.dev?stream=
You can use the latest binary release. You can download it using wget
Make sure wget is available in your system.
Windows
> wget -O whwh_cli.exe https://github.com/aargeee/whwh/releases/download/<TAG>/whwh_cli.exe
Linux
> wget -O whwh_cli https://github.com/aargeee/whwh/releases/download/<TAG>/whwh_cli
> chmod +x whwh_cli
Use the latest tag in place of <TAG>.
Windows
> $Env:AARGEEE_HOOK_URL="<APP_URL>"
> ./whwh_cli.exe
Linux
> AARGEEE_HOOK_URL="<APP_URL>"
> ./whwh_cli
The client should have started forwarding traffic to your application.
For any queries, please contact me at rgoel1729@gmail.com ❤️