Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/doctorpok42/subtitle
- Owner: DoctorPok42
- License: mit
- Created: 2023-09-18T18:51:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-31T21:03:00.000Z (9 months ago)
- Last Synced: 2024-05-02T04:10:32.813Z (8 months ago)
- Topics: ai, ffmpeg, groq, material-ui, multer, nextjs, openai, sass, ts, whisper
- Language: TypeScript
- Homepage:
- Size: 358 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)