Show HN: A text-only blog engine using Cloudflare workers and KV store
31–40 of 54 posts
Re: Show HN: A text-only blog engine using Cloudflare workers and KV store
#32I am sure there is a free-tier, but if we skip that and pretend we are paying for it from the beginning.
How would much 100.000 hits be?
I presume it would be a tiny number, A esp given the current content in the blog. so lets imagine some photos and heavier content.
How difficult would it be to extend with with CF CDN?
Re: Show HN: A text-only blog engine using Cloudflare workers and KV store
#336 comments already complaining that this isn't "simple". I suggest we instead treat this post as if the title was "Show HN: a simple text blog demonstrating how to use Cloudflare workers and KV store" - that way we get to have a more interesting conversation.
It's literally a single file with 80 lines of code. At this point the only thing easier is a linux one-liner to serve a file directory over HTTP.
Like, has anyone ever used Jekyll, Hugo, Ghost, Jr, Wordpress or any other blog system? None of them are anything close to 80 lines of code.
Re: Show HN: A text-only blog engine using Cloudflare workers and KV store
#34Re: Show HN: A text-only blog engine using Cloudflare workers and KV store
#35I have been working on something similar this morning. I want to create a simple blog to document my thoughts without having to deal much about technical stuff and maintenance and spend a few hours diving the rabbit hole of jekyll blogs. While their documentation( https://jekyllrb.com/docs/ ) is one of the best resources to learn, I have found my job much more straightforward using one of the pre-built themes that is…
Re: Show HN: A text-only blog engine using Cloudflare workers and KV store
#36What is the pricing structure on this? I am sure there is a free-tier, but if we skip that and pretend we are paying for it from the beginning. How would much 100.000 hits be? I presume it would be a tiny number, A esp given the current content in the blog. so lets imagine some photos and heavier content. How difficult would it be to extend with with CF CDN?
The subscription is 5 USD a month, including 10M hits at 30ms each, 10M w, 1M r, 1M d, 1M l, and also 1GB.
One of the examples in their page (for a fully dynamic website, which is worst case) is: Subscription $5.00
Requests $1.50 (15,000,000 requests - 10,000,000 included requests) / 1,000,000 * $0.30
CPU time $1.50 ((7 ms per request * 15,000,000) - 30,000,000 included CPU ms) / 1,000,000 * $0.02
Total $8.00
Re: Show HN: A text-only blog engine using Cloudflare workers and KV store
#37This is nice, apart from a quick play when they were new I've never really looked at CF Workers and KV again. This made me go and have a look at the docs and find that it's actually looks quite useful. I didn't know they'd added Python and other languages, so that's cool in itself. I like Jon's example here, a single and fairly short file that does just enough to demo this all, nice.
I'd have thought the SQLite database (D1) would be a more obvious fit for a blog?
Re: Show HN: A text-only blog engine using Cloudflare workers and KV store
#386 comments already complaining that this isn't "simple". I suggest we instead treat this post as if the title was "Show HN: a simple text blog demonstrating how to use Cloudflare workers and KV store" - that way we get to have a more interesting conversation.
Thanks—we've put that (more or less) in the title above. (Submitted title was 'Show HN: Simple Text Blog")
Re: Show HN: A text-only blog engine using Cloudflare workers and KV store
#39Earlier quoted context omitted.
I'd have thought the SQLite database (D1) would be a more obvious fit for a blog?
I was stoked on D1 when it was announced. But the maximum DB size is 10GB ( https://developers.cloudflare.com/d1/platform/limits/ ). Really?
Re: Show HN: A text-only blog engine using Cloudflare workers and KV store
#40I have been working on something similar this morning. I want to create a simple blog to document my thoughts without having to deal much about technical stuff and maintenance and spend a few hours diving the rabbit hole of jekyll blogs. While their documentation( https://jekyllrb.com/docs/ ) is one of the best resources to learn, I have found my job much more straightforward using one of the pre-built themes that is…