Tokio's online API, a Cloudflare Worker. Its routes so far are the Roblox relay: Roblox game servers can't reach the streamer's PC, so Tokio sends its game actions here and the Worker publishes them to Roblox's Open Cloud MessagingService, then reads back the MemoryStore items the games write (heartbeats, the games' lists, pairing codes).
API.md: the routes Tokio calls.../tokio-roblox/PROTOCOL.md: the messages and items the relay carries.
yarn test # vitest in the Workers runtime, with a local D1 and a fake Open Cloud
yarn typecheck # tsc
yarn format # prettier --write . (format:check to only check)
yarn deploy:dev # wrangler deploy --env dev
yarn deploy # wrangler deploy --env productionAlways deploy with --env: the top-level config has no bindings.
Deploying needs the maintainers' Cloudflare account and Roblox keys.
MIT