Pure-JS, MIT-licensed DjVu decoder (DejaView) running in a Web Worker.
Pages render lazily to canvas (window around the current page plus an
IntersectionObserver for scroll), fit-to-height by default, with sidebar
thumbnails.
- New DjVuRenderer (src/renderers/djvu-renderer.js)
- Register djvu/djv in EXT_MAP + renderers (src/main.js)
- DJVU dropzone pill, accept list, Powered-by footer link (index.html)
- .djvu-page / badge / tag styles (src/style.css)
- dejaview submodule (pinned 5a4ef8a), README format table + credits
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- 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>
- Add markedjs/marked as a submodule
- Install marked npm package for runtime rendering
- Add MDRenderer that parses .md/.markdown files with marked and renders into doc-page
- Register md/markdown extensions in EXT_MAP
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Set input height to 21px and offset top by 2px to align '1' visually with '/1'
- Update JSDoc submodule (build scripts, doc/text conversion improvements)
- Update pdf.js submodule (annotation layer, presentation mode fixes)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>