An open API service indexing awesome lists of open source software.

https://github.com/Just-Moh-it/Remotion-Template-NextJS

(WIP) A secure & opinionated NextJS template for Remotion v4
https://github.com/Just-Moh-it/Remotion-Template-NextJS

nextjs nextjs-template remotion remotion-template remotion-v4 shadcn-ui typescript

Last synced: about 1 month ago
JSON representation

(WIP) A secure & opinionated NextJS template for Remotion v4

Awesome Lists containing this project

README

          

![Remotion NextJS Template Graphic](https://github.com/Just-Moh-it/remotion-template-nextjs/assets/48997634/539cb082-b890-4978-afef-e9b8264d6845)



Remotion Template NextJS



๐Ÿฆ„ A Fully-Featured Remotion+Next.JS Starter Template



Demo
ยท
Fork this template

## ๐Ÿ“ฆ Features

- โšก๏ธ **NextJS 13** - Uses all the bleeding-edge features of NextJS 13
- ๐ŸŒˆ **Server Actions** - APIs are abstracted, invoke and poll renders with typesafety
- ๐Ÿ“ **App Directory** - Create layouts and new pages delightfully
- ๐ŸŽจ **TailwindCSS** - Uses TailwindCSS for styling app and videos
- ฦ› **Remotion Lambda** - Uses Remotion Lambda for rendering videos at scale
- ๐Ÿ“ฑ **Supports Multiple Video Dimensions** - Change the aspect ratio of your videos using the app
- ๐Ÿ“ฆ **Fully-Featured** - Uses all the features of Remotion
- ๐Ÿ“ **TypeScript+Validation** - Uses TypeScript for type safety and Zod for validation

## ๐Ÿš€ Quickstart

### 1. Generate a repo using this template

Click on the `Use this template` button on the top of the page to create a new repo using this template.

### 2. Install dependencies

```bash
pnpm add
```

### 3. Create `.env` file

Copy the `.env.example` file to `.env` and fill in the values.

```config
REMOTION_AWS_ACCESS_KEY_ID=
REMOTION_AWS_SECRET_ACCESS_KEY=
```

### 4. Deploy lambda

```bash
pnpm run lambda:site
pnpm run lambda:function
```

### 5. Start the app

```bash
pnpm run dev
```

This will start the app on [http://localhost:3000](http://localhost:3000).

## ๐Ÿค™๐Ÿผ Reach out

Having trouble? Unsure of something? Feel free to ask away in the [discussions](https://github.com/Just-Moh-it/remotion-template-nextjs/discussions).

## ๐ŸŒ„ Inspiration

- [Kmenu](https://github.com/harshhhdev/kmenu) - Readme Template
- [Remotion's NextJS Template](https://github.com/remotion-dev/template-next/)