3 ms·
Modulo the promise links and other fanciness, this could be done really cheaply with S3's expiring content/links feature and a short script... I'm envisioning a
by akx 13y ago
Modulo the promise links and other fanciness, this could be done really cheaply with S3's expiring content/links feature and a short script... I'm envisioning a CLI like this.
$ linkme -e 1h picture.jpg
https://s3.amazonaws.com/.../.../?ugly_url
$ linkme --expires 1h --shorten picture.jpg
http://bit.ly/something
The promise links would take a little more logic server-side, I think.