Add public OBS overlay modes, themes and token protection

This commit is contained in:
larssand
2026-03-22 16:02:08 +01:00
parent 94df6ece34
commit 5c96f2e421
5 changed files with 779 additions and 10 deletions

View File

@@ -27,6 +27,35 @@ JMK RB RaceController is an RC timing and race-control system with support for s
### Judging
![Team Overlay](docs/screenshots/judging.jpg)
## Public Overlay And OBS
The app now supports a dedicated public overlay route so you do not need to expose the full admin UI externally.
- Public overlay route: `/public-overlay/<mode>`
- OBS mode: `/public-overlay/obs`
- OBS overlay can be configured from the `Overlay` menu:
- rows
- layout: `leaderboard`, `grid`, `lowerthird`
- theme: `panel`, `transparent`, `chroma`
- visible columns and blocks
- Use `Copy OBS URL` to generate a ready-to-paste browser-source link for OBS.
If you want simple protection for public overlays, set this environment variable on the server:
```bash
PUBLIC_OVERLAY_TOKEN=your-secret-token
```
Then the public overlay URL must include:
```text
/public-overlay/obs?token=your-secret-token
```
Recommended deployment:
- publish only `/public-overlay/*` through your reverse proxy
- keep the main app/admin UI internal
## Features
- Event modes:
- `Race (driver transponders)`