Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jidancong/gosrt
ChatGPT 字幕翻译
https://github.com/jidancong/gosrt
chatgpt srt srt-subtitles translate-subtitles
Last synced: 2 months ago
JSON representation
ChatGPT 字幕翻译
- Host: GitHub
- URL: https://github.com/jidancong/gosrt
- Owner: jidancong
- License: mit
- Created: 2024-04-10T06:01:19.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-10T09:29:46.000Z (10 months ago)
- Last Synced: 2024-04-10T10:31:05.179Z (10 months ago)
- Topics: chatgpt, srt, srt-subtitles, translate-subtitles
- Language: Go
- Homepage:
- Size: 78.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🤖 AI 字幕文件翻译
![image](/gosrt.gif)
## 示例
```bash
# 配置ChatGPT KEY
# ~/.gosrt/config.yaml
gosrt set key sk-duDRTrlEAAYQg3yWF8F64dD5E44xxxxxxxxxxxxxxxxxxx
gosrt set url https://openkey.cloud/v1 # 使用官方api不需要配置# 字幕翻译指定srt文件
gosrt srt movie.srt# 字幕翻译指定目录
gosrt srtpath srtdir
```## 使用
```bash
NAME:
gosrt.exe - A new cli applicationUSAGE:
gosrt.exe [global options] command [command options]COMMANDS:
srt 字幕文件
srtpath 字幕目录
set 配置
help, h Shows a list of commands or help for one commandGLOBAL OPTIONS:
--help, -h show help
```