Posts

Showing posts with the label Word

RxBook

Introduction As a vibe coder, I have the autonomy to continuously refine my PWA tools - whether that means enhancing features or redesigning the underlying logic. While RxReader allows users to upload TXT, PDF, EPUB, or DOCX files for a custom reading view, RxBook serves a different purpose. Powered by a Node script that leverages the Mammoth library, RxBook seamlessly converts heading-styled Word documents into a polished web layout. Unlike RxReader , RxBook functions as a digital library for sharing my own personal works rather than hosting user uploads. Features Even though the source Word documents are inherently secure since I am the sole contributor, safety remains a priority. Content is sanitized against an explicit allowlist using isomorphic-dompurify , parsed into static JSON files, and optionally encrypted via AES-256 (validated through a strict Zod schema). To discourage unauthorized redistribution, the client side incorporates light defensive measures: CSS rules disa...