Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evenh/webhook-router
Receive webhooks on your LAN
https://github.com/evenh/webhook-router
proxy router webhooks
Last synced: 25 days ago
JSON representation
Receive webhooks on your LAN
- Host: GitHub
- URL: https://github.com/evenh/webhook-router
- Owner: evenh
- License: mit
- Created: 2018-10-16T14:14:15.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-23T21:54:10.000Z (almost 2 years ago)
- Last Synced: 2024-04-16T11:21:10.071Z (9 months ago)
- Topics: proxy, router, webhooks
- Language: JavaScript
- Homepage:
- Size: 29.3 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# webhook-router
Uses [smee](https://github.com/probot/smee) to forward webhooks to services not exposed to the open internet.
## Installation
Tested with Node 8.x.
### Directly
`npm install && node index.js`### Docker
`docker run -v /tmp/hooks.yml:/etc/webhooks/config.yaml:ro evenh/webhook-router`## Config
The server looks for `/etc/webhooks/config.yaml` by default. This can be overridden: `WEBHOOK_CONFIG=/tmp/hooks.yaml`
Format:
```yaml
- name: Foo
sources:
- https://hooks.example.com/foo
targets:
- http://jenkins.internal.corp/github-webhook/
- name: Bar
sources:
- https://hooks.example.com/bar
- https://hooks.example.com/baz
targets:
- http://my-server.internal.corp/webhooks
```