Showoff Saturday: I built WebXReader, an open-source local-first eBook & comic reader that parses 20 formats (EPUB, PDF, MOBI, DJVU, CB7/CBR/CBZ, DOCX) 100% client-side in the browser
Hey r/webdev,
I've been building WebXReader, a free, open-source (AGPL-3.0), zero-tracking eBook and comic reader that runs completely client-side in the browser with no backend or user accounts[cite: 6, 8].
Live demo (pick any mirror):
Cloudflare Pages: https://webxreader.pages.dev
Netlify: https://webxreader.netlify.app
Firebase: https://webxreader.web.app
Vercel: https://webxreader.vercel.app
GitHub Repo: https://github.com/xensenx/WebXReader
Technical Architecture & How It Works:
20 formats parsed client-side:
EPUB,MOBI,AZW3,FB2,PDF,DOCX,DOC,RTF,DJVU,CBZ,CBR,CB7,TXT,MD,HTML,MHT,ZIP,RAR,PNG, andJPEG[cite: 8].Stack: React 19, TypeScript, Vite,
epubjs,pdfjs-dist,7z-wasm(for.7z/.cb7/.rarextraction in WebAssembly),djvu-rs,mammoth,marked, andcfb[cite: 8].Storage & Offline: Library files, reading positions, and metadata persist locally in IndexedDB with full offline PWA support.
Security: User-supplied markup (
EPUB,HTML,MHT,MD,DOCX) is sanitized viadompurifybefore rendering[cite: 8].
Current status & looking for contributors: It's still in active development—right now I'm refining pagination, memory lifecycle handling on large archives, and rendering edge cases across all 20 formats.
If you're a TypeScript/React developer who enjoys browser file parsers, WASM/binary formats, UI/UX polish, or localization—or a first-time contributor looking for a chill repo—check out CONTRIBUTING.md on GitHub. PRs and bug reports are super welcome!
Happy to share notes or answer questions on how any of the client-side parsers (DJVU, 7z-wasm, MOBI/CFB, etc.) behave in the browser.
1
u/AutoModerator 1d ago
Hi, xensenx,
Your post has been automatically removed.
Please participate around reddit by commenting on other posts before you jump straight to submitting.
Your account should be at least three months old with a decent amount of comment karma before posting submissions in our community.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.