frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Serving a Website on a Raspberry Pi Zero Running in RAM

https://btxx.org/posts/memory/
44•xngbuilds•1h ago

Comments

MitPitt•43m ago
A raspberry zero is more powerful than an enterprise server from the 1990s. A minimalist static website is not impressive. You can fit way more in there.
alfanick•34m ago
Hey, it loads! Unlike ~10% of pages on first page of HN, hugged to death.
raddan•28m ago
Also I love the dithered B&W images. The entire aesthetic of the site is great.
vablings•30m ago
The website running on the vape was far more interesting than this. I do wonder if anyone has tried to use the microphone in these devices to listen to audio. Backdoored vape
raddan•30m ago
I hosted my personal email domain on a Zero for almost 10 years. It had about the same capability as the very expensive (and large) Win NT4 machine we used for our 80-person organization when I started my career in tech. I eventually replaced the Zero with a Raspberry Pi 4, primarily because the Zero’s IO ports are annoying (eg, USB is not hot-pluggable!) An RPi 4 is extreme overkill for personal email but it still idles under 1W and when it fails I can replace the entire machine for next to nothing.

The point of failure for all of these machines has been the SD card. They seem to last 4 years almost to the day. I suppose if I set up a RAMdisk they might last longer, but honestly, for the price of an SD card it’s not really worth my time.

sphars•27m ago
The OP link is not to Pi zero website, here's the actual website that's being hosted on the Raspberry Pi:

https://zero.btxx.org/

c0nsumer•23m ago
This feels a little weird because while they are running the website itself (HTTP) off the Pi, they are handing off all TLS to a cloud provider.

So while the content is in RAM on the Pi, a lot of the heavier lifting (TLS termination) is done elsewhere, which saves a ton of CPU load on the Pi.

ironhaven•7m ago
Sometimes these demos enable caching on the reverse proxy. So then for these tiny demo html pages your request, you may not even reach the fun tiny computer it is supposed to demonstrate.
spijdar•6m ago
Yeah, I've seen this in more than a few places. There was a blog "running on a Wii" that, IIRC, was doing the same thing.

On the one hand I get it, TLS is pretty heavy, and it makes sense to take advantage of a VPS or Cloudflare or however you want to do it.

But once you are spinning up a VPS, the question is ... why the Pi? The VPS in the article has less RAM, but more storage. If you're already doing TLS termination on the VPS (the most RAM intensive part), you might as well just do the whole shebang there.

I know this is all for fun, I'm just wondering -- is the Pi Zero really too slow to handle TLS, especially with an optimized TLS library? In this setup, the Pi is already being directly exposed to the Internet anyway, there's no VPN being used. That ARM11 isn't "fast", but surely a 1 GHz ARM11 can handle an optimized TLS library serving some subset of TLS1.2.

wang_li•5m ago
It is more than a little weird. A pi zero is more than capable of handling HTTP/1.2 and TLS 1.3 for a handful of connections per second. This machine is 10x what we were running web servers on in the '90s.

Also, all web pages are served from RAM. It's automatic that modern OSes will cache this stuff on first access.

jcalvinowens•10m ago
I have a self hosting Pi Zero W running Gentoo. It started as a joke, but I kept it because it's actually occasionally useful for testing new kernel releases.

It is still able to build software faster than it is released. It takes roughly a month to recompile the entire system :D

jcgrillo•8m ago
After seeing what new R-Pi stuff is selling for I went rummaging in the parts drawer and found the following:

- R-Pi Zero W

- Sixfab UPS hat

- Sixfab Cellular IoT App Shield

- R-Pi model 1B

With all this I should be able to make a multiply redundant always-on bastion host. It's awesome that alpine supports the armhf stuff, many OSes have dropped 32bit support entirely.

Capsules: Compile-time lock discipline in OxCaml

https://kcsrk.info/ocaml/oxcaml/modes/blogging/2026/05/08/capsules-in-oxcaml/
1•matt_d•1m ago•0 comments

let-go: Almost Clojure written in Go

https://github.com/nooga/let-go
1•tosh•1m ago•0 comments

Helix 02 Bedroom Tidy [video]

https://www.youtube.com/watch?v=8xEuFQz4E4A
1•selimonder•1m ago•0 comments

Show HN: Rubberduck – Software design agent where you make the decisions

https://userubberduck.com/
1•acolytic•1m ago•0 comments

