776 B
776 B
Owncast webhook server and chat aggregator
This project provides a webhook server for Owncast.
It implements the webhook triggered when a new message is posted in the chat. It also allows retrieving messages from a Twitch channel and displaying them together on a page that can be embedded into OBS.
Installation
git clone https://gitnet.fr/deblan/owncast-webhook
npm i
./node_modules/.bin/webpack
go run ./cmd/server/
Configuration
Server side
cp config.ini.example config.ini
Owncast
Add a webhook (Integration > Webhooks):
- URL:
{server.base_url}/webhook/{server.webhook_secret}/owncast/chat_message - Events:
When a user sends a chat message
OBS
You can embed the chat using this URL: {server.base_url}/chat/messages