for sure! have you explored that yet?
Discussion
yep. It works. It's just not super easy to install (needs root and so on). But it can be ported into an App that simply installs on your device.
does it make sense to still use http/ws at that point with all the overhead? why not call the underlying methods directly?
Because I don't imagine the relay to be part of a client. The relay will be a separate app. So, the client must use either WS or a ContentProvider to access it. I am not sure how much latency a WS adds to a regular ContentProvider (app-to-app native calls in Android)
And I definitely think the future will allow phones to run servers that others can connect to directly. In that case, the relay app must accept WS calls.
awesome, thanks for sharing your perspective - exciting times ahead!
I run hyper-nostr on the termux in the android for a bit to test and it goes well to have a public global within a small group of users. Amethyst sends out the notes without displaying them in global sometimes, which is so-so, but receives everything (could be connection), the web clients are ok on different devices and networks. The battery goes fast true but unlimited mobile net is not very expensive where I am, so apart from that it is interesting and zero conf install. Plus useful if lets say half of the relays are down for whatever reason. Also interests me if such relay can implement some type of hosting and file sharing from the phone storage or a client storage.