Files
ReaderJS/.gitmodules
T
adminandClaude Sonnet 4.6 fe2548190d feat: add EPUB / MOBI / AZW3 support via foliate-js
- Add foliate-js (MIT) as a git submodule, pinned at 78914ae
- Add EPUBRenderer wrapping foliate's <foliate-view> paginator: drives the
  existing toolbar (prev/next/jump via relocate's location.current/total) and
  maps zoom to font-size reflow; reflowable books use content-based locations
- Register epub/mobi/azw3/azw/kf8 in EXT_MAP; thread file name through for
  foliate's format hinting; add format badge + dropzone tags
- Stub foliate's pdf.js (we use our own PDFRenderer) via a Vite resolveId
  plugin — it bundles pdf.mjs through a `new URL` glob that breaks vite build
- README + index.html: document EPUB/MOBI and credit foliate-js

Verified: vite build succeeds (modules code-split); EPUB renders, paginates,
navigates and zooms in the dev preview.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-25 09:01:41 +02:00

22 lines
703 B
Plaintext

[submodule "submodules/pdf.js"]
path = submodules/pdf.js
url = https://github.com/mozilla/pdf.js
[submodule "submodules/JSDoc"]
path = submodules/JSDoc
url = https://github.com/Alpaq92/JSDoc
[submodule "submodules/docx"]
path = submodules/docx
url = https://github.com/dolanmiu/docx
[submodule "submodules/WebODF"]
path = submodules/WebODF
url = https://github.com/webodf/WebODF
[submodule "submodules/rtf.js"]
path = submodules/rtf.js
url = https://github.com/tbluemel/rtf.js
[submodule "submodules/marked"]
path = submodules/marked
url = https://github.com/markedjs/marked
[submodule "submodules/foliate-js"]
path = submodules/foliate-js
url = https://github.com/johnfactotum/foliate-js