Lina Haddad

Case 01

Stitch

A 4 kB browser client for resumable file uploads that survives dropped connections, closed tabs and app restarts.

Role
Author and maintainer
Year
2026
Stack
TypeScript, IndexedDB, Service Workers

The problem

Clinic staff were uploading scans over connections that dropped every few minutes. Each failure restarted a 40 MB upload from zero, and many never finished.

What I did

Split files into content-addressed chunks, persist progress in IndexedDB, and resume from the last acknowledged chunk. A service worker keeps uploading after the tab closes.

Outcome

Completed uploads on the clinic network went from roughly six in ten to nearly all. The library is now used by three other teams.