类库 › subtrans
heartleo

heartleo/subtrans

一个使用OpenAI兼容API翻译SRT字幕文件的Go工具。提供命令行和Go库两种使用方式,支持批量处理、双语输出和自定义翻译提示,能自动重试以提高可靠性。

技术栈

查看全部依赖 (5)

依赖

github.com/joho/godotenv v1.5.1 github.com/sashabaranov/go-openai v1.41.2 github.com/spf13/cobra v1.10.2 github.com/spf13/viper v1.21.0 github.com/tiktoken-go/tokenizer v0.7.0

评论

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.1. UTC+08:00, 2026-04-03 03:59
浙ICP备14020137号-1 $访客地图$