6 ms·
Most of us carry internet connected computers in our pockets now. How difficult would it be to automate setting up a server on android or iOS? Could someone jus
by feet 4y ago
Most of us carry internet connected computers in our pockets now. How difficult would it be to automate setting up a server on android or iOS? Could someone just install an app and have a server available?
- csande17 4y agoThe main problem with this idea is battery life. Mobile devices are designed to go to sleep really often to conserve battery, and you can't do that if you're running a server. iOS in particular heavily restricts when and how apps can do stuff while the screen is locked.
- 40four 4y agoI think you are misinterpreting what the parent comment is suggesting. You for sure can’t host a Mastodon server off of a mobile device. I think they were suggesting ‘how hard would it be’ to make a mobile app that would allow anyone to spin up their own Mastodon instance in the cloud. I’m not sure I know the answer to that question. It’s definitely not a trivial problem to solve, but also not so crazy that it couldn’t be solved with some concerned effort. There are already some 3rd party services that will host your Mastodon for you, but as far as an easy to use mobile app, could be a good business opportunity for anyone with the right motivation.
- simonw 4y agoI don't think that works. The problem is that your server needs to be online 24/7, because any time someone you follow posts a message your server needs to be online and ready to accept effectively a webhook from them.
- zimpenfish 4y ago> your server needs to be online and ready to accept effectively a webhook from them. The obvious answer there is "ActivityPub over SMTP". There is literally nothing that could go wrong![1] (Basically a service which holds "ActivityPub postboxes" which collect events when you're offline and you pick them up in a batch when you're back online. The XMPP people already solved this one, IIRC.) [1] Ok, there might be -some- problems.
- zaik 4y agoNot sure if this might be related, but there is a project who proposes to use XMPP instead of ActivityPub for the ActivityStreams vocabulary: https://inqlab.net/2022-01-17-activitystreams-over-xmpp.html https://inqlab.net/2022-01-17-activitystreams-over-xmpp.html
- 40four 4y agoThat’s not what they were saying. Of course, your Mastodon instance need to be hosted on some remote Linux server in the cloud. But imagine you could use a mobile app, that provides the service of handling said instance, & exposes the front end client in the same mobile app? It’s totally feasible.
- mdaEyebot 4y agoCan you get a static IP address from a mobile carrier? Also, you'd need a backup server to render the "I am hiking or driving through a tunnel" error pages.
- dumpsterlid 4y agoA raspberry pi is only like $40 also