Live data from Hacker News

Show HN: Self-hosted CMS on serverless Cloudflare

github.com

51–60 of 94 posts

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

#51
post #47
post #36

Given that this uses multiple Cloudflare services, is anyone very familiar with their pricing? The readme lists a "generous free tier", but I always have to wonder what happens once you fall outside of that tier. I remember that R2 is cheap (one of its distinguishing features), but wonder if any of the other services suddenly become $50 a month or something.

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)

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

#52
post #47
post #36

Given that this uses multiple Cloudflare services, is anyone very familiar with their pricing? The readme lists a "generous free tier", but I always have to wonder what happens once you fall outside of that tier. I remember that R2 is cheap (one of its distinguishing features), but wonder if any of the other services suddenly become $50 a month or something.

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.

> be weary I've seen this mistake three or four times recently, and it's starting to make me wonder why I keep seeing it so often now, when I didn't before. "Wary" (like "beware") means "cautious"; "weary" (like to "wear" someone out) means "tired."

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

#53
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)

They definitely have sensible backout mechanisms for their free tiers (i.e. Pages, they still serve static assets but disable compute/Functions). Also, their docs are written pretty well, and openly hint at dangerous price traps.

We launched a big presale this year with an e-commerce app hosted on Workers, and we just barely hit the 5$ threshold for the paid plan. Did not use more services (other than DNS/proxy) though, so YMMV.

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

#54

Please don't use this unless you wish to exclude those who would like to enjoy your content but also respect their privacy. Cloudflare continue to block Tor traffic by default. It is discriminatory against innocent users and harmful to freedom of speech (because speech also requires the ability to listen).

Are they blocking you outright or are you required to do captchas?

From a 2016 post CloudFlare states they don’t block Tor traffic and don’t let their customers block the traffic either but they will put restrictions such as captchas in place [1].

1: https://blog.cloudflare.com/the-trouble-with-tor/

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

#56

Please don't use this unless you wish to exclude those who would like to enjoy your content but also respect their privacy. Cloudflare continue to block Tor traffic by default. It is discriminatory against innocent users and harmful to freedom of speech (because speech also requires the ability to listen).

Are they blocking you outright or are you required to do captchas? From a 2016 post CloudFlare states they don’t block Tor traffic and don’t let their customers block the traffic either but they will put restrictions such as captchas in place [1]. 1: https://blog.cloudflare.com/the-trouble-with-tor/

Sometime last year I discussed this in more detail. I use a text only browser with Tor. Most websites (still > 80% maybe) load well, but the overwhelming majority of those that do not are served via Cloudflare.

To me, their 2016 post claiming not to "block Tor traffic" is disingenuous, since they are exceedingly hostile to it. I only ever experience Cloudflare as an obstacle and nuisance online.

I also deeply dislike their attitude and PR stand, which is essentially victim blaming and disrespectful of those who make different technological choices. Their message seems to be;

  "We make an effort to sound sorry to those who are harmed by our
  business model. But you are a minority, and we make a lot of
  money. If you want to make an omelet, you gotta break some eggs. Now
  get out of the road."

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

#57
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 checkout requires server side session creation).

Edit: Netlify Edge functions seems to be pretty much exactly what I'm describing (drop js/ts files in a directory, deploy with your static site). The only problem with it for me is it's not self-hosted. Serveless functions would work, tho the separate deployment adds a layer of complexity, and I'd have to learn CORS finally lol

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

#58

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…

Not exactly what you asked for, but if you use S3 + CloudFront, you can use javascript functions in CloudFront that can modify the request to/from the client & to/from the S3 bucket. Does things like URL redirects, header manipulation, auth... I use it to redirect ~/path/to/item/ to ~/path/to/item/index.html for my static site.

https://docs.aws.amazon.com/AmazonCloudFront/latest/Develope...

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

#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

Post reply on HN