linuxscreen/duo-translator
소개
AI translation & writing assistant
AI 및 머신러닝What you can do
- Bilingual translation
- Bilingual highlighting (Highlight original and translation sentence by sentence)
- Website translation rules (per-site translate areas, no-translate areas and custom CSS)
- Text-to-speech (TTS)
측정된 스타 증가
- in 24h
- 0
- in 7 days
- +7
- in 15 days
- +16
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
Duo Translator
An AI-powered translation and writing assistant. Supports webpage translation, selected text translation, writing enhancement, and more.
Features
Translation
- Webpage translation
- Bilingual translation
- Bilingual highlighting (Highlight original and translation sentence by sentence)
- Style settings
- Website translation rules (per-site translate areas, no-translate areas and custom CSS)
- Selection translation
- Dictionary
- Text-to-speech (TTS)
- Multiple translation services and a compact interface (optional)
- Input box translation
- Paragraph translation
- Webpage translation
AI Writing
- Correct grammar, polish, translate, and more directly in the input box
- AI writing workbench
Video subtitles (YouTube bilingual subtitles)
- Look up words on hover
- Subtitle download
- Subtitle styles
- AI sentence segmentation
Multiple translation and AI service integrations
- Translation services: Microsoft, Google, Yandex, browser built-in AI (Chrome and Edge only), DeepL, Baidu (your own APPID and secret key)
- AI: OpenAI, DeepSeek, Gemini, OpenRouter, OpenCode Go, Claude, Ollama, Custom
Sync & Backup
- Sync methods: Google Drive, WebDAV
- Automatic sync (on a schedule and after a setting changes)
- Backup config (import / export a JSON file)
Shortcuts
- Browser shortcuts
- Translate / Restore page (Alt+S)
- Translate selection / input box (Alt+A)
- Translate / Restore mouse-over paragraph (Alt+Q)
- Open AI writing workbench (Alt+W)
- Double-tap shortcuts (double-tap Ctrl/Alt)
- Translate selection
- Translate input box
- Translate / restore mouse-over paragraph
- Browser shortcuts
Customization
- Function shortcuts (trigger actions with a single press, a long press or a multi-press)
- Selection translate popup (UI customization)
- Extension popup (UI customization)
Installation
Add to your browser:
Alternatively, you can install it manually using the ZIP file.
Safari users install Duo Translator for Safari from the Mac App Store (requires Safari 18.4 or later on macOS). After installing, open Safari → Settings → Extensions, switch it on, and allow it on every website — the extension rewrites pages in place, so it needs access to the sites you read. Shortcuts can only be edited from Safari 26 onwards, under Safari → Settings → Extensions.
Community
Screenshots
Development
Built with WXT + React. Package manager is pnpm.
- Install dependencies:
pnpm i - Start the dev build (with HMR):
pnpm dev(Firefox:pnpm dev:firefox) - Open
chrome://extensions/, enable Developer mode, and load the unpacked extension from.output/chrome-mv3-dev
Other commands:
pnpm build— production build to.output/chrome-mv3(Firefox:pnpm build:firefox, Edge:pnpm build:edge)pnpm zip— package the extension for store uploadpnpm test— unit tests (Vitest)pnpm e2e:build && pnpm e2e— end-to-end tests (Playwright)
Links
Thanks to the LINUX DO community for their help and support.
관련 프로젝트 살펴보기
불러오는 중…