Libre Manga Translator Sample
[RT-DETR DEFAULT // 3 DETECTED]
v1.0.0 Stable // Latest

LIBRE MANGA
TRANSLATOR

Translate manga directly in your browser. Run everything on your device with WebGPU, offload to Gemini, or point at your own self-hosted LLM. Zero Account, Zero proxy in-between.

100% On-Device Privacy
3 Modes WebGPU · Gemini · API
0 B Image Egress · Local
Raw manga page Translated manga page
Translated Raw Scan
Scroll drives the wipe
01 // Visual Proof

Raw scan in.
Translated page out.

LMT erases original text with a fitted text-shaped mask and repaints your language inside the same bubble — screentone and artwork survive untouched. Keep scrolling to wipe between the raw page and the result.

  • Fast / Quality ladder — planar fill → bilateral denoise → pure-JS Telea, decline-gated. or LaMa Re-Draw Priority (opt-in) with Fast Ladder Fallback
  • Every rung scored by one quality check — a region nothing can clean is left pixel-identical and flagged declined
  • Minimal ghost rectangles, no flat patches, no halos

WebGPU Mode

Default · Local

RT-DETR default (Comic Text Detector selectable) + PaddleOCR, PP-OCRv6 Manga, or Manga-OCR opt-in. Works offline.

EGRESS: 0 BYTES // WEBLLM DIRECT

Gemini Cloud

Cloud Direct

Annotated image direct to Google. OCR + translate in one multimodal pass. No proxy.

FREE AI STUDIO KEY // PROXY-FREE

API Mode

Self-Hosted

Local PaddleOCR extracts text; only strings reach your Ollama or LM Studio server.

IMAGES NEVER LEAVE // FULL CONTROL
One pipeline, three runtimes
02 // Zero Proxy

Three modes.
One pipeline.

Libre — you choose where your data goes. Default to fully on-device, take the cloud when your GPU is weak, or keep total control with your own server. Toggle back to the original image any time.

  • Dual schema support: OpenAI json_object and LM Studio experimental payloads
  • Test Connection probe verifies host, schema and model before you translate
  • Model Storage lists every weight with size — per-model delete, full cache clear, and inline downloads with progress
01 // INTAKEManga Page Scan
02 // DETECTRT-DETR Default (+1 Selectable)
03 // GATE3.7MB Script OSD Gate
04 // EXTRACTPaddleOCR or Manga-OCR
05 // REASONLLM Translate (Gemma3 / Qwen3.5 / Gemini)
06 // RESTOREFast Ladder (Telea) + Quality LaMa
07 // RENDERCanvas Auto-Fit Typography
Offscreen MV3 Thread · WEBGPU
03 // Engine Room

Heavy inference,
off the main thread.

An RT-DETR bubble detector runs in a dedicated offscreen document — the page you're reading never drops a frame. Boxes are merged, speckle-dropped, and numbered in right-to-left reading order. Comic Text Detector with pixel-mask seeding is selectable in Vision › Detection.

  • Language gate — a 3.7 MB on-device script-ID model holds back sound effects and artwork lettering
  • Series context (title, summary, glossary, last 5 pages) keeps names consistent — results keyed by series + chapter + page-index + image hash
Interactive bubble editor
Drag · resize · add · delete
04 // Reader Surface

The box editor
is honest.

Detected boxes are numbered in manga reading order. Drag a missed bubble into place, resize the ones the detector got wrong, undo and redo freely — before a single token is spent on translation.

  • Right-to-left, top-to-bottom numbering with panel-aware band grouping
  • Skip the editor entirely with Skip bbox refining, or batch whole chapters hands-free with Auto-translate
  • Overlay isolation + natural-vs-rendered scaling fix — editor keys never fire the host reader
OCR inspection and translation edit modal
Raw OCR ⇄ translation
05 // Accuracy Guarantee

Read the OCR.
Fix the line.

Open the Edit modal to see the extracted text and the translation side by side, per bubble. Tweak a line, hit Apply — it re-renders on the canvas from the cached inpainted base, without re-running inpainting.

  • Gate-held regions keep their recognized text and show a one-click Translate anyway
  • Toggle original vs translated at any moment to compare
Custom Site Adapters
Three-minute PRs
06 // Extensible Platform

Your site,
your rule.

LMT matches the current URL against community adapters to pull series name, chapter ID and page index. If your site isn't covered, the AI rule generator drafts one from your active model — or write it by hand in about three minutes.

  • Drop a file in src/lib/adapters/ — auto-bundled at build, no registry edits
  • Floating on-page sidebar: switch mode mid-chapter without leaving the page
  • Anti-hotlink bypass + magic-byte decode — JPEG, PNG, WebP, GIF, AVIF
01 // INSTALLATION

Add Extension to Browser

Load unpacked in Chrome or Firefox, or download pre-built release artifacts.

Get Release
02 // CONFIGURATION

Select Translation Engine

WebGPU local weights, free Gemini key, or same-device Ollama / LM Studio.

03 // READING

Translate Manga In-Place

Hover any manga image and click the floating Translate pill. Review boxes and read.

Under two minutes
07 // Start Reading

Three steps
to your first page.

No cloud subscription, no account, no credit card. In WebGPU mode the whole pipeline works offline after the initial model download. Same-device API Mode (Ollama / LM Studio on localhost) is offline-capable too.

  • Right-to-left box sorting is already done for you
  • Results cache per page — re-opening a translated chapter is instant
  • Self-host on the same device — Ollama 127.0.0.1:11434 or LM Studio 127.0.0.1:1234, no internet needed after setup
FAQ ↗

✓ Delivered in v1.0.0 Stable

Much Faster — Better Codes and Optimization for frictionless daily use
Floating trigger + auto-translate — hover pill, action hub, hands-free chapters.
Security core — zero telemetry, SSRF-gated proxy, schema validation, SHA-256 weights.
OCR runtime — in-tree MV3-safe engine, 11 language packs, Manga-OCR + PP-OCRv6.
Fast / Quality inpaint — LaMa-first Quality rung with Fast fallback per region.
2 detectors + Model Storage — RT-DETR def, sizes + delete + hash cache.

◷ In Progress

Korean OCR — manhwa / webtoon coverage.
Firefox AMO — Updating Beta 4 Release into Stable Version.
Chrome Web Store — review and listing underway.

◇ Planned

More site adapters — community rule library growth.
CHANGELOG
08 // Release Status

Built in the open.
Shipped honestly.

LMT releases stay infrequent by design. Pipeline still stabilizing toward long-term vision. Build bit by bit, solidify foundations, no rush.

Known issue:
  • OCR can fail on Korean manhwa / webtoon — actively investigated
  • Heavy code paths may spike resource use in some cases — further optimization planned.
Site adapter PR — 3 minutes of regex in src/lib/adapters/.
Open an issue — bug reports drive the roadmap.
Make Discussion — your idea to improve the app.
AGPL-3.0 · No Account · No tracking
09 // Credits & Attributions

Built on open work.
Keep it Libre.

From v1.0.0 Stable, LMT is AGPL-3.0-or-later — this copyleft will keeps this fork open.

  • ComicTL by Ketut Shridhara — detection pipeline, PaddleOCR, WebLLM translation, bbox editor, AI context, adapters and Gemini path
  • Local Manga Translator PoC — LMT acronym origin, self-hosted servers, dual schema, Test Connection, debug logs
  • Manga Cleaner Ladder inpainting concepts (GPL-3.0, KoMiQ) — fitted masks, ladder + gate, denoise — independent TS rewrite, no copied code
  • Weights: RT-DETR Apache-2.0 · ComicTextDetector GPL-3.0 · OSD Apache-2.0 · Paddle/PP-OCRv6/Manga-OCR Apache-2.0 · LaMa MIT

100% on-device by default · privacy.md ↗

LMT LIBRE MANGA TRANSLATOR In-Browser Image Translation
COVER
00 / 09
Scroll to turn the page