Yesterday, I asked folks following me on my Mastodon1, if they’d help me blow up my Raspberry Pi Zero W: A story in three toots… Earlier this week, I got to test Site.js on the Pi Zero and saw that it runs flawlessly. Using ngrok, I exposed the Pi to the harsh and cruel Interwebs and then – for the fun of it – decided to see what would happen if lots of folks hit it at the same time.| Aral Balkan
Chatting about Pi, on a Pi, with a chat server running on Site.js on the same Pi. Yesterday, I released Site.js 12.8.0 which brings initial ARM support for Linux. What that means is that it’s now easier than ever to get a static or dynamic (Node.js) web server up and running on a Raspberry Pi. Site.js on my Raspberry Pi, serving the basic chat app in the first screenshot.| Aral Balkan
Chat room Status: Offline Nickname: Message: Send Messages // Shorthand for basic DOM lookup via CSS selectors. const element = document.querySelector.bind(document) // Display a message in the messages list and ensure // that the list always shows the latest messages. function finalVersionDisplayMessage (message) { const nickname = `${message.nickname}:` const text = message.text const messageHTML = `${nickname} ${text}` // Update the message list. const messageList = element('#final-version...| Aral Balkan
GNU AFFERO GENERAL PUBLIC LICENSE| www.gnu.org
Developing on Remote Machines or VMs using Visual Studio Code Remote Development and SSH| code.visualstudio.com