Files
adminandClaude Opus 4.8 3df5627b9f feat: add PostScript/EPS support via Riposte + bump deps
Render PostScript and EPS (.ps / .eps / .epsf). Riposte (pure-JS, zero-dep, MIT)
interprets each page and rasterizes it to a <canvas>; the new PostScriptRenderer
drives Riposte's engine and lays pages out as `.postscript-page`, matching the
PDF/DjVu/comic paged-canvas model. A per-page try/catch keeps an unsupported
operator from sinking the whole document.

- New src/renderers/postscript-renderer.js; wired into EXT_MAP (.ps/.eps/.epsf)
  + RENDERER_LOADERS, dropzone pill + toolbar badge (#880e4f), accept list, CSS
- riposte pinned as a git dep (no Vite alias needed — it declares no package exports)
- README / CREDITS / EMBEDDING updated (riposte is the 4th git-dep engine)
- Bump deps: mammoth 1.8->1.12, pdfjs-dist 6.0.227->6.1.200, vite 8.1.0->8.1.2

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 20:44:27 +02:00

2.9 KiB

Credits & Licenses

ReaderJS is MIT-licensed and permissive-core: every engine bundled into the runtime (the app and the embeddable build) uses a permissive license (MIT / BSD / Apache-2.0 / 0BSD / public-domain). There are no GPL/AGPL/LGPL dependencies in anything that ships.

Runtime engines

Library License Used for
pdf.js (pdfjs-dist) Apache-2.0 PDF rendering
DejaView MIT DjVu decoding/rendering (Web Worker)
mammoth.js BSD-2-Clause DOCX → HTML
JSDoc 0BSD Legacy .doc (binary Word)
RTF.js MIT RTF (with EMFJS/WMFJS)
jQuery MIT DOM utility required by RTF.js
PptxViewJS MIT PPTX slide rendering
Chart.js MIT charts inside PPTX (PptxViewJS dep)
SheetJS (xlsx) Apache-2.0 XLSX/XLS spreadsheets
Papa Parse MIT CSV/TSV
highlight.js BSD-3-Clause source-code highlighting
jsdiff (diff) BSD-3-Clause text diff engine for the compare view
marked MIT Markdown
JSZip MIT (dual MIT/GPLv3 — MIT taken) ODF/CBZ ZIP containers
libarchive.js MIT (bundled libarchive = BSD) CBR/CBT (RAR/TAR) via WASM
foliate-js MIT EPUB/MOBI/AZW3/FB2
mhtml-to-html MIT MHTML/.mht web archives → HTML
CHMate MIT CHM (.chm) reading + rendering — pure-JS ITSF container + LZX, no WASM
Riposte MIT PostScript / EPS (.ps/.eps) interpreter + canvas renderer — pure-JS, zero-dep, no WASM
UTIF.js MIT TIFF images
exifr MIT EXIF/GPS metadata
Vite MIT build tooling
Material Design Icons Apache-2.0 UI icons
Open-Color MIT compare/diff view colour palette

Not shipped

  • WebODF is present as a git submodule (reference only) and is AGPL-3.0. It is never imported or bundled — ODF files are handled by odf-renderer.js using JSZip + the browser's DOMParser, not WebODF. It does not appear in any build output (dist/ or dist-embed/).