My solar-powered and self-hosted website

by lightlyusedon 10/17/2024, 10:56 AMwith 61 comments

by IncreasePostson 10/18/2024, 5:17 PM

Solar powered sites are cool and fun, but I find it ultimately lacking because so much of the rest of the networking infrastructure is reliant on the grid. It would be more energy efficient to just host the static site on cloudflare or whatever, and use the solar panel to charge some batteries, or something you would normally use the grid for. I suspect overall energy usage would be even lower if the site was hosted on a CDN, due to the CDN operators keeping their machines near full utilization, and fewer network hops required for an average request.

by Scoundrelleron 10/18/2024, 4:34 PM

The solar-run site is at https://solar.dri.es/ in case everyone wants to check it out all at once ;)

Of course this got posted on a sunny, cool and breezy morning in Boston. Sneaky!

by Eumeneson 10/18/2024, 4:51 PM

Pretty cool. I use one of these small panels as a battery tender for a generator. It only is about 30w, but keeps a small 12v battery from dying over the months. It also has a charge controller built in - https://www.amazon.com/OYMSAE-Portable-maintainer-Cigarette-...

by pluto_modadicon 10/18/2024, 9:45 PM

controversial take: but I think it's fine to host stuff on your own machines, rather than the massive big-data hyperscale datacenters. Yes, google/cloudflare/AWS might be more efficient per watt, but I don't like giving them more money to continue to violate privacy/TOS/labor... (AI, kiwifarms, &, well, everything amazon does).

No, it won't be the most efficient, but it's yours.

by sdepabloson 10/18/2024, 7:56 PM

Heavily inspired - I suppose - by the oldest (2018) solar-powered website, Low Tech Magazine https://solar.lowtechmagazine.com/about/the-solar-website

by emdanielsenon 10/18/2024, 5:42 PM

This is so cool! I'm so surprised I've never heard of someone doing this before :)

by vicnaumon 10/19/2024, 7:14 AM

Great job. I was thinking about it too, but stopped on the networking.

Would be so cool, if networking could also be kinda "self-hosted" and "free", like mesh-networks, or satellites, or smth.

by tonetegeatinston 10/18/2024, 4:30 PM

Shame the solar panels can't do "self-healing".

I this this is cool, I know a couple folks who got homelabs on reddit who mainly use solar power due to the cost and want to go green.

by louwrentiuson 10/18/2024, 5:00 PM

Nicely done!

Now, Low Tech Magazine also has instructions to convert a stationary exercise bike into a human powered generator, which you could build to add power during the winter :-)

by mttchon 10/19/2024, 8:16 AM

Cool project and I’d really like to try something similar with a 4G/5G connection so it doesn’t rely on site WiFi.

I don’t think your cost comparison is fair between the rpi and hosting. I host my website on a £1/mo shared vps and for my energy costs that equivalent to running a low power server at home, ignoring all the other benefits of it being off-site.

by anoth3rsmithon 10/18/2024, 6:01 PM

How many more panels/bigger battery would your need to move the switch and other required home infra to run the site?

by culion 10/18/2024, 8:39 PM

Obligatory post of the most well known solar website. Low Tech Magazine

https://solar.lowtechmagazine.com/

They do a lot of other sustainable web development[0] practices like letting you read offline, having incredibly small page sizes (always shown in the lower left corner), and dithering all their images[1] (which imo creates a cool effect)

[0] https://sustainablewebdesign.org/

[1] https://solar.lowtechmagazine.com/about/the-solar-website/#h...

by ekianjoon 10/19/2024, 4:25 AM

> In contrast, traditional hosting might cost around $20 USD a month

Hosting that is vastly more powerful than a RPI in the first place. And there are much cheaper VPS that costs only a dozen dollars a year, too, and can do a lot more than this rpi. No matter how you look at it this is not saving any money.

by photochemsynon 10/18/2024, 5:58 PM

Cool project, but also a great all around tutorial - the appendix section is a nice idea and very helpful for many people I'm sure.

by rijojaon 10/19/2024, 9:47 AM

> Lithium Iron Phosphate (LFP or LiFePO4) battery

This should be "Lithium Ion Phosphate...", right?

by kkfxon 10/18/2024, 6:35 PM

I suggest a different reasoning: what's about domestic p.v. with storage and racks in the basement with "free" A/C in terms of WFH and distributed "datacenters"?

How many have realized how much stuff can be hosted at home with availability levels not really far from most common datacenters?

by imwillofficialon 10/18/2024, 10:12 PM

This is such an incredibly cool site. Bravo.

by tomflyon 10/18/2024, 4:32 PM

this is really neat.

by elintknoweron 10/18/2024, 5:18 PM

This is cool, but I mean... come on. This guy lives in a $2M apt in a big city.

The amount of energy being "saved" yearly is wasted almost every second.