Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/doctorpok42/subtitle

Create subtitles for your video and traduction in a few clicks
https://github.com/doctorpok42/subtitle

ai ffmpeg groq material-ui multer nextjs openai sass ts whisper

Last synced: about 1 month ago
JSON representation

Create subtitles for your video and traduction in a few clicks

Awesome Lists containing this project

README

        



# Subtitle

## Create subtitles for your video in a few clicks

## Installation

- 1 Clone the repository

```bash
git [email protected]:DoctorPok42/Subtitle.git
```

- 2 Install dependencies

```bash
npm install
```

- 3 Rename the .env.example file to .env and fill in the variables

```bash
GROQ_API_KEY="YOUR_API_KEY"
```

- 4 Run the project

```bash
npm run dev
```

## Usage

1. Go to [localhost:3000](http://localhost:3000)

2. Upload your video file or paste the link to your video

3. Click on the "Generate" button

4. Wait for the subtitle to be generated

5. It's done!

## Sources Accepeted

### Input

| Extension | Supported |
| --------- | --------- |
| .mp4 | ✅ |
| .mp3 | ✅ |
| .mpeg | ✅ |
| .mpga | ✅ |
| .m4a | ✅ |
| .ogg | ✅ |
| .wav | ✅ |
| .webm | ✅ |
| .flac | ✅ |

### Output

| Format | Extension | Supported |
| ------ | --------- | --------- |
| YIFY | .srt | ✅ |

## Tech

- [OpenAI](https://openai.com/)
- [Groq](https://groq.com/)
- [Next.js](https://nextjs.org/)
- [FFmpeg](https://ffmpeg.org/)
- [Multer](https://www.npmjs.com/package/multer)
- [Axios](https://www.npmjs.com/package/axios)
- [TS](https://www.typescriptlang.org/)
- [SASS](https://sass-lang.com/)
- [Material UI](https://material-ui.com/)

## 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

## License

[MIT](https://github.com/DoctorPok42/Subtitle/blob/main/LICENSE)