Skip to content

brendanfuller/tunnel-hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tunnel Hook

Tunnel hook allows for a local tunnel to be specified while providing the URL in a web hook hook.

  • Slack
  • Discord

Run locally

Node 16+

Use yarn yarn install

Run it yarn start

Using docker

  1. Clone the repo

    git clone https://github.com/ImportProgram/tunnel-hook

  2. Install docker on your device, for example on a Raspberry Pi

    1. Update your OS

      sudo apt-get update && sudo apt-get upgrade

    2. Install docker

      curl -sSL https://get.docker.com | sh

    3. Install docker-compose (via python 3)

      sudo pip3 install docker-compose

    4. Run docker on boot

      sudo systemctl enable docker

  3. Move directory into the tunnel hook

    cd tunnel-hook

  4. Edit the config. Change the values in the enviroment section

    nano docker-compose.yml

      URL: ""
      PORT: 8000
      DOCKER: "true"
    
  5. Run the docker compose command (with -d to deploy it) and its done!

    docker-compose up -d

About

Use localtunnel and send the URL to a webhook!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published