
Overview
A high-performance, local-first PDF manipulation platform providing 20+ privacy-centric tools running entirely in the browser.
The Challenge
Running intensive PDF operations (merging, compression, page enhancements) client-side often freezes the browser's main thread and triggers memory exhaustion or browser storage quota crashes for larger files.
The Solution
I built an asynchronous Web Worker architecture utilizing pdf-lib and pdf.js v5. To optimize memory footprint, I implemented an LRU Document Cache (capped at 3 concurrent documents) and integrated a non-destructive storage cleanup scheduler protecting active sessions from IndexedDB storage limits.
Key Features
- 20+ High-Performance Local PDF Tools
- Multi-threaded Processing via Web Workers & Wasm
- Seamless Multi-Tool Workspace Sessions
- Automated IndexedDB Quota Management
- Full Offline Capabilities (PWA & Service Worker)
Technologies
React 19React Router v7ZustandTailwind CSS 4pdf-libIndexedDB