Settings

Theme

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

12 points by abhay_ramesh 17 days ago · 7 comments · 1 min read


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

tracker1 17 days 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_rameshOP 17 days ago

    Best thing is i use cloudflare R2 eeverywhere too, and the reason to ditch aws, and pushduck works with R2

abhay_rameshOP 17 days 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 17 days ago

Where can I find the latest one you published?

bouncher 17 days ago

god job

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection