kevin on Nostr: I hit an issue using a "free" image hosting site with an API. I decided on using ...
I hit an issue using a "free" image hosting site with an API. I decided on using Amazon S3 instead.
This small repo allows you to use bash to create a bucket, provision a limited IAM user for it and make its contents public - plus clean up when done:
https://github.com/kevinbolger/s3-bucket-manager
This should come with the obvious disclaimer that making S3 buckets public can make you have a bad day - so use with caution.
I can now use aws.s3 in #rstats to upload images to a fresh bucket and remove as soon as its fulfilled its purpose.
This small repo allows you to use bash to create a bucket, provision a limited IAM user for it and make its contents public - plus clean up when done:
https://github.com/kevinbolger/s3-bucket-manager
This should come with the obvious disclaimer that making S3 buckets public can make you have a bad day - so use with caution.
I can now use aws.s3 in #rstats to upload images to a fresh bucket and remove as soon as its fulfilled its purpose.