Web widget demo

This page embeds widget.js the way a tenant's site would. Chat goes to the gateway's web webhook and streams replies over SSE; voice mints a LiveKit token from the gateway and talks to the voice worker over WebRTC. Keep this tab visible during a call: browsers mute the microphone of background tabs.

Query parameters work too: ?gateway=https://gw.example&tenant=slt&lang=ta

<script src="https://<your-vercel-domain>/widget.js"
        data-gateway="https://<gateway domain>"
        data-tenant="slt" data-lang="si"></script>