{"repo":"heygen-com/hyperframes-cloudflare-template","free":true,"listed":false,"github":"https://github.com/heygen-com/hyperframes-cloudflare-template","clone":"git clone https://github.com/heygen-com/hyperframes-cloudflare-template.git","description":"HyperFrames template for Cloudflare Workers + Containers — preview HTML video compositions in the browser, render MP4s server-side.","language":"TypeScript","stars":16,"topics":["cloudflare-containers","cloudflare-workers","hyperframes","r2","template","video-rendering"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"HyperFrames on Cloudflare — TanStack Start + TanStack AI A HyperFrames template built with TanStack Start that previews HTML video compositions in the browser and renders MP4s server-side using a Cloudflare Container (Chromium + FFmpeg) and stores them in R2. AI generation streams through TanStack AI with the official OpenRouter adapter. Demonstrates TanStack Start server routes on Workers (via the Cloudflare Vite plugin), a custom server entry exporting a Container Durable Object, streaming response bodies into R2, and BYOK AI generation over Server-Sent Events with useChat . Deploying provisions a Worker, the RenderContainer Durable Object, and an R2 bucket ( hyperframes-renders ). Cloudflare Containers requires a Workers Paid plan. What this template does - Preview a bundled composition ( cloudflare-intro ) in the browser using , the zero-dependency web component from @hyperframes/player . - Render the composition to an MP4 by POSTing to /api/render . The server route streams the composition to a Cloudflare Container running a pre-built image with Chromium + FFmpeg + HyperFrames, streams the rendered MP4 directly into R2, and returns a URL. - Generate from a prompt (BYOK) — log in with OpenRouter (OAuth PKCE, or paste an API key) and type a text prompt; the /api/generate route runs TanStack AI's chat() with the OpenRouter adapter (Gemini 3 Flash by default) and streams the composition to the browser over SSE as it's written. The client lints the result with @hyperframes/co","default_branch":null,"files":null,"tree":[],"storefront":"/r/heygen-com","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/heygen-com/hyperframes-cloudflare-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}