Micro.blog

aral@mastodon.ar.al
aral@mastodon.ar.al

All tests passing and the binary running flawlessly ON A FREAKIN’ RASPBERRY PI ZERO! :awesome:

sitejs.org

<... mastodon.ar.al

aral@mastodon.ar.al
aral@mastodon.ar.al

Wanna blow up my Raspberry Pi Zero?

Here, have some random ASCII cows: pi0.ar.al/cows

You can also see the stats for this session here: pi0.ar.al/b829a930d7dc1a0e8d11

(I just want to see how it performs. Will turn it off at some point and delete this tweet when I do.) :)

aral@mastodon.ar.al
aral@mastodon.ar.al

Watching your requests streaming in and the little Raspberry Pi Zero handling them like a champ ;)

aral@mastodon.ar.al
aral@mastodon.ar.al

Hahaha, folks are using 404 errors to send messages. 💕 it! :)

Hi @drq 👋

aral@mastodon.ar.al
aral@mastodon.ar.al

How does Site.js perform on a Raspberry Pi Zero W? Pretty darn well, I’d say 🤓

aral@mastodon.ar.al
aral@mastodon.ar.al

Nearly three thousand requests with folks from Poland to California :) I think I’ll keep it running until it reaches about 10,000 and then give the little Pi a rest and call it a day!

:wave: @gid

aral@mastodon.ar.al
aral@mastodon.ar.al

Got a question from @RadicalEdward about how the Raspberry Pi Zero is exposed to the Internet: It’s via ngrok and I’m very impressed with how that’s handling itself as well (it’s an awesome service and worth every penny – both @laura and I have Pro accounts there).

aral@mastodon.ar.al
aral@mastodon.ar.al

Right folks, almost 6,000 requests last I checked. Going to turn it off now.

Thank you all for playing and for your very creative 404 messages ;)

💕

Conclusion: you can host a personal site/app/etc. with Site.js on a Raspberry Pi Zero W.

aral@mastodon.ar.al
aral@mastodon.ar.al

Final tally: a tiny @Raspberry\_Pi Zero W, running Site.js over a WiFi connection from my desk, & exposed to the Interwebs via @ngrokapp, served over 7,000 requests (mostly dynamic Node.js) in a little experiment we just ran.

Small Technology FTW! 😃👍

sitejs.org

In reply to
adamprocter
adamprocter

@aral@mastodon.ar.al might be off now but I couldnt connect as the

pi0.ar.al has a security policy called HTTP Strict Transport Security (HSTS), which means that Firefox can only connect to it securely. You can’t add an exception to visit this site.

Websites prove their identity via certificates. Firefox does not trust this site because it uses a certificate that is not valid for pi0.ar.al. The certificate is only valid for the following names: *.eu.ngrok.io, eu.ngrok.io

aral@mastodon.ar.al
aral@mastodon.ar.al

@adamprocter Hey Adam, yeah, I turned it off after the experiment. Did another little one (on Twitter this time) just now. Had about 30 folks. Ran flawlessly unwired on battery power and over LTS :)