send-me-files

Serverless app for receiving huge uploads from anyone

Stars
1

Hacking

Set up .env

yarn test

To Do

  1. Allow one-click retry
  2. Literate template YAML
  3. .env or something to make local development/deployment less annoying
  4. Make sure retry still works

Possible future ideas

  1. One-off request links
  2. Resume even after closing browser (store session ID in localStorage, derive filename from checksum)
  3. Upload an entire directory (client side ZIP)
  4. End-to-end encryption from browser to download
  5. Try S3 transfer acceleration first, fall back to whitelabel domain?

Known issues

  1. Upload of a 1.5GB file aborts in Chrome on Linux, readerror type thing
  2. Uses way too much memory uploading a 3GB file in Safari. I think streaming is keeping the file blob loaded in memory anyway.
  3. Can't download files with emoji in the name

rankdir=LR;

digraph finite_state_machine {

    size="6,5"


    initial -> authenticated;
    initial -> authentication_failed;
    authentication_failed -> authentication_failed [ label = "retry fails" ];
    authentication_failed -> authenticated [ label = "retry succeeds" ];
    authenticated -> initial [ label = "expires" ];


}
Related Projects