Repolode
linuxscreen

linuxscreen/duo-translator

A browser extension for AI-powered webpage, selection, input box and video subtitle translation, plus AI writing help.

Open-source alternative to:Google TranslateDeepL

Stars
242
Forks
29
Open issues
11
Last commit
6 hours ago

What is it?

Duo Translator is a browser extension that translates web pages, selected text, input boxes and paragraphs, with bilingual display and sentence-by-sentence highlighting. It also includes an AI writing workbench that can correct grammar, polish and translate text directly in input fields.

The extension integrates several translation services, including Microsoft, Google, Yandex, DeepL and browser built-in AI on Chrome and Edge, as well as AI providers such as OpenAI, DeepSeek, Gemini, OpenRouter, Claude and Ollama. YouTube videos can show bilingual subtitles with hover word lookup and AI sentence segmentation.

Settings can be synced through Google Drive or WebDAV, or backed up as a JSON file. Keyboard shortcuts and double-tap triggers are supported. It is built with WXT and React and is available for Chrome, Edge, Firefox and Safari.

Key features

  • 01Bilingual webpage translation with sentence-by-sentence highlighting
  • 02Selection translation with dictionary and text-to-speech
  • 03Grammar correction and polishing in input boxes
  • 04YouTube bilingual subtitles with hover word lookup
  • 05Integration with multiple translation services and AI models including Ollama
  • 06Sync via Google Drive or WebDAV and JSON config backup

Use cases

  • Reading foreign-language articles and documentation in the browser
  • Watching YouTube videos with bilingual subtitles
  • Writing and polishing emails or posts in a second language
  • Running translations through a local Ollama model

Quick start

  1. 1

    Install dependencies

    pnpm i
  2. 2

    Start the dev build with HMR

    pnpm dev
  3. 3

    Open chrome://extensions/, enable Developer mode, and load the unpacked extension from .output/chrome-mv3-dev

Things to know

  • Requires pnpm to build from source.
  • Some translation and AI services need your own API keys or accounts.
  • Safari version requires Safari 18.4 or later on macOS.

In collections

Topics

FAQ

What is duo-translator?
A browser extension for AI-powered webpage, selection, input box and video subtitle translation, plus AI writing help. Duo Translator is a browser extension that translates web pages, selected text, input boxes and paragraphs, with bilingual display and sentence-by-sentence highlighting. It also includes an AI writing workbench that can correct grammar, polish and translate text directly in input fields.
Is duo-translator free to use? What license does it have?
duo-translator is open source under the GPL-3.0 license. Check the license terms before using it in commercial products.
Is duo-translator still maintained?
Actively maintained. The last commit to duo-translator was on Nov 7, 2026.
What can I use duo-translator for?
Reading foreign-language articles and documentation in the browser Watching YouTube videos with bilingual subtitles Writing and polishing emails or posts in a second language Running translations through a local Ollama model
How do I install duo-translator?
Install dependencies: pnpm i Start the dev build with HMR: pnpm dev Open chrome://extensions/, enable Developer mode, and load the unpacked extension from .output/chrome-mv3-dev
Where can I get duo-translator?
The source code and installation instructions are on GitHub: https://github.com/linuxscreen/duo-translator

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects