GitHub - jammaru/sakutto: A browser extension for easy on-device translation with a local LLM (PLaMo). Private, free, no server needed.

Open original

Sakutto is a free, MIT-licensed Chrome extension that translates web pages entirely on your device using PLaMo 3 Translate, sending no page text to any server. It falls back to Chrome's built-in translator only for a handful of language pairs PLaMo doesn't cover.

  • Translation runs locally; the only network request is the one-time model download from Hugging Face, with no accounts, ads, or telemetry.
  • PLaMo 3 Translate covers 53 languages in either direction, and eleven more languages go through Chrome's built-in translator instead.
  • The model weights are not bundled with the repo or the extension package, and the model's own license allows commercial use only with prior registration or a separate license, so the MIT license covers only Sakutto's code.

Sakutto is a free, MIT-licensed Chrome extension that translates web pages entirely on your device, using PLaMo 3 Translate run through a pinned wllama (WebAssembly llama) build. Every translated line comes from PLaMo itself; if the model isn't ready, the original text stays put rather than falling back to another engine. Chrome's built-in Translator API handles only the 11 language pairs PLaMo doesn't cover (cs, da, el, fi, kn, no, pt, ro, sv, tr, uk). PLaMo covers 53 languages in either direction, the source is detected from the page, and the default target is your browser UI language, falling back to English. The extension is not affiliated with Preferred Networks, and the model weights are fetched from Hugging Face rather than shipped in the package. Otherwise it makes no network calls with page content: no telemetry, no accounts, no ads. The practical details are what most readers will need. Alt+A (Option+A on Mac) translates or restores a page, Alt+B toggles between replaced and bilingual text, and Alt+S translates a selection. Chrome owns the shortcut bindings, so changes go through chrome://extensions/shortcuts. There's also a "Translate typed text" page that runs PLaMo only, with no fallback to Chrome. Permissions are kept narrow: storage and unlimitedStorage for settings, the model and the cache, plus activeTab, scripting, offscreen and contextMenus. Host access for automatic translation is an optional request made per site, so nothing is granted across all sites at install. For developers, building from source needs Node.js 24 and pnpm 12, and the wllama runtime must be compiled once in Docker (emscripten 4.0.20) before `pnpm build` or `pnpm zip` will run; those commands refuse to proceed without a verified build. The repo includes unit, end-to-end and benchmark harnesses, including a headless Chromium benchmark that runs the real 0.8B model on fixed local pages and a page-level benchmark suite whose results accumulate in a history file for comparing commits. Translation into 14 interface languages is handled through catalogs in public/_locales, with a checker and a PLaMo-based drafting tool. The author states there's no monetisation planned and points to GitHub Sponsors for support, with the explicit note that sponsorship unlocks no features.

Ask about this article