Hi! So, I've set my browser language to my second language because I'm comfortable using it. However, there are still some words I don't know.
I used to keep Google Translate open in another tab, but it was taking too much time and also breaking my focus. Looking up a word should take at most half a second, and it should be private.
Recently, I've been using the built-in translation tools in browsers. However, selecting the text, clicking the translate button, and waiting for the result was still too slow. Also, there were no language options (you could only translate into your browser's languages), and privacy was another issue.
So, I decided to build my own browser extension.
Now, I can translate text just by selecting it. The results pop up within 0.1 to 0.3 seconds. Everything happens locally (no servers), so it's completely private. There's also an option for online translation using the Google API.
Over time, I've added some more features, such as favorite words, history, and so on. Right now, I'm working on document reading. It already works fine with PDFs, and things are going well. I think it'll be published in about two days.
The extension is lightweight and 100% free. No accounts, no in-app purchases, privacy, just vibes.I'd be happy if people could benefit from it. <3
Technologies used: Bergamot Engine, Chrome's built-in translation (offline only chrome), and Google API for online translation. Models are hosted on Hugging Face and GitHub Pages.
Chrome & other Chromium browsers (<link>) · Edge (<link>) · Firefox (<link>)