I’ve worry about the battery, being plugged in for ages, without some sort of additional BMS like AccA.
The value proposition of old or used android phones as SBCs is insane! You’ve probably got some in your drawers, or can at worst buy some carrier locked ones for 30$. You get a device with better compute than a raspberry pi, with a screen, cameras, speakers, flashlight and battery attached!
Personally, I use them to run and monitor my 3d printers.
I’ve tried hosting an nginx server. It is fun, but I wouldn’t rely on it for production use cases.
I’ve also seen some people run docker on their android devices.
I am trying to lear basic HTML/CSS/JavaScript ( again, last learned HTML back in the 1990’s, am using “JavaScript: The Good Parts” & other books ),
& have discovered that you can have, on the same phone/tablet, Termux/Nginx running,
you have to feed /data/data/com.termux/files/usr/etc/nginx/nginx.conf the root-dir you want it to use
( which is actually in a proot-distro install, down below
/data/data/llcom.termux/files/usr/var/lib/proot-distro/installed-rootfs/ … )
… and then you can have your browser hit
and it’ll grab index.html.
Notice that that is http, NOT httpS.
None of the browsers I’ve tried can get the default connection to localhost, because they all default to https, & nginx isn’t serving https.
That wasted an entire fscking day, to discover.
Now learning can begin!