Skip to content

feat: GOTV+ relay on Cloudflare Workers + Durable Objects#1

Merged
FlowingSPDG merged 2 commits into
mainfrom
feat/initial-gotv-worker
Apr 7, 2026
Merged

feat: GOTV+ relay on Cloudflare Workers + Durable Objects#1
FlowingSPDG merged 2 commits into
mainfrom
feat/initial-gotv-worker

Conversation

@FlowingSPDG

Copy link
Copy Markdown
Owner

Summary

Implements a GOTV+ / playcast relay using Hono, Workers, and Durable Objects (one DO per URL \ oken\ for consistent ingest worldwide).

What is included

  • /gotv/:token/...\ routes: ingest (POST start/full/delta with \X-Origin-Auth) and viewer GETs (sync JSON + binary fragments)
  • Protocol behaviour aligned with VDC / Valve reference relay (205 before start, \isSyncReady, sync delay & cache via \wrangler\ vars)
  • OSS-oriented repo files: README quick start, LICENSE (MIT), CONTRIBUTING, SECURITY, .dev.vars.example, optional GitHub Actions deploy template
  • No KV or D1 — only DO + \ORIGIN_AUTH\ secret and optional [vars]\

After merge

Maintainers should set \ORIGIN_AUTH\ via \wrangler secret put\ on the Worker and deploy.

Misei. added 2 commits April 7, 2026 13:45
- Hono worker at /gotv with POST auth via X-Origin-Auth (ORIGIN_AUTH secret)
- GotvMatch DO per token: ingest start/full/delta, playcast sync and blobs
- VDC-aligned 205 before start, sync delay/cache via vars, optional TOKEN_REDIRECT
- OSS docs: README, LICENSE, CONTRIBUTING, SECURITY, CI workflow template
- No KV/D1 required; wrangler.toml + .dev.vars.example only
- Replace index.ts with Hono app (index.tsx): dashboard routes, ASSETS for /assets/*
- Server-render match list; no client JS; copy via readonly fields
- public/assets/dashboard.css + link rel=stylesheet (no inline styles)
- Dashboard components, format helpers, match-index KV listing
- wrangler: assets binding, optional MATCH_INDEX; docs and env updates
@FlowingSPDG FlowingSPDG merged commit e9262c7 into main Apr 7, 2026
@FlowingSPDG FlowingSPDG deleted the feat/initial-gotv-worker branch April 7, 2026 05:06
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