Skip to content
/ whpc Public

Webhook Proxy Client | Send webhooks to localhost

Notifications You must be signed in to change notification settings

kudrykv/whpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webhook Proxy Client

This application helps to route webhooks to localhost.

  ┌──────────────────┐            ┌──────────────────┐
  │                  │            │                  │
  │       whps       │<──webhook──│     Service      │
  │                  │            │                  │
  └──────────────────┘            └──────────────────┘
            ^
            ┃
       websocket
            ┃
┌───────────v──────────────────────────────Local machine
│ ╔══════════════════╗            ┌──────────────────┐ │
│ ║                  ║            │                  │ │
│ ║       whpc       ║──webhook──>│   Application    │ │
│ ║                  ║            │                  │ │
│ ╚══════════════════╝            └──────────────────┘ │
└──────────────────────────────────────────────────────┘

This is a client for the whps. It connects to the server using websocket and relays incoming messages to the Application.

Get

go get -u github.com/kudrykv/whpc/whpc

Usage

Application has two mandatory parameters: channel and route. Channel is your random unique name on what id to operate, and route is the path where to route requests:

./whpc -channel betazoid -route http:https://localhost:8080/webhook

3rd-app can send webhooks here:

https://whps.herokuapp.com/webhook/betazoid

Here, the betazoid is that channel name we made up for ourselves.

About

Webhook Proxy Client | Send webhooks to localhost

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages