All tests passing and the binary running flawlessly ON A FREAKIN’ RASPBERRY PI ZERO!
Wanna blow up my Raspberry Pi Zero?
Here, have some random ASCII cows: https://pi0.ar.al/cows
You can also see the stats for this session here: https://pi0.ar.al/b829a930d7dc1a0e8d118eb83d1d9576
(I just want to see how it performs. Will turn it off at some point and delete this tweet when I do.) :)
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).
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.
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! 😃👍
@aral
Couldn't find a suitable FLOSS alternative to PageKite or ngrok, which has Client & Server available. Do you know any?
@yala Haven’t had a chance to really look into it. Please let me know if you hear of anything. I’m very happy to ngrok but always good to know of things you can integrate into your own work if necessary :)
@aral
This sounds awesome. I have to try it
@__ant1sg__ Please do and let me know how you get on :)
@aral could you do this with a low end vps and haproxy redirect?
@dch No reason you couldn’t run your own dynamic DNS server, I guess :) Then again, if you have a low-end VPS, you could just run the site there ;)
@aral wouldn’t be half as neat as a pizero tho.
@dch Hehe, indeed :)
@aral
@RadicalEdward @laura
I have a pi exposed to the internet through a DNS zone managed on digital ocean. Their API allows to modify records. So I made a python script that checks for the public IP ands sets it as record for a subdomain I own. Easy and works anywhere you plug it in
@__ant1sg__ @RadicalEdward @laura Neat! Good to know, thanks :)
@aral
1. Amazing :)
2. https://pi0.ar.al/b829a930d7dc1a0e8d118eb83d1d9576 sez you need a favicon to reduce those logs :)
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
#SiteJS