Brian Lovin
/
Hacker News
Daily Digest email

Get the top HN stories in your inbox every day.

dangoor

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.

015a

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.

Telemakhos

> 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."

beachy

Once seen it cannot be unseen. Like things that peak your interest (should be "pique" your interest).

wahnfrieden

Putting a quote and response onto one line means the whole thing is a quote. Hope you find this contribution to the conversation helpful as well as for all readers.

dhdgrygev

R2 storage might be within the same order of magnitude as S3, but once you start serving content to users, it becomes many orders of magnitude cheaper.

dangoor

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

drexlspivey

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

psytrx

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.

wenbin

op here.

I've been looking for affordable hosting solution to serve multimedia files, e.g., podcast audio, which is typically the biggest part of cost for hosting.

Cloudflare R2 is an attractive solution. R2 doesn't have egress fee and the free tier includes 10 million read requests/month [1]. Is 10 million a big number? Yes, at least in the podcast industry. If your podcast has 10 million listens per month (or let's be conservative, "only" 1 million listens/month), you could already make big money [2] while still in the free tier of R2! In other words, whenever you'll pay for R2, then you become a very successfully podcaster :)

For other Cloudflare products that we use in microfeed

* Zero Trust (provides logins to admin page) [3]: 50 users for free - how many admins do you need? 50 users enough? :)

* Pages [4]: 100,000 functions requests/month for free. This should be enough for personal/small-business type websites.

* D1 [5]: No pricing info yet. But they'll likely charge by # of reqs/month.

* CDN / Firewall / Cache / DNS etc.: there are other Cloudflare products you can use for free.

Probably the biggest price you'll pay when using microfeed is your time :)

There are (almost) one-click SaaS solutions that save you time, but you'll pay with money.

There are multiple-click self-managed solutions that save you money, but you'll pay with time.

[1] https://developers.cloudflare.com/r2/platform/pricing/

[2] https://www.google.com/search?q=how+many+downloads+does+a+po...

[3] https://www.cloudflare.com/plans/zero-trust-services/

[4] https://www.cloudflare.com/plans/developer-platform/

[5] https://developers.cloudflare.com/d1/platform/pricing/

ReD_CoDE

Which one is better? AWS solutions or Cloudflare ones? In prices and performance?

koheripbal

What's wrong with self hosting?

colesantiago

It seems there is a growing movement of headless CMSs, but I am afraid of vendor lock-in with Cloudflare and the like.

Are there any other CMS's that people are using these days? Perhaps looking forward to be using in 2023?

addandsubtract

Strapi[0] is great and Payload[1] also looks promising.

[0] https://strapi.io/

[1] https://payloadcms.com/

5Qn8mNbc2FNCiVV

I'd steer away from both if you don't want data loss because neither has good migration support when changing the schema

chedabob

Forestry has been on my radar for a long time but never had a need to use it https://forestry.io/

The big draw for me is it's just Hugo/Gatsby/Jekyll underneath, and the output files can be delivered anywhere that will host static files (CloudFlare pages does this really well, as does Netlify).

jobsdone

Forestry is shutting down and pushing people to Tina instead. I guess it is the same company? I don't really know.

mynameisvlad

Considering the infobox on the Forestry site directs users to Tina with:

> Our team is working on a V2 product. See it at Tina.io (in beta).

I'm going to go ahead and say it's the same people.

Dma54rhs

Forestry is a dead product. Netlifly CMS seems dead as well, only the CMS part though.

Existenceblinks

Any new name in town? My perception is that 2022 is pretty much web2 stagnation due to a lot of things.

brycewray

One you might check on is CloudCannon (https://www.cloudcannon.com).

leetrout

This looks fantastic. I just started a podcast and was planning to test publishing with cloudflare since it seems much cheaper than the alternatives (and planning to backup to storj).

I will try this out this week!

JonathanBeuys

Why mix the type of software (A CMS for certain use cases) with the distribution mechanism (Cloudflare Pages etc)?

Shouldn't that be two seperate issues?

ldoughty

My guess would be:

Traditional CMS you do the setup and plumbing in the server because you have full control

Static website hosting you prebuild a website and push it up all complied and done but in a standard supported format, do it easily can go to different providers.

There's not much in between, because you can't (easily) write code that is happy to run in two different systems controlled by other people with different plumbing under the hood... It's certainly doable, but the more you generalize the more complicated your code gets... and the less you can benefit from the vendor specific stuff (e.g. removing features that one side does not support ... Or adding code to use it if it's there -- which makes code even more complicated)...

Edit: and to the point of code complexity: if you did this all yourself in an alpha release, you likely would make a company/product like forestry (mentioned elsewhere in this discussion) because you've made something some people would consider somewhat or very valuable

undefined

[deleted]

atmosx

I use middleman[^1] + bulmaCSS + FontAwesome but host on github using the `github.io` domain and upload podcasts to "archive.org"[^2]. I choose this setup to make sure content will survive as much as possible.

ps. You might want to consider a donation to the internet archive, see [^2] - no affiliation, just a happy user.

[^1]: https://middlemanapp.com/

[^2]: https://archive.org/

undefined

[deleted]

