🎥 Make videos programmatically with React
Update template details
ASchwad36193fcd840f
diff --git a/packages/create-video/src/templates.ts b/packages/create-video/src/templates.tsindex 3700e95108..ed6eff6371 100644--- a/packages/create-video/src/templates.ts+++ b/packages/create-video/src/templates.ts@@ -44,7 +44,8 @@ export type Template = {| 'tiktok'| 'code-hike'| 'render-server'- | 'recorder';+ | 'recorder'+ | 'code-generation';defaultBranch: string;featuredOnHomePage: string | null;previewURL: string | null;@@ -531,6 +532,28 @@ export const FEATURED_TEMPLATES: Template[] = [allowEnableTailwind: true,contributedBy: null,},+ {+ homePageLabel: 'Code Generation',+ shortName: 'Code Generation',+ org: 'remotion-dev',+ repoName: 'template-code-generation',+ description: 'AI-powered code generation for Remotion',+ longerDescription:+ 'A template that uses AI to generate Remotion video code from prompts.',+ promoBanner: {+ width: 1280,+ height: 720,+ src: '/img/code-generation-template.png',+ },+ cliId: 'code-generation' as const,+ type: 'image' as const,+ defaultBranch: 'main',+ featuredOnHomePage: null,+ previewURL: null,+ templateInMonorepo: 'template-code-generation',+ allowEnableTailwind: false,+ contributedBy: null,+ },].filter(truthy);export const PAID_TEMPLATES = [diff --git a/packages/template-code-generation/README.md b/packages/template-code-generation/README.mdindex f3ce3caad1..609a7a3f41 100644--- a/packages/template-code-generation/README.md+++ b/packages/template-code-generation/README.md@@ -1,88 +1,20 @@-<img src="https://github.com/remotion-dev/template-next/assets/1629785/9092db5f-7c0c-4d38-97c4-5f5a61f5cc098" />-<br/>-<br/>+# template-code-generation-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.+AI-powered code generation template for Remotion.-This template uses the Next.js App directory, with TailwindCSS. There is a [Non-TailwindCSS version](https://github.com/remotion-dev/template-next-app-dir), and a [Pages directory version](https://github.com/remotion-dev/template-next-pages-dir) of this template available.+## Usage-<img src="https://github.com/remotion-dev/template-next/assets/1629785/c9c2e5ca-2637-4ec8-8e40-a8feb5740d88" />--## Getting Started--[Use this template](https://github.com/new?template_name=template-next-app-dir-tailwind&template_owner=remotion-dev) to clone it into your GitHub account. Run--```-npm i-```--afterwards. Alternatively, use this command to scaffold a project:--```-npx create-video@latest --next-tailwind-```--## Commands--Start the Next.js dev server:--```-npm run dev-```--Open the Remotion Studio:--```-npx remotion studio+```bash+npx create-video@latest --template code-generation```-Render a video locally:+## Development+```bash+bun install+bun dev```-npx remotion render-```--Upgrade Remotion:--```-npx remotion upgrade-```--The following script will set up your Remotion Bundle and Lambda function on AWS:--```-node deploy.mjs-```--You should run this script after:--- changing the video template-- changing `config.mjs`-- upgrading Remotion to a newer version--## Set up rendering on AWS Lambda--This template supports rendering the videos via [Remotion Lambda](https://remotion.dev/lambda).--1. Copy the `.env.example` file to `.env` and fill in the values.- Complete the [Lambda setup guide](https://www.remotion.dev/docs/lambda/setup) to get your AWS credentials.--1. Edit the `config.mjs` file to your desired Lambda settings.--1. Run `node deploy.mjs` to deploy your Lambda function and Remotion Bundle.--## Docs--Get started with Remotion by reading the [fundamentals page](https://www.remotion.dev/docs/the-fundamentals).--## Help--We provide help on our [Discord server](https://remotion.dev/discord).--## Issues--Found an issue with Remotion? [File an issue here](https://remotion.dev/issue).## License-Note that for some entities a company license is needed. [Read the terms here](https://github.com/remotion-dev/remotion/blob/main/LICENSE.md).+[Remotion License](https://github.com/remotion-dev/remotion/blob/main/LICENSE.md)diff --git a/packages/template-code-generation/package.json b/packages/template-code-generation/package.jsonindex c1399c97cd..44e61af17a 100644--- a/packages/template-code-generation/package.json+++ b/packages/template-code-generation/package.json@@ -1,6 +1,11 @@{"name": "template-code-generation",- "version": "0.1.0",+ "version": "4.0.379",+ "description": "AI-powered code generation template for Remotion",+ "repository": {+ "url": "https://github.com/remotion-dev/remotion/tree/main/packages/template-code-generation"+ },+ "homepage": "https://www.remotion.dev","scripts": {"dev": "next dev","build": "next build",