Files
owncast-IRC-bridge/Cargo.toml
cottongin 78fec2946c feat: add webhook auth guard and IRC password/username support
Add WEBHOOK_SECRET env var for authenticating incoming Owncast webhooks
via a ?secret= query parameter. Requests with a missing or incorrect
secret are rejected with 401. If unset, all requests are accepted
(with a startup warning).

Also includes previously uncommitted work:
- IRC server password support (IRC_PASSWORD env var, PASS command)
- IRC username/ident field in config
- IRC_PASSWORD and SELinux volume flag in docker-compose.yml

Made-with: Cursor
2026-03-13 00:53:59 -04:00

33 lines
754 B
TOML

[package]
name = "owncast-irc-bridge"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "owncast-irc-bridge"
path = "src/main.rs"
[[bin]]
name = "bridge-ctl"
path = "src/bin/bridge_ctl.rs"
[dependencies]
tokio = { version = "1", features = ["full"] }
axum = "0.8"
irc = "1"
tokio-tungstenite = { version = "0.26", features = ["native-tls"] }
reqwest = { version = "0.12", features = ["json"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["json", "env-filter"] }
clap = { version = "4", features = ["derive"] }
thiserror = "2"
anyhow = "1"
futures-util = "0.3"
[dev-dependencies]
tokio-test = "0.4"
tower = { version = "0.5", features = ["util"] }