Skip to content

Comments

@remotion/vercel: Create package for Vercel Sandbox rendering#6586

Merged
JonnyBurger merged 57 commits intomainfrom
feat/remotion-vercel-package
Feb 20, 2026
Merged

@remotion/vercel: Create package for Vercel Sandbox rendering#6586
JonnyBurger merged 57 commits intomainfrom
feat/remotion-vercel-package

Conversation

@JonnyBurger
Copy link
Member

@JonnyBurger JonnyBurger commented Feb 18, 2026

Summary

  • Extracts sandbox setup, snapshot management, and render orchestration from template-vercel into a new @remotion/vercel package
  • Exports 8 functions: createSandbox, getOrCreateSandbox, createSnapshot, saveSnapshot, getSnapshot, renderVideoOnVercel, renderStillOnVercel, uploadToBlobStorage
  • Simplifies template-vercel to use the new package (route.ts went from ~87 lines to ~40)
  • Adds documentation pages for all exported APIs

Closes #6587

Test plan

  • bun i succeeds
  • cd packages/vercel && bun run make builds without errors
  • cd packages/template-vercel && bun run build builds Next.js app
  • Template-vercel renders a video end-to-end on Vercel
  • bun run stylecheck passes
  • bun run build-docs passes

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link
Contributor

vercel bot commented Feb 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
bugs Ready Ready Preview, Comment Feb 20, 2026 3:10pm
remotion Ready Ready Preview, Comment Feb 20, 2026 3:10pm

Request Review

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…pe declarations

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…export it

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…shot, replace getOrCreateSandbox/getSnapshot with restoreSnapshot

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…oadToBlobStorage to uploadToVercelBlob

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…apshot, render, and upload APIs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…sing to separate section

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Reintroduce `RenderOnVercelProgress` discriminated union type
- Add `SandboxRenderMediaMessage` / `SandboxRenderStillMessage` for typesafe message parsing
- Add `VercelBlobAccess` type and mandatory `access` option to `uploadToVercelBlob()`
- Transpile `.ts` scripts to JS at build time via `Bun.Transpiler` instead of using `--strip-types` at runtime
- Restore script source files as `.ts`, exclude from tsconfig type-checking
- Update docs for all new types

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…MediaMessage` with `RenderMediaOnVercelProgress`

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…de` to render configs, clean up template scripts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@JonnyBurger JonnyBurger merged commit 6502e61 into main Feb 20, 2026
14 checks passed
@JonnyBurger JonnyBurger deleted the feat/remotion-vercel-package branch February 20, 2026 15:20
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.

Vercel Template: Should better guide user to set BLOB_READ_WRITE_TOKEN token

1 participant