I have been working on an Android App quite a while now, starting from a simple idea.

A messenger where messages travel directly between phones with no servers in between. Using direct WebRTC encrypted connections (SRTP/DTLS), there are no servers that stores, reads, or relays content. Group chats use a gossip protocol where members relay to other members.

The only infrastructure the app touches is a signalling relay to set up the connection (no message content), a push notification to wake up a sleeping phone (also no content), and a TURN relay for restricted networks (encrypted packets only).

I wrote a detailed white paper explaining the full architecture: https://www.mindtheclub.com/white-paper.html

The app is in Open Testing on Google Play (1,000 tester cap): https://www.mindtheclub.com/beta-signup.html

I’m interested in this community’s perspective on whether the architecture holds up.

  • GradleSurvivor@lemmy.mlOP
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    6 days ago

    About cloud services: The core idea behind the “server-free” design is to keep users’ messages from ever touching the cloud. Wake-up notifications and signalling (metadata) do require some kind of cloud service before the peer-to-peer connection is established. The only way to avoid third-party cloud services entirely would be to build your own, though I’m not sure that would really change how the dependency is perceived from a client’s perspective.

    About Bluetooth: Messages are still end-to-end encrypted, anyway It’s a user choice, you don’t have to use it, and I found a lot of people appreciate this feature, Briar has it.

    About the landing page: At least I’m clear I’m still in beta, evolving situation, anyway I’m working on the right wording.

    About the questions:

    1. Did you disclose to your beta users… I did in my “learn more about Open Testing”, but again, I’m going to change the text to be more explicit.
    2. How do you plan to limit access… Beta testers get it free forever, no gating needed for them. Only post-launch signups will need a subscription, and that gating (a server-side check on the Play purchase token) is planned, not built yet.
    3. If someone wants to fork… That is right, a fork on its own backend can’t talk to my users, because both sides need to use the same signalling infrastructure to find each other. Separate forks aren’t interoperable by default.
    • Arthur Besse@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 days ago

      The core idea behind the “server-free” design is to keep users’ messages from ever touching the cloud

      "but why" meme, with the the text "but why?" over an image of Ryan Reynolds in medical scrubs in the film Harold & Kumar Go To White Castle

      given that the messages are encrypted, what is the advantage that you perceive in using “the cloud” (servers) only for signaling rather than transmitting the actual ciphertext through them? Wouldn’t your “cloud” servers see “just the metadata” either way?

      It saves some costs for you, but it comes at the cost of requiring users to be online at the same time to exchange messages… is there some other advantage that you see?

      a server-side check on the Play purchase token

      ah, so it will be the kind of “free open source software” which can only be used via Google Play 🙄

      Separate forks aren’t interoperable

      that’s another thing you should inform potential users of explicitly, if you want to be honest.