The future of #selfhosted services is going to be... Android?
Wait, what?
Think about it. At some point in there lives everyone has an old phone. They are designed to be constantly connected, constantly on... and even have a battery and potentially still a SIM card to survive power outages.
We just need to make it easy to create APK packaged servers that can avoid battery-optimization kills and automatically configure an outbound tunnel like ngrok, zerotrust, etc...
The goal: hosting services like #nextcloud, #syncthing, #mastodon!? should be as easy as installing an APK and leaving an old phone connected to a spare charger / outlet.
It would be tempting to have an optimized ROM, but if self-hosting is meant to become more commonplace, installing an APK should be all that's needed. #Android can do SSH, VPN and other tunnels without the need for root, so there should be no problem in using tunnels to publicly expose a phone/server in a secure manner.
PS. syncthing actually already has an APK and is easy to use. Although I had to sort out some battery optimization stuff, it's a good example of what should become much more commonplace.
cc: @selfhosted
dugite_code@mastodon.social 1 year ago
@Wander @selfhosted Unlikely, the biggest issue android devices have is hardware support due to the ARM CPU architecture. It's just not as useful as old x86 hardware, you're stuck with old outdated and vulnerable firmware. My opinion is that one of the selling points of ARM hardware for device vendors is it's relative impossibility to get open source driver support. You may see some use of Apple M1 and M2 simply because it's a smaller FOSS support target, but android devices vary too much.