Skip to content

LNS2905/Telegram_AutoTranslator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Telegram Auto Translator

Auto-translate Telegram Web chats with batch translation, resilient DOM handling, and OpenAI-compatible providers.

Current release: v5.0.0 (updated for Feb 2026)

Maintainer

What’s New in v5.0.0 (Feb 2026)

  • Upgraded popup UI/UX to a soft-neumorphism style.
  • Added support banner with direct GitHub Star link.
  • Improved OpenAI-compatible translation flow.
  • Added per-message inline Translate button for missed messages.
  • Added robust message re-attach behavior for virtualized Telegram DOM.
  • Tuned batching behavior and queue handling.
  • Removed donation prompts from popup.

Features

  • Auto-translation for Telegram Web (/a/, /k/, /z/ routes)
  • OpenAI-compatible provider support (custom base URL + API key + model)
  • Batch translation queue
  • Translation cache (local)
  • Inline Translate button for manual retry per message
  • Resilient selector strategy for Telegram UI changes

Supported Providers

  • Google Translate
  • Gemini 2.0 Flash
  • Gemini 2.5 Pro
  • Mistral (OpenRouter)
  • OpenAI-compatible APIs (OpenAI, Groq, OpenRouter-compatible, local gateways)

Installation

Chrome / Edge / Brave

  1. Clone or download this repo.
  2. Open chrome://extensions/ (or edge://extensions/).
  3. Enable Developer mode.
  4. Click Load unpacked.
  5. Select folder: Telegram Translator.

Firefox (temporary load)

  1. Open about:debugging#/runtime/this-firefox.
  2. Click Load Temporary Add-on.
  3. Select Telegram Translator/manifest.json.

Configuration

  1. Open extension popup.
  2. Choose translation service.
  3. Choose target language.
  4. Save settings.

For OpenAI-compatible mode:

  • Base URL (example): https://api.openai.com/v1
  • API Key
  • Model (example): gpt-4o-mini, gpt-4.1-mini, mixtral, etc.

Notes (Feb 2026)

  • Telegram Web uses virtualized message rendering; old message nodes can be recycled.
  • The extension stores translation mappings and attempts to re-attach translations when messages return to viewport.
  • Batch behavior is tuned for lower API spam while keeping visible messages prioritized.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors