Reconstruct the content of a webhook on the fly!
lapaca has no persistence, you only have to setup an environment variable "hmacKey" with the key encoded in safe url base64 format (replacing the charaters "/" with "_" and "+" with "-").
You can use an online generator like this one
docker run -d -p 80:80 -e hmacKey={YOUR_REALLY_RANDOM_KEY} ghcr.io/aitgelion/lapaca:main
docker-compose up -d
Sample docker-compose:
version: '3.7'
services:
lapaca:
container_name: lapaca
image: ghcr.io/aitgelion/lapaca:main
environment:
# WARNING: Change this key!!!
hmacKey: "GuPrRON7FlSloWkUy1oDfQ=="
enableOpenApi: "true"
ports:
- 80:80
- Create a new WebHook in the remote service and save the url
- Write the target JSON format, replacing values from the origin JSON
- Post the private {hmacKey}, the remote webhook url and the target JSON to 'localhost:80/api/wh'
- Get the returned URL and setup to the source WebHook generator.
