Skip to content
项目

关于

借助 AI 的魔力,将 SRT 文件翻译成任意语言 ✨

人工智能与机器学习

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

SRT AI Translator - Preview

SRT AI Translator

Translate SRT files to any language, using AI magic ✨

Say goodbye to subpar auto-generated captions and elevate the user experience with high-quality translations! 🎉

Overview

SRT AI Translator leverages the power of AI to provide accurate and natural-sounding translations for SRT subtitle files in any language. This easy-to-use tool ensures that viewers can enjoy video content without the frustration of poorly-translated captions.

Getting Started

Follow these simple steps to set up SRT AI Translator and start enjoying better translations:

Prerequisites

  • An OpenAI API key (grab it here, if you don't have one already)

Docker

Build

To build the Docker image with the name srt-ai, use the following command:

docker build -t srt-ai .

Run

Before running the application, ensure that the environment variable OPENAI_API_KEY is set.

Using docker run
docker run -p 3000:3000 -e OPENAI_API_KEY=<your_api_key> srt-ai
Using docker compose
  1. Copy the provided example environment file:
cp .env.example .env.local
  1. Update the .env.local file with your OPENAI_API_KEY.

  2. Run the application using Docker Compose:

docker compose up

This will read the environment variables from the .env.local file and start the application, exposing it on port 3000.

Manual

Prerequisites

=======

  • A Gemini AI Key (grab it here, if you don't have one already)
  • Node.js and npm installed on your machine

Installation

  1. Clone the repo git clone https://github.com/yazinsai/srt-ai
  2. Rename .env.example to .env.local and paste your OpenAI Key.
  3. Install dependencies using npm install
  4. Start locally using npm run dev

You should now be able to access the repo at http://localhost:3000/ in your browser.

探索相关项目

加载中…