News for hackers. Stuff that matters.
Re:Porting my website to Workers Sites and Zola by losvedir on Friday September 27, 2019 @12:43PM (#21093813)
Neat, I was thinking about doing just this!

One clarification:

> Additionally, you need to have a $5/month subscription to Workers, to get access to Workers KV. I want us to offer a free tier of KV in the future, but we’re not there yet. That $5/month gets you a lot more than one site, to be clear, but this isn’t a completely free solution today.

Just to be clear, since I misunderstood at first: there is a free tier of Workers (which is absolutely worth trying). It's the KV store that adds cost. I think you are saying that, but it also could be read that Workers by itself costs $5/mo.

But conceivably, you could host your blog on the free tier, right, by compiling the static content into the hosted app?

Re:Porting my website to Workers Sites and Zola by steveklabnik on Friday September 27, 2019 @12:57PM (#21093909)
Yes, there's basically two tiers of Workers for self-service: Free, and $5/month. You only get access to KV on the $5/month plan currently. You do get better speed and more CPU time for those workers, but it's strictly speaking KV that requires the $5 here.

> But conceivably, you could host your blog on the free tier, right, by compiling the static content into the hosted app?

Yes, you could! There's a size limit to a worker though, so for a large site you may not be able to.

Re:Porting my website to Workers Sites and Zola by adamschwartz on Friday September 27, 2019 @02:56PM (#21095156)
Totally! I do that for small sites quite often, e.g.:

- https://lazy.invoice.workers.dev

- https://web.scraper.workers.dev

Both are powered in part by a worker which generates CSS on the fly for whatever components you need, e.g:

https://ui.adam.workers.dev/?components=button,input

Re:Porting my website to Workers Sites and Zola by judge2020 on Friday September 27, 2019 @11:00PM (#21098124)
Looks good, bookmarked!