News for hackers. Stuff that matters.

gregbrimble

Re:Workerd: Open-source Cloudflare workers runtime on Tuesday September 27, 2022 @12:58PM (#32997987)
`npx wrangler dev --experimental-local`!
Re:Issues with Cloudflare Images on Tuesday December 07, 2021 @12:58PM (#29475899)
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...

Re:Cloudflare Pages goes full stack on Friday November 19, 2021 @04:48AM (#29275481)
GitLab blog post: https://blog.cloudflare.com/cloudflare-pages-partners-with-g...

Sounds like what you're describing would be possible!

Re:Cloudflare Pages goes full stack on Wednesday November 17, 2021 @11:44AM (#29255382)
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...