chrome-extension-udemy-translate  by ChenYCL

Chrome extension for real-time subtitle translation

created 7 years ago
1,010 stars

Top 37.7% on sourcepulse

GitHubView on GitHub
Project Summary

This Chrome extension enables real-time subtitle translation for any website, supporting user-defined DOM selectors and multiple translation APIs including OpenAI and locally deployed Ollama models. It benefits users who consume foreign language video content and require customizable, high-quality subtitle translations without page reloads.

How It Works

The extension intercepts subtitle elements on a webpage, identified by user-configured DOM selectors. It then sends the subtitle text to a chosen translation API (OpenAI or Ollama) for processing. The translated text is displayed in real-time, overlaying the original subtitles, with options for styling and positioning. This approach offers flexibility by supporting both cloud-based, high-quality AI translation and local, potentially lower-latency AI models.

Quick Start & Requirements

  • Install from Chrome Web Store (link to be updated) or build from source.
  • Requires Google Chrome or Edge browser.
  • OpenAI API key or Ollama local deployment for translation.
  • Ollama local deployment requires significant hardware resources.

Highlighted Details

  • Supports translation for numerous streaming platforms (Netflix, Hulu, Disney+, etc.).
  • Integrates with OpenAI, Ollama, Yandex, and Azure Cognitive Services.
  • Allows custom website and DOM selector configuration.
  • Offers subtitle styling and positioning options.

Maintenance & Community

  • Open to code contributions via Pull Requests.
  • WeChat Official Account ("影音下午茶") for updates and support.
  • Telegram Group for communication.

Licensing & Compatibility

  • License not explicitly stated in the README.
  • Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The README mentions a "link to be updated" for the Chrome Web Store installation, suggesting it may not be readily available. Ollama local deployment requires substantial hardware, and translation quality is dependent on the chosen API and model.

Health Check
Last commit

3 months ago

Responsiveness

1 week

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

Explore Similar Projects

Feedback? Help us improve.