clarkrinker

Nice setup! I've been following Vercel and Cloudflare trying to sync up their v8 isolates runtime: CF is going to be a great option for running these "Edge Style" React apps once stuff stabilizes.

Yair-Dovrat

Super cool. Thanks for sharing, going to set this up over the weekend!

F117-DK

Seems very nice! Looking forward to have something like Supabase or Pocketbase deployed directly on Cloudflare! fingers crossed

worldmerge

Very cool! I like how there is a nice visual editor. I hate using markdown for blogging.

spaniard89277

I just use PicoCMS and upload my markdown files through FTP. I don't think there's anything out there that can compete with the simplicity of this solution, not even static site generators.

It uses templates with Twig, and it's very simple PHP so you can host it anywhere.

I once hit the frontpage of a big aggregator from my country and it handled like it was nothing from a very cheap shared hosting.

From my Linux Mint laptop, all it takes is to open my FTP on Thunar (which involves a click in my sidebar), and I'm navigating it like any other file system. Right click, create file, write & format my post, and save the file.

Viola, it's published.

Oh, and you can mix Markdown with HTML and JS in your posts. Less stuff you need to learn.

gernb

There are different definitions of simple. I found wordpress simple because I could access the UI to post from any device. I could upload images, save drafts, and preview posts. My static site, basically requires a desktop/laptop PC and to preview I have to build the site. This is far less simple to use even if it's simpler to run

stefanvdw1

I would argue that using something like Nuxt/Content[0]is even simpler. I create a new markdown file in my website’s local repo, write the content and commit if it’s ready for publishing. No need for the FTP step and version control is build in.

This setup is also completely free since the content lives on GitHub and my static site on render.com (but any static site hosting will work).

And since it’s Nuxt based, it automatically also supports more advanced features such as tagging, advanced queries and filtering.

Can only recommend it!

0. https://content.nuxtjs.org

indigodaddy

Looks like free tier for render.com static sites is 100G egress per month. While this is sufficient for a low traffic site, I’d probably want to protect myself by putting Cloudflare (or some other free CDN) in front (yes I realize that render.com has their own CDN network in front, but that’s still wrapped inside the 100G free tier limit it looks like).

revskill

The hardest part to me, is install PHP.

indigodaddy

There are tons of very cheap hosting providers who are stable and have been around a long time. You could look at buyshared.net which is the webhosting arm of buyvm.net.

prox

What is good solution for hosting a domain anonymously? I want to start blogging but don’t want to do a personal one just yet. I mean anonymous in lightweight general sense, not political activist super security.

voytec

WHOIS[1] masking hides your information from the world. It's a service provided by some domain sellers who, obviously, will know those details (given them by you), as well as your financial information as you can't usually lease domains using untraceable transactions.

[1] https://en.wikipedia.org/wiki/WHOIS

prox

Thank you going to look into that!

Dma54rhs

WhoisGuard and similar are in this case enough for privacy.

synergy20

is picocms still a static site? cms like drupal,wordpress can control content access with password,which is where cms stands out.

spaniard89277

Almost. It's PHP serving markdown files through twig templates, but there is no control panel or backoffice to speak of.

So you basically remove 99% of the attack surface.

undefined

[deleted]

ocdtrekkie

"Self-hosted on Cloudflare" feels like an oxymoron. I know it's common for people to consider hosting on VPS and the like to be self-hosting, but attached to proprietary services seems to be a step further, I think something being portable between providers has to be a minimum for the term.

I like the idea of having web content you can put up with minimal configuration and cost but we have to draw a line for that definition somewhere.

undefined

[deleted]

jacooper

How is it self hosted and hosted cloudflare at the same time ?

manigandham

You host it on your own Cloudflare account.

jacooper

Thats not self hosting, is it?

moooo99

Most people consider self-hosting as "running service x yourself", which I think i fair considering most people treat self-hosting as an alternative to SaaS offers

manigandham

It's a hosting service where you host your own copy of the code. It's no different than getting a VPS and doing the same thing.

If you have no access to the code then it would qualify as being hosted for you.

ocdtrekkie

Are you self-hosting your pictures when you upload photos to your Google Photos account?

manigandham

No. Self-hosting refers to running a service where you completely own the source code. You can run this on a computer in your room, or a rented VPS, or a serverless hosting option like Cloudflare Pages.

For example, if you run a Nextcloud instance and upload pictures there, then you are self-hosting your photos.

webmobdev

Self-hosting means the ability to host and run the code on your own server (home or webhost). Since Microfeed is built on the cloud services offered by Clouflare, you technically can't run it independently on your own server as you will still have to use the Clouflare services:

    microfeed uses Cloudflare Pages to host and run the code, R2 to host and serve media files, D1 to store metadata, and Zero Trust to provide logins to the admin dashboard. 
@jacooper is correct that the term has been wrongly used by the creator.

ldoughty

Is this GitHub repo were looking at self hosted because it's his accounts repo?

I think you can ask 3 people this question and get 5 answers to where the "self hosting" line is drawn...

I am not sure were I would draw this line myself :-)

undefined

[deleted]
Daily Digest email

Get the top HN stories in your inbox every day.