Translate subtitle using ChatGPT
- Translate subtitle using ChatGPT
gpt-3.5-turbo - Support multiple languages
- Translation according to the preceding and following sentences
- Electron
- You can download the electron app from here
- Node.js
- Get your own API key from here
- Rename
config.example.jsontoconfig.jsonand fill in your API key and target language. - Put your subtitle file in
srcfolder - Run
npm installto install dependencies - Run
node index.jsto start - After the translation is done, you can find the translated file in
resfolder
.srt.vttWebVTT
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
