When building online developer and media utilities, the traditional architecture is straightforward: accept a file upload, process it in a Node/Python backend, store it temporarily, and return a download link.
We took the opposite approach on Lifevor : keep heavy processing inside the browser whenever WebAssembly, Canvas, or modern Web APIs allow it .
Moving processing client-side eliminates server bandwidth bills, removes file-upload latency, and—most importantly—gives users a guarantee that sensitive screenshots, audio recordings, or JSON payloads never leave their device.
Here are four concrete engineering patterns (and a few subtle browser gotchas) we ran into while building client-side tools with Astro , React 19 , FFmpeg.wasm , Tesseract.js , and HTML5 Canvas .
1. Batch Image Resizing & the .ico 256px Header Overflow
Modern <canvas> makes basic resizing easy, especially when paired with JSZip to bundle dozens of resized images into a single .zip archive in memory.…