Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

jake-walker/matterbridge-to-webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c9893ff · Oct 20, 2024

History

2 Commits
Oct 20, 2024
Jul 5, 2024
Oct 20, 2024
Oct 20, 2024
Oct 20, 2024
Oct 20, 2024
Oct 20, 2024

Repository files navigation

matterbridge to Webhook

This is a small program to listen on a matterbridge API for messages and forward them to a webhook.

This is being used to build a 'serverless' chat bot, but could also have other uses.

Usage

Configuration

The program is configured using the following environment variables:

Name Default Description
MATTERBRIDGE_API_URL (none, required) The URL to the base of the matterbridge API (excluding /api/...)
MATTERBRIDGE_API_USERNAME (none) The username for basic authentication to the matterbridge API. Defaults to no authentication.
MATTERBRIDGE_API_PASSWORD (none) The password for basic authentication to the matterbridge API. Defaults to no authentication.
WEBHOOK_URL (none, required) The webhook where messages are POSTed to.
MESSAGE_PREFIX (none) Messages without this prefix are ignored. Defaults to accepting all messages.
ENABLE_TELEMETRY (none) When set to yes, the OpenTelemetry SDK will be set up.

Running

To run, simply configure using the above environment variables, then run the following:

go run .

Improvements

  • Debounce/throttle inputs so that any messages received in a short time are sent together.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published