Introduce a new eBook reader with support for EPUB, MOBI, AZW3, and FB2 formats (#2258)

Co-authored-by: acx10 <acx10@users.noreply.github.com>
This commit is contained in:
ACX
2026-01-15 20:39:52 -07:00
committed by GitHub
co-authored by acx10
parent 775887b55f
commit 8c35f2415c
107 changed files with 13351 additions and 1733 deletions
@@ -559,7 +559,7 @@
<p-splitbutton label="Read" icon="pi pi-book" [model]="readItems" (onClick)="read(book.id, 'ngx')" severity="primary"/>
}
}
@if (book!.bookType !== 'PDF' && book!.bookType !== 'FB2') {
@if (book!.bookType !== 'PDF') {
<p-button label="Read" icon="pi pi-book" (onClick)="read(book?.metadata!.bookId, undefined)" severity="primary"/>
}
<p-button label="Shelf" icon="pi pi-folder" severity="info" outlined (onClick)="assignShelf(book.id)" class="mobile-icon-only"></p-button>
@@ -734,6 +734,12 @@ export class MetadataViewerComponent implements OnInit, OnChanges {
return 'purple';
case 'cb7':
return 'blue';
case 'fb2':
return 'orange';
case 'mobi':
return 'yellow';
case 'azw3':
return 'green';
default:
return 'gray';
}