by xnx · 2y ago · 0 comments
Use your old PC, a Raspberry Pi, an EC2 instance, whatever you like, a single small Docker Compose file with Watchtower for auto-updating the container image when new one published etc. I've got self-hosted services that have ran untouched for years this way at home from a handful of lines of YML. Docker Compose will also take care of restarting the service on reboot/powercut if thats a concern.
Given the ubiquity of container images, you can run largely any web application this way and the container image likely already exists - this project also has a Dockerfile and would run fine this way too.
docker run coolapp:latestEdit: this app would probably make for a great Sandstorm app.
I think there's still a world in which you can buy an rPi with software preinstalled and updaters packaged without much effort though.
If that could take off, you could easily have this type of service. However, I think it falls apart because you need to govern the app store and that is expensive and difficult.
Umbrel is just plug-and-play with an app store, haven't personally tried it but looks very cool.
I've been slowly moving everything to self hosted to reduce the pain if/when I'm ever randomly banned from Google or some other huge network and can't get it re-enabled.
The downside is that I'm now my own IT department and need to perpetually monitor these things.
Virtual android device in the cloud might be a great model for it since Android has good built-in security and process isolation.
Web apps don't magically produce their own compute, power and networking. They still need to be run on something.
(Web app does not automatically equal SaaS, especially in this case that is explicitly billed as self-hosted.)
I promise, everyone, it is very legal and very cool to just write applications that run without TCP roundtrips. I promise.
(Rephrased to be less mean.)
"The most amazing achievement of the computer software industry is the continuing cancellation of the steady and staggering gains made by the computer hardware industry" -Henry Petroski
Efficiency is very important to me. (And in the era of climate change, it should be important to everyone.) I consider web apps to be about the least efficient form of software yet discovered. We suddenly need two relatively beefy computers with multi-GHz multi-core processors and GB of RAM, one of which must be powered on 24/7, to do something that could have been done on the hardware of the mid-80s.