Tunnel hook allows for a local tunnel to be specified while providing the URL in a web hook hook.
- Slack
- Discord
Node 16+
Use yarn
yarn install
Run it
yarn start
-
Clone the repo
git clone https://github.com/ImportProgram/tunnel-hook
-
Install docker on your device, for example on a Raspberry Pi
-
Update your OS
sudo apt-get update && sudo apt-get upgrade
-
Install docker
curl -sSL https://get.docker.com | sh
-
Install docker-compose (via python 3)
sudo pip3 install docker-compose
-
Run docker on boot
sudo systemctl enable docker
-
-
Move directory into the tunnel hook
cd tunnel-hook
-
Edit the config. Change the values in the enviroment section
nano docker-compose.yml
URL: "" PORT: 8000 DOCKER: "true"
-
Run the docker compose command (with -d to deploy it) and its done!
docker-compose up -d