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/
67•xngbuilds•1h ago

Comments

MitPitt•1h 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•1h ago
Hey, it loads! Unlike ~10% of pages on first page of HN, hugged to death.
raddan•57m ago
Also I love the dithered B&W images. The entire aesthetic of the site is great.
vablings•59m 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•59m 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•55m 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•52m 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•36m ago
Sometimes these demos enable caching on the reverse proxy. So then for these tiny demo html pages you request, you may not even reach the fun tiny computer it is supposed to demonstrate.
spijdar•34m 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•34m 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•39m 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•37m 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.

giobox•17m ago
In the good old days a decade or so ago where the full fat Pi board was always 35 dollars and the zero was just 5, they were so cheap as to be practically disposable. I have an insane number of Pi 3/4 and Zero/ZeroW boards in projects and drawers around the house, but this has massively tapered off as prices have gone up. At one point I had an 8 pi 3 cluster to learn kubernetes/container orchestration techniques on - completely unnecessary, but building the little rack was 85% of the fun. That cluster ran my home stack for years (DNS, home automation, network admin UI etc).

I've since got a lot more interested in the microcontroller community - so many Pi projects should really be microcontroller projects - the esp32 especially scratches the itch for cheap things to hack on, and you can get them for like 6-7 bucks each with wifi.

jcgrillo•12m ago
Yeah I've been using an ESP32-C6 for the latest wifi connected project I'm working on. The RP2040 and RP2350 look interesting too, I have a couple of them but haven't really done much with them.
_stiofan•19m ago
The pi zero's are great. I have a bunch of them. I used to use them as a tiny server for live webcams streaming to YouTube for customers, but YouTube now have a minimum sub count before you can go live, which sucks. These boards are pretty powerful.
fdjafhdasfjhds•18m ago
RAM? In this economy?!
Venn1•13m ago
They are powerful little devices. I used a Pi Zero 2 with an ethernet adapter to host an x86 TrackMania² server using BOX64 and it never had a problem. Only swapped it out recently because I needed the Zero 2 for another project.

Serving a Website on a Raspberry Pi Zero Running in RAM

https://btxx.org/posts/memory/
68•xngbuilds•1h ago•20 comments

Google Cloud Fraud Defence is just WEI repackaged

https://privatecaptcha.com/blog/google-cloud-fraud-defence-wei/
169•ribtoks•2h ago•56 comments

Cartoon Network Flash Games

https://www.webdesignmuseum.org/flash-game-exhibitions/cartoon-network-flash-games
13•willmeyers•25m ago•9 comments

An Introduction to Meshtastic

https://meshtastic.org/docs/introduction/
214•ColinWright•5h ago•84 comments

PC Engine CPU

https://jsgroth.dev/blog/posts/pc-engine-cpu/
59•ibobev•2h ago•13 comments

Poland is now among the 20 largest economies

https://apnews.com/article/poland-economy-growth-g20-gdp-26fe06e120398410f8d773ba5661e7aa
609•surprisetalk•4h ago•520 comments

A web page that shows you everything the browser told it without asking

https://sinceyouarrived.world/taken
159•mwheelz•4h ago•96 comments

Show HN: Git for AI Agents

https://github.com/regent-vcs/re_gent
36•doshay•2h ago•22 comments

Podman rootless containers and the Copy Fail exploit

https://garrido.io/notes/podman-rootless-containers-copy-fail/
53•ggpsv•3h ago•6 comments

Cloudflare to cut about 20% of its workforce

https://www.reuters.com/business/world-at-work/cloudflare-cut-over-1100-jobs-2026-05-07/
1131•PriorityLeft•20h ago•781 comments

Rumors of my death are slightly exaggerated

890•CliffStoll•2d ago•119 comments

Canvas online again as ShinyHunters threatens to leak schools’ data

https://www.theverge.com/tech/926458/canvas-shinyhunters-breach
861•stefanpie•18h ago•567 comments

Mojo 1.0 Beta

https://mojolang.org/
98•sbt567•14h ago•102 comments

GeoJSON

https://geojson.org/
110•tosh•6h ago•47 comments

US Government releases first batch of UAP documents and videos

https://www.war.gov/UFO/
82•david-gpu•4h ago•138 comments

Maybe you shouldn't install new software for a bit

https://xeiaso.net/blog/2026/abstain-from-install/
740•psxuaw•17h ago•394 comments

The surprisingly complex journey to text-selectable client-side generated PDFs

https://sdocs.dev/blogs/journey-to-pdf-generation
46•FailMore•1d ago•45 comments

ClojureScript Gets Async/Await

https://clojurescript.org/news/2026-05-07-release
231•Borkdude•9h ago•55 comments

Dirtyfrag: Universal Linux LPE

https://www.openwall.com/lists/oss-security/2026/05/07/8
737•flipped•21h ago•304 comments

The map that keeps Burning Man honest

https://www.not-ship.com/burning-man-moop/
728•speckx•1d ago•336 comments

Ask HN: We just had an actual UUID v4 collision...

81•mittermayr•8h ago•97 comments

The Disappearance of the Public Bench

https://placesjournal.org/article/the-disappearance-of-the-public-bench/
84•cainxinth•1d ago•101 comments

Pinocchio is weirder than you remembered

https://storica.club/blog/pinocchio-in-italian/
255•cemsakarya•2d ago•104 comments

Dithering with CSS

https://ikesau.co/blog/dithering-with-css/
94•speckx•4d ago•27 comments

Inventing Cyrillic (2024)

https://www.historytoday.com/archive/history-matters/inventing-cyrillic
30•lermontov•2d ago•65 comments

Agents need control flow, not more prompts

https://bsuh.bearblog.dev/agents-need-control-flow/
552•bsuh•1d ago•267 comments

Hackers breach JDownloader's website to serve malware-laced downloads

https://www.neowin.net/news/if-you-downloaded-this-popular-software-recently-you-might-have-insta...
82•bundie•4h ago•25 comments

QBE – Compiler Back End

https://c9x.me/compile/
59•smartmic•9h ago•14 comments

GPT-5.5 Price Increase: What It Costs

https://openrouter.ai/announcements/gpt55-cost-analysis
167•gmays•15h ago•49 comments

Brazil's Pix payment system faces pressure from Visa and Mastercard

https://www.elciudadano.com/en/brazils-pix-payment-system-faces-pressure-from-visa-and-mastercard...
347•wslh•23h ago•292 comments