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! 🎉
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.
Follow these simple steps to set up SRT AI Translator and start enjoying better translations:
- An OpenAI API key (grab it here, if you don't have one already)
To build the Docker image with the name srt-ai, use the following command:
docker build -t srt-ai .Before running the application, ensure that the environment variable OPENAI_API_KEY is set.
docker run -p 3000:3000 -e OPENAI_API_KEY=<your_api_key> srt-ai
- Copy the provided example environment file:
cp .env.example .env.local-
Update the .env.local file with your
OPENAI_API_KEY. -
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.
=======
- A Gemini AI Key (grab it here, if you don't have one already)
- Node.js and npm installed on your machine
- Clone the repo
git clone https://github.com/yazinsai/srt-ai - Rename
.env.exampleto.env.localand paste your OpenAI Key. - Install dependencies using
npm install - Start locally using
npm run dev
You should now be able to access the repo at http://localhost:3000/ in your browser.
