⟪ rahulgoel.dev

Using WebhookWormhole

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.

Please follow the below steps to start testing your application right away.

Using Docker Recommended

Docker Required

Using the docker image, you can run setup the client without any hassle.

1. Installing Client image
The image can be installed using DockerHub. here
To install the image, use this command

> docker pull dockarg/whwh_cli

2. Starting the container

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>"

3. Test your client

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=

Using Binary

You can use the latest binary release. You can download it using wget
Make sure wget is available in your system.

1. Downloading client binary

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>.

2. Starting the container

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 ❤️