feat(api,web): support CBZ — scan, métadonnées, lecteur d'albums

- api: cbz utilitaire commun, scanner/métadonnées (+ tests), books, schéma et migrations
- web: CbzReader, ReaderPage/locators (+ tests), types et client API
- shared: types formats

Refs: #16
This commit is contained in:
Git Agent
2026-08-23 11:52:40 +02:00
parent 4b7d4d45ce
commit e5513d81eb
18 changed files with 366 additions and 15 deletions

View File

@ -249,6 +249,11 @@ h2 {
color: var(--ink);
}
.format-cbz {
background: var(--violet-glass);
color: var(--ink);
}
.continue-grid,
.library-list,
.job-list {
@ -481,7 +486,8 @@ input {
}
.pdf-reader,
.epub-reader {
.epub-reader,
.cbz-reader {
display: grid;
place-items: center;
gap: 10px;
@ -489,7 +495,8 @@ input {
}
.pdf-reader canvas,
.epub-reader iframe {
.epub-reader iframe,
.cbz-reader img {
max-width: min(100%, 980px);
max-height: calc(100vh - 170px);
border: 1px solid var(--line);
@ -497,6 +504,11 @@ input {
background: #f7f0df;
}
.cbz-reader img {
width: auto;
object-fit: contain;
}
.epub-reader iframe {
width: min(100%, 980px);
height: calc(100vh - 170px);