No description
  • Go 66.4%
  • JavaScript 19.5%
  • SCSS 9.2%
  • Makefile 3.2%
  • Shell 1.7%
Find a file
Simon Vieille 68c05816dd
Some checks are pending
ci/woodpecker/push/build Pipeline is pending approval
feat(chat): add effect and improve faker
2025-09-07 20:14:05 +02:00
.woodpecker add ci 2025-08-29 14:48:34 +02:00
assets feat(chat): add effect and improve faker 2025-09-07 20:14:05 +02:00
bin feat(chat): add websocket to update messages 2025-09-07 15:46:23 +02:00
cmd/server feat(chat): add effect and improve faker 2025-09-07 20:14:05 +02:00
internal feat(chat): add effect and improve faker 2025-09-07 20:14:05 +02:00
.eslintrc.js init 2025-08-27 12:41:31 +02:00
.gitignore ignore generated assets 2025-08-29 11:33:38 +02:00
.prettierrc.json init 2025-08-27 12:41:31 +02:00
CHANGELOG.md update changelog 2025-09-07 15:50:16 +02:00
config.ini.example feat(chat): add test mode 2025-09-07 15:45:51 +02:00
go.mod feat(chat): add effect and improve faker 2025-09-07 20:14:05 +02:00
go.sum feat(chat): add effect and improve faker 2025-09-07 20:14:05 +02:00
Makefile add ci 2025-08-29 14:36:28 +02:00
package-lock.json feat(chat): add websocket to update messages 2025-09-07 15:46:23 +02:00
package.json feat(chat): add websocket to update messages 2025-09-07 15:46:23 +02:00
README.md doc: add websocket doc 2025-09-07 15:48:33 +02:00
webpack.config.js refactor: reorganize archirecture 2025-08-29 11:31:22 +02:00

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

Pre-compiled package

Go to releases and download the latest version.

From source

Requirements: nodejs (tested with >=22), golang (tested with >=1.24)

git clone https://gitnet.fr/deblan/owncast-webhook
npm i
make build

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

If you use a reverse proxy, configure {server.base_url}/ws.* as weboscket.

Usage

./owncast-webhook -c ./config.ini