Manga (manga v0.1.0)

Copy Markdown View Source

Batteries-included paged comic reader for Phoenix — manga-style page/spread reading on top of fresco's pan-zoom canvas.

Ships the full paged experience: double-page spreads with wide-page detection, RTL/LTR reading direction, rotation, smart crop, tap-zone presets, per-page overrides (insert blank / force solo), in-place chapter swaps, progress persistence, and an optional annotation layer.

Reading vertical-scroll comics? See the sibling package manhwa — a long-strip reader for the other reading mode. manga builds on its core, so a series whose saved reading mode is "scroll" renders through the strip reader on the same route.

Wiring

Identical to manhwa (one Manhwa.Store, same config keys — see the Manhwa module docs); just mount the manga macro instead:

import Manga.Router

scope "/" do
  pipe_through [:browser, :require_auth]
  manga_reader "/reader/manga"
end

and add both packages to your Tailwind sources:

@source "../../deps/manhwa";
@source "../../deps/manga";