samrendra.me
projects

things i've built & open-sourced

a small set of reusable typescript libraries in the storage, access-control, and media-processing space. each one is built around the same ideas: keep application servers out of the byte path, give users resumable and recoverable flows, and ship testable adapters instead of vendor-locked primitives.

by role
  • backend
  • storage
  • media
  • frontend
  • infra
  • creative
featured
BackendStorageInfra

Resumable S3 Multipart Upload

TypeScript library for browser-to-S3 multipart uploads using presigned URLs.

  • Built an open-source TypeScript library for resumable S3-compatible multipart uploads using presigned URLs, browser chunking, concurrent part uploads, and database-backed session recovery.
  • Designed server-side upload orchestration that keeps file bytes out of the application server while enforcing auth, MIME / type limits, and server-controlled object keys.
TypeScript · AWS SDK v3 · Supabaseread more
BackendStorageInfra

Protected Download Gateway

Adapter-based helper for serving private files from S3-compatible storage.

  • Built an adapter-based protected download gateway for private S3-compatible files, using app-level authorization checks and short-lived signed URLs.
  • Designed access flows for paid digital downloads, guest purchases, public previews, and audited protected file delivery.
TypeScript · Next.js · AWS SDK v3read more
BackendMediaInfra

FFmpeg Media Worker

Node.js FFmpeg worker for thumbnails, watermarked previews, and delivery variants.

  • Built a Node.js / TypeScript FFmpeg worker for thumbnail extraction, watermarked previews, dynamic watermarking, and S3-compatible media input / output.
  • Designed media-processing jobs that support local and object-storage sources, static or per-job dynamic watermarks, and production worker deployment.
Node.js · TypeScript · FFmpegread more
BackendInfra

Customer Access Portal

Passwordless customer access for purchases, files, invoices, and licenses.

  • Built a passwordless customer access library with OTP verification, magic links, scoped sessions, token hashing, rate limits, and cleanup flows.
  • Designed adapter-based customer portal primitives for guest purchases, private file libraries, invoices, reports, and license access.
TypeScript · Node.js · Vitestread more
also shipped