The Tomahawk Turbine Engine Could Dramatically Chop Fuel Use and Emissions

https://www.motortrend.com/news/tomahawk-tx-trick-cycle-turbine-engine-less-fuel-emissions
1•ckozlowski•2m ago•0 comments

Debian: Linux Vulnerability Mitigation (Dirty Frag)

https://blog.daniel-baumann.ch/posts/20260508-1.html
1•speckx•4m ago•0 comments

Can LLMs model real-world systems in TLA+?

https://www.sigops.org/2026/can-llms-model-real-world-systems-in-tla/
2•mad•4m ago•0 comments

Bernstein: Deterministic orchestrator for 40 CLI AI agents

https://github.com/sipyourdrink-ltd/bernstein
2•nateb2022•5m ago•0 comments

k on PDP-11

https://ktye.github.io/pdp11/index.html
1•tosh•5m ago•0 comments

Support Xdg_projects_dir in Gnome

https://gitlab.gnome.org/GNOME/glib/-/merge_requests/5141
2•petepete•7m ago•0 comments

Support is wild in an age of AI

https://successfulsoftware.net/2026/05/08/support-is-wild-in-an-age-of-ai/
1•hermitcrab•8m ago•0 comments

Handwritten SDKs Are Dead

https://workos.com/blog/handwritten-sdks-are-dead
1•grinich•9m ago•0 comments

Show HN: GETadb.com – every GET request creates a DB

https://www.getadb.com/
1•nezaj•9m ago•1 comments

Code has always been worthless

https://roganov.me/blog/code-always-worthless/
1•IFC_LLC•9m ago•0 comments

Building a Harper Desktop App

https://elijahpotter.dev/articles/building-a-harper-desktop-app
1•chilipepperhott•11m ago•0 comments

Show HN: Notion-to-site – sync any Notion database to local Markdown/MDX/JSON

https://github.com/rashidazarang/notion-to-site
1•rashidae•14m ago•0 comments

I didn't think I could get addicted to weed. I was wrong – and I'm not alone

https://www.theguardian.com/wellness/2026/may/08/cannabis-addiction-recovery
4•n1b0m•15m ago•0 comments

Gmail on Android lost access to O365 mailboxes

https://issuetracker.google.com/issues/461996029
1•sega_sai•16m ago•1 comments

Behind the Scenes Hardening Firefox with Claude Mythos Preview

https://simonwillison.net/2026/May/7/firefox-claude-mythos/
1•Brajeshwar•18m ago•0 comments

Show HN: Vpg – Pglite for Native Code

https://github.com/Ladybug-Memory/vpg
1•adsharma•18m ago•0 comments

Three Resume Tips

https://sumnerevans.com/posts/software-engineering/resume-tips/
2•chilipepperhott•18m ago•0 comments

Noyb: "LinkedIn locks GDPR rights behind a paywall"

https://www.heise.de/en/news/Noyb-LinkedIn-locks-GDPR-rights-behind-a-paywall-11284972.html
1•thm•18m ago•1 comments

Why the Hantavirus Cruise Ship Outbreak Isn't Likely to Become a Global Crisis

https://www.wired.com/story/hantavirus-cruise-ship-what-you-need-to-know/
2•Anon84•18m ago•0 comments

PropertyPal AI – Leading AI voice agent for estate agents

https://www.propertypalai.co.uk/
1•jamesawallner•19m ago•0 comments

Claude Code's creator is sick of the phrase 'vibe coding.'

https://www.businessinsider.com/claude-code-creator-boris-cherny-vibe-coding-anthropic-ai-2026-5
2•CharlesW•19m ago•1 comments

Lidar threatens to rewrite everything we know about photography

https://www.digitalcameraworld.com/cameras/cmos-camera-sensors-will-become-obsolete-revolutionary...
1•leopoldj•23m ago•1 comments

showhn: Updates to react library for visualising server racks/networks

https://react-networks-lib.rackout.net/racks
1•matt-p•23m ago•0 comments

Darknet Map

2•KAGEjin•25m ago•1 comments

Agent-to-agent discovery and real-time bidding marketplace

https://github.com/open-experiments/agent-exchange
2•parlakisik•26m ago•0 comments

Thermal Power and Climate Change

https://eartharxiv.org/repository/view/10865/
2•measurablefunc•28m ago•0 comments