HNHacker News
TopNewBestAskShowJobs

gregbrimble

26 karma · joined April 22, 2019

Technological Engineer

[ my public key: https://keybase.io/gregbrimble; my proof: https://keybase.io/gregbrimble/sigs/cx23gmCSPH9229WFqa8mnGYeQ65tLqJYaOqz6N6jqTM ]

submissionscomments
gregbrimble··on Workerd: Open-source Cloudflare workers runtime
`npx wrangler dev --experimental-local`!
gregbrimble··on Issues with Cloudflare Images
I think "scale-down" is the closest to what you're after. If you have a 400x600 original, and request 512x512, you'll be served a 341x512 image. This maintains the original image's aspect ratio, and a fits within the requested (512x512) size.

Original: https://via.placeholder.com/400x600 Resized: https://gregbrimble.com/cdn-cgi/image/fit=scale-down,w=512,h...

gregbrimble··on Cloudflare Pages goes full stack
GitLab blog post: https://blog.cloudflare.com/cloudflare-pages-partners-with-g...

Sounds like what you're describing would be possible!

gregbrimble··on Cloudflare Pages goes full stack
Absolutely possible! If you've just got a folder of static assets, you can connect it up to Pages, and enter that directory as the "build output directory".

https://developers.cloudflare.com/pages/framework-guides/dep...