AISubtitle  by cgsvv

Subtitle translation tool using GPT

created 2 years ago
395 stars

Top 74.1% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides an AI-powered tool for translating subtitle files, targeting content creators and video editors who need to localize their videos. It leverages GPT-3.5 to translate local SRT/ASS files or subtitles from Bilibili and YouTube into various languages, offering real-time previews and export options.

How It Works

The tool utilizes OpenAI's GPT-3.5 API as its core translation engine. Developed with Next.js and deployed on Vercel, it employs Vercel Edge functions for efficient processing. Upstash Redis is integrated for caching and rate limiting API requests, aiming to improve stability and manage usage.

Quick Start & Requirements

  • Install locally via npm run dev.
  • Requires Node.js and an OpenAI API key.
  • Preview available at http://localhost:3000.

Highlighted Details

  • Supports local SRT/ASS file uploads and Bilibili/YouTube subtitle fetching.
  • Real-time translation preview and export to SRT format.
  • Translation engine options include GPT-3.5 and Google Translate.
  • Supports mutual translation for all common languages.

Maintenance & Community

Contact available via email: cgsv@qq.com.

Licensing & Compatibility

The repository does not explicitly state a license. Users should verify compatibility for commercial use or closed-source linking.

Limitations & Caveats

Translating entire subtitle files can consume a significant number of tokens and may take a considerable amount of time, requiring the browser window to remain open. Users are advised to use their own OpenAI API keys for better stability.

Health Check
Last commit

2 years ago

Responsiveness

1 week

Pull Requests (30d)
0
Issues (30d)
0
Star History
4 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.