Webhook.site Open Source¶
About the Open Source version¶
There are two separate editions of Webhook.site:
The code for the completely open-source, MIT-licensed version described on this page is available on https://github.com/fredsted/webhook.site, and can be self-hosted using e.g. Docker, is great for testing Webhooks, but doesn't include Webhook.site Pro features like Custom Actions.
The cloud version of Webhook.site at https://webhook.site which has more features, some of them requiring a paid subscription.
You can choose to run the Open Source version of Webhook.site either via Docker, or install it on any Web server with PHP7 support.
laravel-echo-server or Pusher can be used to enable realtime updates. Take a look at the
.env.example to see the environment variables required to configure it.
laravel-echo-server, the app expects socket.io to be available at the
/socket.io path relative to the index page. This can be done with nginx like so:
The provided Docker Compose file sets up a complete environment that runs the Webhook.site image and all dependencies (Redis, Laravel Echo Server, etc.). Note that if running this in production, you should probably run a Redis server that persists data to disk. The Docker image is also not tuned for large amounts of traffic.
- The app will be available on http://127.0.0.1:8084.
A set of Kubernetes configuration files can be found in the
Configure the resources, and apply with
kubectl apply -f ./.
- PHP 7
- Web server – e.g. nginx, apache2
DigitalOcean has a guide on how to configure nginx.
- Run the following commands:
cp .env.example .env- adjust settings as needed
php artisan key:generate
- Setup virtual host pointing to the