Skip to content
tokio-appPublic

About

Tokio's online services: the relay that carries game actions to Roblox.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Tokio API

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.

Commands

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 production

Always deploy with --env: the top-level config has no bindings.

Deploying

Deploying needs the maintainers' Cloudflare account and Roblox keys.

License

MIT

About

Tokio's online services: the relay that carries game actions to Roblox.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages