Back to browse
GitHub Repository

X's posts are automatically translated into the specified language and displayed embedded. Translation can be done using Google Translate, or a local translation server as a fallback.

0 starsJavaScript

X-auto-translator (Chrome extension for translating X posts)

by shinobu_miya·Feb 17, 2026·1 point·0 comments

AI Analysis

●●SolidSolve My ProblemNiche Gem
The Take

Auto-translates timeline tweets and runs OCR on individual tweet pages using Tesseract.js, with options for Google or a self-hosted LibreTranslate fallback. Sensible trade-offs (OCR disabled on the fast-moving timeline, client-side processing) show practical thinking, though reliance on an unofficial Google endpoint and X's volatile DOM means it may need frequent upkeep.

Category
Target Audience

X.com users with multilingual timelines, privacy-conscious readers, and developers looking for a client-side translation/OCR extension example

Post Description

I built this Chrome extension because my X timeline contains posts in many languages, and constantly switching to external translators breaks reading flow.

This extension automatically translates posts inline.

Tech details: - Chrome Extension (HTML, CSS, JavaScript) - Uses Tesseract.js (Apache-2.0 License) for OCR where needed - Fully client-side - Open source (Apache-2.0 License)

GitHub: https://github.com/ShinobuMiya/x-auto-translator

Feedback and suggestions welcome.

Similar Projects

Developer Tools●●Solid

Node.js LLM internationalization compiler: Scan code and Auto-Translate

It hooks into your build process, finds t(...) calls, and only generates missing translations via an LLM while preserving hand-edited entries — useful ergonomics many i18n tools skip. Comes with Vite/Webpack plugins, watch/batching modes and unused-key cleanup; the hard parts left to you are translation quality, API cost, and secrets management.

Solve My ProblemNiche Gem
mfcmatheus
204mo ago