🎥 Make videos programmatically with React
Docs: Refer to the remaining starter as Next.js
JonnyBurger68a093e49236
diff --git a/packages/codex-plugin/skills/remotion-best-practices/remotion-saas/framework.md b/packages/codex-plugin/skills/remotion-best-practices/remotion-saas/framework.mdindex 9d0719b5f0..aa2448b62c 100644--- a/packages/codex-plugin/skills/remotion-best-practices/remotion-saas/framework.md+++ b/packages/codex-plugin/skills/remotion-best-practices/remotion-saas/framework.md@@ -9,7 +9,7 @@ Remotion can be used with any React framework.We offer the following templates:-- Next.js App Router with Tailwind: https://github.com/remotion-dev/template-next-app-dir-tailwind. Uses Lambda as default rendering choice.+- Next.js: https://github.com/remotion-dev/template-next-app-dir-tailwind. Uses Lambda as default rendering choice.- Vercel Sandbox rendering: https://github.com/remotion-dev/template-vercel. Uses Vercel as default rendering choice.- React Router 7: https://github.com/remotion-dev/template-react-router. Uses Lambda as default rendering choice.- Express.js render server: `packages/template-render-server`: https://github.com/remotion-dev/template-render-server. Uses Node.js as default rendering choice.diff --git a/packages/codex-plugin/skills/remotion-saas/framework.md b/packages/codex-plugin/skills/remotion-saas/framework.mdindex 9d0719b5f0..aa2448b62c 100644--- a/packages/codex-plugin/skills/remotion-saas/framework.md+++ b/packages/codex-plugin/skills/remotion-saas/framework.md@@ -9,7 +9,7 @@ Remotion can be used with any React framework.We offer the following templates:-- Next.js App Router with Tailwind: https://github.com/remotion-dev/template-next-app-dir-tailwind. Uses Lambda as default rendering choice.+- Next.js: https://github.com/remotion-dev/template-next-app-dir-tailwind. Uses Lambda as default rendering choice.- Vercel Sandbox rendering: https://github.com/remotion-dev/template-vercel. Uses Vercel as default rendering choice.- React Router 7: https://github.com/remotion-dev/template-react-router. Uses Lambda as default rendering choice.- Express.js render server: `packages/template-render-server`: https://github.com/remotion-dev/template-render-server. Uses Node.js as default rendering choice.diff --git a/packages/docs/docs/player-into-remotion-project.mdx b/packages/docs/docs/player-into-remotion-project.mdxindex f7ed86448f..c42a0fbebb 100644--- a/packages/docs/docs/player-into-remotion-project.mdx+++ b/packages/docs/docs/player-into-remotion-project.mdx@@ -19,8 +19,8 @@ If you have a React app that uses the [`<Player>`](/docs/player/player) componentemplates, the Studio is already installed and can be started using the command <a href="/docs/cli/studio"><code>npx remotion studio</code></a>:<br />-- [Next.js (App dir)](/templates/next)-- [Next.js (App dir, Rendering in Vercel Sandbox)](/templates/vercel)+- [Next.js](/templates/next)+- [Next.js (Vercel Sandbox)](/templates/vercel)- [React Router 7 (Remix)](/templates/react-router)<Step>2</Step> Install the Remotion CLI:diff --git a/packages/docs/docs/player/index.mdx b/packages/docs/docs/player/index.mdxindex 72ce030c83..52180d0f4c 100644--- a/packages/docs/docs/player/index.mdx+++ b/packages/docs/docs/player/index.mdx@@ -18,10 +18,10 @@ See the [source code](https://github.com/remotion-dev/remotion/blob/main/package## Templates-The following templates include the Player and Lambda rendering and are a good starting point for building a video app:+The following templates include the Player and cloud rendering and are a good starting point for building a video app:-- [Next.js (App dir)](/templates/next)-- [Next.js (App dir, Rendering in Vercel Sandbox instead Lambda)](/templates/vercel)+- [Next.js](/templates/next)+- [Next.js (Vercel Sandbox)](/templates/vercel)- [React Router 7 (Remix)](/templates/react-router)## APIdiff --git a/packages/docs/docs/player/player-integration.mdx b/packages/docs/docs/player/player-integration.mdxindex e2aec539de..a8e7810555 100644--- a/packages/docs/docs/player/player-integration.mdx+++ b/packages/docs/docs/player/player-integration.mdx@@ -18,11 +18,11 @@ Remotion and your React app use different bundler configurations. Therefore, ifUse one of our starter templates:-- [Next.js (App dir)](/templates/next)-- [Next.js (App dir, Rendering in Vercel Sandbox instead Lambda)](/templates/vercel)+- [Next.js](/templates/next)+- [Next.js (Vercel Sandbox)](/templates/vercel)- [React Router 7 (Remix)](/templates/react-router)-which have the Player and Lambda already set up.+which have the Player and cloud rendering already set up.## Manual setupdiff --git a/packages/docs/docs/studio-app.mdx b/packages/docs/docs/studio-app.mdxindex cd1bdb9f97..fd6806e774 100644--- a/packages/docs/docs/studio-app.mdx+++ b/packages/docs/docs/studio-app.mdx@@ -12,8 +12,8 @@ If you would like to now turn your project into an app, follow these steps.<Step>1</Step> Scaffold a new project using one of those templates:-- [Next.js (App dir)](/templates/next)-- [Next.js (App dir, Rendering in Vercel Sandbox)](/templates/vercel)+- [Next.js](/templates/next)+- [Next.js (Vercel Sandbox)](/templates/vercel)- [React Router 7 (Remix)](/templates/react-router)<Step>2</Step> In the <code>remotion/Root.tsx</code> file of the new project, replace@@ -26,7 +26,7 @@ no errors anymore.<Step>4</Step> Find where the <code>{'<Player>'}</code> is rendered:<ul><li>- <strong>In the Next.js App Dir template:</strong> Under{' '}+ <strong>In a Next.js template:</strong> Under{' '}<code>app/page.tsx</code>.</li><li>diff --git a/packages/docs/docs/vercel.mdx b/packages/docs/docs/vercel.mdxindex 58a51f5404..2d1b4c1955 100644--- a/packages/docs/docs/vercel.mdx+++ b/packages/docs/docs/vercel.mdx@@ -88,8 +88,8 @@ export const POST = async (req: Request, res: NextResponse) => {See also:-- [App router - Example Render endpoint](https://github.com/remotion-dev/remotion/blob/main/packages/template-next-app-tailwind/src/app/api/lambda/render/route.ts)-- [App router - Example Progress endpoint](https://github.com/remotion-dev/remotion/blob/main/packages/template-next-app-tailwind/src/app/api/lambda/progress/route.ts)+- [Next.js - Example Render endpoint](https://github.com/remotion-dev/remotion/blob/main/packages/template-next-app-tailwind/src/app/api/lambda/render/route.ts)+- [Next.js - Example Progress endpoint](https://github.com/remotion-dev/remotion/blob/main/packages/template-next-app-tailwind/src/app/api/lambda/progress/route.ts)## Rendering from a Vercel deployment@@ -115,8 +115,8 @@ The template does not include rate limiting or caching. Implement these before m## Templates-- [Next.js (App dir)](/templates/next)-- [Next.js (App dir, Rendering in Vercel Sandbox)](/templates/vercel)+- [Next.js](/templates/next)+- [Next.js (Vercel Sandbox)](/templates/vercel)- [React Router 7 (Remix)](/templates/react-router)These templates are recommended for building applications that can generate videos.diff --git a/packages/skills/skills/remotion-saas/framework.md b/packages/skills/skills/remotion-saas/framework.mdindex 9d0719b5f0..aa2448b62c 100644--- a/packages/skills/skills/remotion-saas/framework.md+++ b/packages/skills/skills/remotion-saas/framework.md@@ -9,7 +9,7 @@ Remotion can be used with any React framework.We offer the following templates:-- Next.js App Router with Tailwind: https://github.com/remotion-dev/template-next-app-dir-tailwind. Uses Lambda as default rendering choice.+- Next.js: https://github.com/remotion-dev/template-next-app-dir-tailwind. Uses Lambda as default rendering choice.- Vercel Sandbox rendering: https://github.com/remotion-dev/template-vercel. Uses Vercel as default rendering choice.- React Router 7: https://github.com/remotion-dev/template-react-router. Uses Lambda as default rendering choice.- Express.js render server: `packages/template-render-server`: https://github.com/remotion-dev/template-render-server. Uses Node.js as default rendering choice.diff --git a/packages/template-next-app-tailwind/README.md b/packages/template-next-app-tailwind/README.mdindex d72509f6b6..a2341d1aba 100644--- a/packages/template-next-app-tailwind/README.md+++ b/packages/template-next-app-tailwind/README.md@@ -4,7 +4,7 @@This is a Next.js template for building programmatic video apps, with [`@remotion/player`](https://remotion.dev/player) and [`@remotion/lambda`](https://remotion.dev/lambda) built in.-This template uses the Next.js App directory with TailwindCSS.+Tailwind CSS is included.<img src="https://github.com/remotion-dev/template-next/assets/1629785/c9c2e5ca-2637-4ec8-8e40-a8feb5740d88" />diff --git a/packages/template-vercel/README.md b/packages/template-vercel/README.mdindex 2e8bcfff3d..f2b10608cb 100644--- a/packages/template-vercel/README.md+++ b/packages/template-vercel/README.md@@ -6,7 +6,7 @@This is a Next.js template for building programmatic video apps with [`@remotion/player`](https://remotion.dev/player) and rendering via [Vercel Sandbox](https://vercel.com/docs/functions/sandbox).-This template uses the Next.js App directory with TailwindCSS. Videos are rendered in a Vercel Sandbox environment and stored in [Vercel Blob](https://vercel.com/docs/storage/vercel-blob) storage.+Tailwind CSS is included. Videos are rendered in a Vercel Sandbox environment and stored in [Vercel Blob](https://vercel.com/docs/storage/vercel-blob) storage.## Getting Started