Case studies 04 / 05
S3aled
Self-hosted file transfer: the browser uploads directly to S3 or R2 storage.
- Role
- Design and development
- Period
- Since 2026
- Status
- In progress
- Context
- Personal project
- Tools
- TypeScript, Fastify, React, PostgreSQL, S3 / R2, Docker, Vitest
The problem
I wanted to self-host a file transfer service. The most widely used open-source option doesn't support S3 and R2 storage.
What I did
The server never sees the files: it issues short-lived signed URLs, and the browser uploads to or downloads from storage directly. Files are encrypted in the browser. The code is a single TypeScript monorepo: an API, an interface, a background worker and twelve shared packages, with tests and a verification pipeline. Share links, expiry, passwords and quotas are supported.
- The browser encrypts the file
- The server issues a signed URL Valid for a short time
- The file goes to storage Directly, to S3 or R2
The result
In progress. I use it for my own needs first; publishing the code is planned.