Fly image proxy?

Hey Fly folks,

I’ve seen examples of using Fly as an EDGE image proxy with Imaginary. This is the link where I saw it: https://fly.io/launch/github/h2non/imaginary

Any best practices on how to set this up? Is there a Github project where I can easily plug this into my project?

I’m already serving images via an S3+CloudFront setup managed by Terraform, so I’d want to run Fly in front of that.

Thanks!

We also have imgproxy, which I think is really nice: https://fly.io/launch/github/imgproxy/imgproxy

There isn’t an all in one package for this yet, I think it would need to be combined with a caching nginx proxy to be good, and also include some basic rules for rewriting URLs and applying defaults.

That would make a great example project, actually.

Oh wow this is super cool! I’m going to try to use this at Draftbit