Skip to content
Bastian Noel
FR

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.

  1. The browser encrypts the file
  2. The server issues a signed URL Valid for a short time
  3. The file goes to storage Directly, to S3 or R2
Source The server authorises the transfer but never sees the file.
Mockup of the upload screen.
Mockup of the file list before upload.
Mockup of the mobile version.

The result

In progress. I use it for my own needs first; publishing the code is planned.

Esc
Ctrl K or /
Open this panel
J K
Next or previous case study
↑ ↓ Enter
Pick from the list