qoomon / aws-s3-bucket-browser

Single page application to browse AWS S3 bucket content
https://qoomon.github.io/aws-s3-bucket-browser/index.html?bucket=https://s3.amazonaws.com/spacenet-dataset#
MIT License
243 stars 85 forks source link

[Feature Request] Compatibility with Cloudflare R2 #40

Open WillMontgomery opened 1 year ago

WillMontgomery commented 1 year ago

Cloudflare R2 is a great object storage platform and utilizes the same S3 API. Would be great to see this functionality added!

qoomon commented 1 year ago

What's hindering you from using ist right now if the cloudflare api is compatible with S3 api?

qoomon commented 1 year ago

Anyway do you have a url to a public accessible cloudflare storage so I could try it out and fix occurring problems.

WillMontgomery commented 1 year ago

Hey there! Thanks for your fast response. The format used to access Cloudflare R2 buckets is using an access key ID and a secret access key, in addition to entering the API endpoint for that particular bucket. It appears this repo only supports unauthenticated viewing of publicly accessible buckets. To answer your question about a test bucket, R2 buckets are free up to 10GB here: https://www.cloudflare.com/products/r2/

qoomon commented 1 year ago

I don't have the time to implement authentication, sorry. However every PR is welcome