Skip to content

Feat/epub reflowable reader#64

Merged
TimMikeladze merged 3 commits intomainfrom
feat/epub-reflowable-reader
Feb 20, 2026
Merged

Feat/epub reflowable reader#64
TimMikeladze merged 3 commits intomainfrom
feat/epub-reflowable-reader

Conversation

@TimMikeladze
Copy link
Copy Markdown
Owner

No description provided.

TimMikeladze and others added 2 commits February 21, 2026 04:42
Replace the rasterize-to-canvas EPUB import with a proper reflowable reader.
New EPUBs are imported by extracting metadata + cover only (near-instant),
with the raw file stored in IndexedDB for epubjs to render as live HTML.

- Add epubjs dependency and epubCfi fields to Comic/Bookmark/Note types
- Add epubFiles IndexedDB store (DB v7→v8) with save/get/updateProgress
- Add parseEpubMetadata for fast metadata-only EPUB import
- Build EpubViewer component with paginated/scrolling modes, dark mode
  theming, keyboard/click-zone/swipe navigation, and resize handling
- Wire EpubViewer into reader page with CFI-based position restoration
- Adapt PageIndicator (chapter + percentage) and ReaderMenu for EPUB
- Previously imported rasterized EPUBs continue working (no migration)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Move applyTheme above init effect and use biome-ignore for intentionally
limited dependency array (only re-init on file/flowMode changes).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Feb 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
floppy Ready Ready Preview, Comment Feb 20, 2026 10:17pm

The upload dialog and attach file dialog were missing EPUB in their
File System Access API types and iOS accept strings, preventing EPUB
files from appearing in native file pickers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@TimMikeladze TimMikeladze merged commit bc89f51 into main Feb 20, 2026
4 checks passed
@TimMikeladze TimMikeladze deleted the feat/epub-reflowable-reader branch February 25, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant