Files
general-purpose-bot/relay/README.md
Minz bf5d61ffca Fetch vrc.tl events via Cloudflare Worker relay
vrc.tl returns 403 for the VPS IP range. Route lookups through a relay
Worker (relay/), configured via vrctl.relayUrl/relaySecret in config.json.
Also handle events without eventSlots/performers instead of crashing.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MrxnVXujrZqNrENxJZfVkU
2026-09-30 23:45:38 +02:00

325 B

vrc.tl relay

Cloudflare Worker that proxies vrc.tl event lookups (vrc.tl blocks the VPS IP range). Only serves GET /events/<id> and requires an x-relay-secret header.

cd relay
npx wrangler deploy
npx wrangler secret put RELAY_SECRET

Set vrctl.relayUrl and vrctl.relaySecret in the bot's config.json.