Skip to content

rohinibarla/Relano

 
 

Repository files navigation

To make class summary videos

Steps to first configure on dev machine

  1. Install the needed packages
pnpm install
  1. To generate the video
pnpm render

You can see the video in the out folder.

How to use:

Edit the script/content.json file to customize your video:

{
  "introTitle": "Your Video Title",
  "introCaption": "Subtitle or Date",
  "introduction": "Introduction text",
  "scrollTextTitle": "Section header for topics list",
  "conclusion": "Closing message",
  "conclusionCaption": "Closing subtitle",
  "endingTitle": "End screen title",
  "endingCaption": "End screen subtitle",

  "backgroundMusic": "your-audio.mp3",

  "topChanges": [
    { "title": "Topic 1", "description": "Description of topic 1" },
    { "title": "Topic 2", "description": "Description of topic 2" },
    { "title": "Topic 3", "description": "Description of topic 3" }
  ],

  "allChanges": [
    "List item 1",
    "List item 2",
    "List item 3"
  ]
}

Configuration details:

Field Description
videoFormat Video dimensions: "landscape", "instagram", or "reels"
introTitle Main title shown at video start
introCaption Subtitle shown below intro title
introduction Text before main content
topChanges Featured items (each gets its own animated slide)
allChanges Scrolling list of all items
backgroundMusic Audio file name (place in public/ folder)
conclusion Closing message
endingTitle Final screen title

Notes:

  • Adding more items to topChanges automatically increases video length
  • Place audio files in the public/ folder
  • Run pnpm render after editing to generate the video

Supported Video Formats:

Set videoFormat in content.json to one of these values:

Format Value Dimensions Aspect Ratio Use Case
Landscape HD "landscape" 2160×1080 2:1 YouTube, presentations
Instagram Portrait "instagram" 1080×1350 4:5 Instagram posts
Reels/Shorts "reels" 1080×1920 9:16 Instagram Reels, YouTube Shorts, TikTok

Example:

{
  "videoFormat": "reels",
  ...
}
sample.mp4

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

http://localhost:3000/api/hello is an endpoint that uses Route Handlers. This endpoint can be edited in app/api/hello/route.ts.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

Create beautiful '✨ What's new' videos for free using GitHub Actions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 99.9%
  • Other 0.1%