Skip to content

feature: cloudflare workers and deploy scripts - #634

Merged
lukepolo merged 10 commits into
mainfrom
feature/playcast-relay-worker
Sep 28, 2026
Merged

lukepolo merged 10 commits into
mainfrom
feature/playcast-relay-worker

Conversation

@lukepolo

@lukepolo lukepolo commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor
  • cloudflare-workers/playcast-relay and ./playcast-relay.sh: Playcast edge relay on RELAY_DOMAIN. Game server uploads pass straight through; viewers are served from Cloudflare's cache.
  • cloudflare-workers/backblaze-proxy and ./backblaze-proxy.sh: the demo/clip/news/event/map-asset worker, moved here from web. Defaults to cf.<domain> and refuses the panel's own hostnames.
  • Both scripts walk through the setup: Cloudflare sign-in (browser, device code or API token), the domain and DNS record, SSL mode, the deploy and the routes.
  • Routes are added through the Cloudflare API, so a worker's existing routes on other hostnames are kept. The relay route is set to fail open.
  • ./backblaze-proxy.sh saves the hostname as CLOUDFLARE_WORKER_DOMAIN in api-config.env (needs chore: cloudflare worker url from the panel config api#430) and applies it right away.
  • CI runs both workers' tests.

@lukepolo lukepolo changed the title feature: playcast edge relay worker feature: cloudflare workers and deploy scripts Sep 28, 2026
@lukepolo
lukepolo merged commit cce9304 into main Sep 28, 2026
1 check passed
@lukepolo
lukepolo deleted the feature/playcast-relay-worker branch September 28, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant