Your keys
Vigia has no servers of its own, so it uses your credentials: always a Jev key, and a Twitch app if you want to moderate your channel.
Jev key
Section titled “Jev key”A Vercel AI Gateway key (it starts with vck_) or a TypeSafe key both work.
Usage is billed to your account:
- $0.042 per million input tokens.
- Output is free.
- A busy night of chat usually costs cents.
The dashboard’s Stats tab shows an hourly cost estimate.
Twitch app
Section titled “Twitch app”You only need it for My channel. Twitch requires two-factor authentication on your account before you can register apps.
- Open the Twitch developer console and choose Register Your Application.
- Fill in the form:
- Name: anything unique, for example
vigia-yourname. - OAuth Redirect URL:
http://localhost. If you use server mode, also addhttps://<your domain>/auth/callback. - Category: Chat Bot.
- Client type: Public.
- Name: anything unique, for example
- Create it, open Manage, and copy the Client ID. There is no secret to keep.
Signing in to Twitch
Section titled “Signing in to Twitch”Vigia uses Twitch’s device code: it shows you a code and you confirm it on twitch.tv. It only asks for the permissions it uses:
- Reading and sending chat.
- Deleting messages, timeouts and bans.
- Seeing who your mods are.
Vigia never issues permanent bans on its own: those are always a person’s call.