Show HN: Pushduck – S3 uploads that run on Cloudflare Workers, no AWS SDK

I was tired setting up file uploads for multiple projects with bloated aws-sdk so built my own, my first attempt was next-s3-uploader, it worked but needed much better developer experience and wanted to get all benifits of typesafe Typescript, and wanted to have a very light weight toolkit that can do all things a dev needs to manage s3.

Credits to `aws4fetch` which made it be able to run in edge enviornments and cloudflare workers, now im trying to expand and build towards non Reactjs frameworks too and have support.

Setting up file uploads shouldnt be hard, but is. the easier options have vendor lockin's.

So made a DX friendly, typesafe file upload library, enjoy. Happy to discuss any improvements and options.

Repo: https://github.com/abhay-ramesh/pushduck

11 points | by abhay_ramesh 22 hours ago

4 comments

  • tracker1 10 hours ago
    At the point I'm running in CF anyways, I'd be far more likely to just use CF's R2 over AWS S3 for storage.
    • abhay_ramesh 1 hour ago
      Best thing is i use cloudflare R2 eeverywhere too, and the reason to ditch aws, and pushduck works with R2
  • abhay_ramesh 21 hours ago
    aws-sdk is 2MB and doesn't run on Workers. UploadThing is great but you get locked in. Pushduck is thin wrapper over aws4fetch, runs anywhere, and your bucket stays yours.
  • keyes343 22 hours ago
    Where can I find the latest one you published?
  • bouncher 15 hours ago
    god job
    • abhay_ramesh 11 hours ago
      thanks! let me know if you try it, keen to hear where it breaks.