If you read raw Japanese manga or Korean webtoons in Chrome or Edge, most translation extensions slap opaque rectangular white boxes over the speech bubbles—chopping off radial spikes, sound effects, and background artwork.
I built MangaInlay (hub.guuguo.top/mangainlay · GitHub) to handle erasure and typesetting locally on an offscreen HTML5 Canvas, so translated dialogue blends right back into the original panel.
How It Works
Instead of sending full-resolution pages back and forth or overlaying clunky DOM boxes:
-
Compact NDJSON Only: The backend returns only normalized bubble bounding boxes (
[ymin, xmin, ymax, xmax]), orientation (horizontal/vertical), category (dialogue/sfx/sign), and translated text across 17 target languages. - Local Offscreen Canvas Harmonic Inpainting: The extension samples interior bubble colors in-browser, solves 14 rounds of discrete Laplace relaxation inside the true bubble cavity (using Manhattan distance sealing on open starbursts), and wraps translated lines along 16-slice horizontal contours.
-
Artwork, Signs & Hold-Alt Original Peek:
- Radial Starbursts: Preserves spiky shout-bubble borders cleanly without clipping.
- Tilted Signs & Handwritten SFX: Keeps original artwork untouched and places perspective-matched parallel notes next to signs.
-
Hold
Altto Peek Original: HoldAltat any moment to toggle back to the raw artwork, then release to keep reading.
-
Encrypted
<canvas>& Long-Strip Webtoon Streaming: Supports scrambled<canvas>readers like Shonen Jump+ (including two-page spread alignment), slices tall webtoons cleanly, runs viewport-prioritized streaming requests with 2-screen lookahead, and tracks horizontal/carousel page turns at 60fps viarequestAnimationFrame.
Try MangaInlay (Official Chrome & Edge Stores Live)
- Chrome Web Store: Install MangaInlay on Chrome
- Microsoft Edge Add-ons: Install MangaInlay on Edge
- Product Homepage & Interactive Demo: https://hub.guuguo.top/mangainlay
- Open-Source Backend & Repo: https://github.com/guuguo/MangaInlay
- Generous Free Tier: 30 free slices/day + 30 Day-1 welcome bonus (60 slices on Day 1). Both local IndexedDB cache hits and shared cloud cache hits cost 0 quota, and safety-filtered panels never deduct quota.




Top comments (0)