#openai #ai #gpt

app srt_translator

A srt translator using OpenAI GPT API

1 unstable release

0.1.2 Apr 5, 2023

#80 in #gpt

MIT license

82KB
258 lines

SRT Translator

  • A practice to rewrite a caption translator with rust

Usage

  • build and run the code with example srt
    cargo run --release -- -f ./examples/small.srt -l German
    

Convert a .srt/ .vtt to desired language

  • TODO

    • Argument parser support

    • File loader

    • OpenAI API calling

    • Chunker

    • Prompt loader

Dependencies

~24–37MB
~429K SLoC