rspace-online/modules/rpubs
Jeff Emmett 858711e783 feat(rpubs): EPUB export + Publish-to-Space hosted URLs
- epub-gen.ts: reflowable (markdown → styled xhtml) and fixed-layout
  (Typst per-page PNGs wrapped as pre-paginated EPUB3). No new deps.
- typst-compile.ts: compileDocumentToPages() rasterizes Typst directly
  to PNG via the CLI (no poppler/mupdf needed).
- Persistent publications store at /data/rpubs-publications/{space}/{slug}
  with public reader page, PDF + EPUB downloads at /{space}/rpubs/publications/{slug}.
- Preview/Press step now has quick EPUB download buttons next to PDF.
- Publish panel: "Publish to {space}" is now the primary action, showing
  hosted URL + copy-link after publishing. EPUB variants remain in downloads.
- Dockerfile: new PUBS_DIR volume for persistence.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-16 15:23:49 -04:00
..
components feat(rpubs): EPUB export + Publish-to-Space hosted URLs 2026-04-16 15:23:49 -04:00
typst refactor: rename module directories to match r-prefixed module IDs 2026-02-28 19:49:26 -08:00
curated-shops.json feat(rpubs): port full feature parity from rpubs-online 2026-03-20 22:55:10 -07:00
epub-gen.ts feat(rpubs): EPUB export + Publish-to-Space hosted URLs 2026-04-16 15:23:49 -04:00
formats.ts refactor: rename module directories to match r-prefixed module IDs 2026-02-28 19:49:26 -08:00
imposition.ts feat(rpubs): port full feature parity from rpubs-online 2026-03-20 22:55:10 -07:00
landing.ts fix: disable all feature tours — shell welcome tour, TourEngine, landing links 2026-04-15 11:12:00 -04:00
local-first-client.ts feat: add Automerge schemas + local-first-clients for tier-3 modules 2026-03-15 17:47:37 -07:00
mod.ts feat(rpubs): EPUB export + Publish-to-Space hosted URLs 2026-04-16 15:23:49 -04:00
parse-document.ts refactor: rename module directories to match r-prefixed module IDs 2026-02-28 19:49:26 -08:00
print-guides.ts feat(rpubs): port full feature parity from rpubs-online 2026-03-20 22:55:10 -07:00
printer-discovery.ts feat(rpubs): port full feature parity from rpubs-online 2026-03-20 22:55:10 -07:00
publications-store.ts feat(rpubs): EPUB export + Publish-to-Space hosted URLs 2026-04-16 15:23:49 -04:00
schemas.ts feat(rpubs): add collaborative document editing via Automerge CRDT 2026-03-11 12:01:08 -07:00
typst-compile.ts feat(rpubs): EPUB export + Publish-to-Space hosted URLs 2026-04-16 15:23:49 -04:00