Skip to content

chatstatz/webhooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webhooks

The webhooks service listens for subscribed Twitch webhook events and pushes event payloads to the NATS message queue.

CI/CD

Environment Variables

This application uses environment variables for configurations. Below are all expected variables and their default values.

Variable Default Description
WEBHOOKS_HOST 127.0.0.1 The host that the webhooks server should run on
WEBHOOKS_PORT 8080 The port that the webhooks server should be served on
NATS_HOST 0.0.0.0 The NATS host address for NATS clients to connect to
NATS_PORT 4222 The NATS port for NATS clients to connect on
NATS_QUEUE twitch_channels The NATS queue for which to publish messages to
LOG_LEVEL info The log level to start logging from (see here)

Development

Prerequisites

  • Docker
  • Go v1.13 or greater

CI Pipeline

For continuous integration (CI) this project uses GitHub Actions. The build pipeline will run tests and publish Docker images to GCR.

Running Locally

docker build --no-cache -t chatstatz-webhooks .
docker run --rm -p 8080:8080 chatstatz-webhooks

License

This repository is distributed under the terms of the MIT License.

About

The webhooks server for chatstatz

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published