TemryL / ComfyS3

ComfyS3 seamlessly integrates with Amazon S3 in ComfyUI. This open-source project provides custom nodes for effortless loading and saving of images, videos, and checkpoint models directly from S3 buckets within the ComfyUI graph interface.
GNU General Public License v3.0
18 stars 12 forks source link

backblaze s3 api supported? #3

Closed ckao10301 closed 1 week ago

ckao10301 commented 2 months ago

Backblaze has an s3 compatible api. Is this supported? Maybe the .env needs s3_endpoint instead of s3_region?

My backblaze endpoint looks like this: https://s3.us-east-005.backblazeb2.com

https://www.backblaze.com/docs/en/cloud-storage-call-the-s3-compatible-api?highlight=undefined

It's 5x cheaper than amazon s3 and egress is free up to a limit

ckao10301 commented 1 month ago

Hi @TemryL just following up.

TemryL commented 1 month ago

Hi @ckao10301, thanks for your feedback! Do you have any idea on how we should implement this ?

ckao10301 commented 1 month ago

@TemryL I found this documentation: https://www.backblaze.com/apidocs/s3-put-object Does that help? I'm not a developer though so I don't know exactly how to implement this. But happy to test things out.

TemryL commented 1 month ago

Ill have a look, thanks !

ckao10301 commented 1 month ago

Hi Tom @TemryL ,

Just wondering if there any updates.

Thanks,

Calvin

On Thu, May 30, 2024 at 8:01 AM Tom Mery @.***> wrote:

Ill have a look, thanks !

— Reply to this email directly, view it on GitHub https://github.com/TemryL/ComfyS3/issues/3#issuecomment-2139828236, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6462DWVQO4JMQJZPCE3TSTZE45NHAVCNFSM6AAAAABHOACQ6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZZHAZDQMRTGY . You are receiving this because you were mentioned.Message ID: @.***>

TemryL commented 3 weeks ago

Hi @ckao10301, could you please let me know if the last PR works with backblaze? Thanks!

ckao10301 commented 1 week ago

It worked! I set up the .env like this:

S3_REGION = "us-east-005" S3_ACCESS_KEY = "" S3_SECRET_KEY = "" S3_BUCKET_NAME = "s3upload" S3_INPUT_DIR = "input" S3_OUTPUT_DIR = "output"

Optional Enviroment Variables

S3_ENDPOINT_URL = "https://s3.us-east-005.backblazeb2.com"

TemryL commented 1 week ago

Hi @ckao10301, were you able to make it work with backblaze?

ckao10301 commented 1 week ago

Yes i added details in previous comment. Thanks

On Fri, Jun 28, 2024 at 4:12 AM Tom Mery @.***> wrote:

Hi @ckao10301 https://github.com/ckao10301, were you able to make it work with backblaze?

— Reply to this email directly, view it on GitHub https://github.com/TemryL/ComfyS3/issues/3#issuecomment-2196657280, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6462DU5OSZF6ZNGYP3G4GTZJVAK5AVCNFSM6AAAAABHOACQ6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJWGY2TOMRYGA . You are receiving this because you were mentioned.Message ID: @.***>