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
}