Skip to content

gnehs/subtitle-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

subtitle-translator

Translate subtitle using ChatGPT

Features

  • Translate subtitle using ChatGPT gpt-3.5-turbo
  • Support multiple languages
  • Translation according to the preceding and following sentences

How to use

  • Electron
    • You can download the electron app from here
  • Node.js
    • Get your own API key from here
    • Rename config.example.json to config.json and fill in your API key and target language.
    • Put your subtitle file in src folder
    • Run npm install to install dependencies
    • Run node index.js to start
    • After the translation is done, you can find the translated file in res folder

Supported subtitle extensions

  • .srt
  • .vtt WebVTT

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

Translate subtitle using ChatGPT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published