3 ms·
If you don't mind using AWS you can just set up an S3 bucket and a point a CloudFront distro to it (takes <5mins) and then just do upload() { aws s3
by antihero 5y ago
If you don't mind using AWS you can just set up an S3 bucket and a point a CloudFront distro to it (takes <5mins) and then just do
upload() {
aws s3 cp ${@:2} $1 s3://$BUCKET_NAME
echo https://$CLOUDFRONT_DOMAIN/$1 | pbcopy
}
- stavros 5y agoI do mind.
- the-dude 5y agoThe Dude minds!
- thih9 5y agoHonestly, so many things could go wrong here. I’m a programmer and I’d have to google how to “do” the above. If anything, this makes me want to sign up for IMGZ. Maybe the above comment should be on IMGZ landing page.
- soulchild37 5y agoDropbox flashbacks anyone, "Why would anyone use dropbox when I can just rsync over"
- stavros 5y agoDone!
- matkoniecz 5y agoI am not fine with AWS as there is no way to avoid suprise 30 000 $ payments caused by some bug.
- lupire 5y agoThat sounds more annoying than paying $12/yr.