> This project was developed entirely with AI coding assistance (Claude Opus 4.6 via Cursor IDE) and has not undergone rigorous human review. It is provided as-is and may require adjustments for other environments.
Bidirectional chat bridge between [Owncast](https://owncast.online/) and IRC. Messages sent in your Owncast chat appear in an IRC channel and vice versa.
## Quick Start (Docker Compose)
**1. Create your config file**
```bash
cp config.example.toml config.toml
```
Edit `config.toml` with your IRC server/channel and Owncast URL.
**2. Get an Owncast access token**
In your Owncast admin panel, go to **Integrations > Access Tokens** and create a token with "send messages" permission.
**3. Set the token**
```bash
export OWNCAST_ACCESS_TOKEN="your-token-here"
```
Or create a `.env` file (git-ignored):
```
OWNCAST_ACCESS_TOKEN=your-token-here
```
**4. Configure the Owncast webhook**
In your Owncast admin, go to **Integrations > Webhooks** and add a webhook pointing to:
```
http://<bridge-host>:9078/webhook
```
Select the events: **Chat Message**, **Stream Started**, **Stream Stopped**.
See [`config.example.toml`](config.example.toml) for all options. The only required sections are `[irc]` (with `server` and `channel`) and `[owncast]` (with `url`). Everything else has defaults.