Live data from Hacker News

Show HN: Self-hosted CMS on serverless Cloudflare

github.com

61–70 of 94 posts

Re: Show HN: Self-hosted CMS on serverless Cloudflare

#61

"Self hosted" and "serverless Cloudflare" each have their attractions, but they are contradicting terms, unless I'm confused.

Running it on cloudflare by provisioning it yourself instead of using something dedicated like wordpress or contentful.

Re: Show HN: Self-hosted CMS on serverless Cloudflare

#62

"Self hosted" and "serverless Cloudflare" each have their attractions, but they are contradicting terms, unless I'm confused.

Running it on cloudflare by provisioning it yourself instead of using something dedicated like wordpress or contentful.

This still makes no sense at all. Self hosting means running a program on your own machine instead of on a cloud platform such as cloudfalre.

Re: Show HN: Self-hosted CMS on serverless Cloudflare

#63
post #62

Earlier quoted context omitted.

Running it on cloudflare by provisioning it yourself instead of using something dedicated like wordpress or contentful.

This still makes no sense at all. Self hosting means running a program on your own machine instead of on a cloud platform such as cloudfalre.

There is an ongoing debate in the selfhosting subreddits if it's self hosted if it's not on your hardware.

Seems yes for rented servers like hetzner but gets more heated when it's about "serverless"

Re: Show HN: Self-hosted CMS on serverless Cloudflare

#64

This isn't directly related to the post, but it's a CMS related question: does anybody know of a simple "static file" CMS that also lets you deploy server side javascript functions? It's a weird use case, so I suspect there may not be. I've solved it by using a static site generator and a nginx reverse proxy to a node server - but it's a lot of complexity for my use case (using stripe to sell stuff, but stripe checko…

Isn't this what serverless functions are for? Vercel, Netlify, Firebase would suit your needs.

Re: Show HN: Self-hosted CMS on serverless Cloudflare

#65
post #60

This isn't directly related to the post, but it's a CMS related question: does anybody know of a simple "static file" CMS that also lets you deploy server side javascript functions? It's a weird use case, so I suspect there may not be. I've solved it by using a static site generator and a nginx reverse proxy to a node server - but it's a lot of complexity for my use case (using stripe to sell stuff, but stripe checko…

Netlify? Edge functions and functions may be what you're after https://www.netlify.com/products/#netlify-edge-functions

Oh very cool! Yeah, Netlify Edge functions are pretty much exactly what I'm after... except I was hoping for something self-hosted.

Re: Show HN: Self-hosted CMS on serverless Cloudflare

#66

This isn't directly related to the post, but it's a CMS related question: does anybody know of a simple "static file" CMS that also lets you deploy server side javascript functions? It's a weird use case, so I suspect there may not be. I've solved it by using a static site generator and a nginx reverse proxy to a node server - but it's a lot of complexity for my use case (using stripe to sell stuff, but stripe checko…

Cloudflare Pages works well as a serverless option for this, and without the separate deployment for functions, so no CORS required. Couldn't recommend more.

Re: Show HN: Self-hosted CMS on serverless Cloudflare

#67
post #60

Earlier quoted context omitted.

Netlify? Edge functions and functions may be what you're after https://www.netlify.com/products/#netlify-edge-functions

Oh very cool! Yeah, Netlify Edge functions are pretty much exactly what I'm after... except I was hoping for something self-hosted.

Maybe don't focus so much on the static site part, and have a very slightly dynamic site where the majority of your content is just paths that lead to stuff in /static. So rather than trying to bolt a dynamic bit to static hosting, making the simplest site with something like server.js

Re: Show HN: Self-hosted CMS on serverless Cloudflare

#69
post #62

Earlier quoted context omitted.

Running it on cloudflare by provisioning it yourself instead of using something dedicated like wordpress or contentful.

This still makes no sense at all. Self hosting means running a program on your own machine instead of on a cloud platform such as cloudfalre.

So what do you want to call it then? "Running on a lower level general compute abstraction with provided networking infrastructure" instead of self-hosted?

Re: Show HN: Self-hosted CMS on serverless Cloudflare

#70
post #51
post #47

Earlier quoted context omitted.

Cloudflare's free tiers are hard-free; they stop working if you exceed the free tier usage (at least for compute; storage is different). Pages is essentially totally free. R2 is within the same pricing magnitude as S3. D1 is a very new product and afaik is still in beta and doesn't have production pricing yet; so be weary there. Zero Trust is less usage and more per-user, I think $7/mo/user.

Thanks! That's very helpful and sounds unlikely to get out of control (short of hosting a wildly popular video)

R2 has free egress meaning you don’t pay for bandwidth when serving your popular video
Post reply on HN