Subtitle
Create subtitles for your video in a few clicks
Installation
- Clone the repository
git git@github.com:DoctorPok42/Subtitle.git
- Install dependencies
npm install
- Add .env file
touch .env
- Add the following variables to the .env file
OPENAI_API_KEY= # Your OpenAI API key
- Run the project
npm run dev
Usage
-
Go to http://localhost:3000
-
Upload your video file or paste the link to your video
-
Click on the "Generate" button
-
Wait for the subtitle to be generated
-
It's done!
Sources Accepeted
Input
Extension | Supported |
---|---|
.mp4 | ✅ |
.mp3 | ✅ |
.mpeg | ✅ |
.mpga | ✅ |
.m4a | ✅ |
.ogg | ✅ |
.wav | ✅ |
.webm | ✅ |
.flac | ✅ |
Output
Format | Extension | Supported |
---|---|---|
YIFY | .srt | ✅ |
Tech
Folder structure
- components - Contains all the components used in the project
- pages - Contains all the pages used in the project
- public - Contains all the static files used in the project
- styles - Contains all the styles used in the project
- api - Contains all the routes api used in the project