I’ve been looking into Briar messenger app but it doesn’t seem to have much documentation.

Being a decentralized app, they say that communication between devices can be done over a wifi lan, bluetooth or over Tor/Internet.

But I still don’t understand how devices find each other.

  • Lynda@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    3 years ago

    I’m guessing that you and your contacts exchange MAC and Onion addresses. Then Briar looks for that MAC address via WiFi/Bluetooth or an Onion address on Tor.

  • nutomic@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    3 years ago

    This doesnt really answer your question, but years ago I wrote an instant messenger app that works over Bluetooth. Your post just reminded me of that. I also wrote my bachelor thesis about that project (linked in the readme).

    https://github.com/Nutomic/ensichat

  • seahorse@midwest.social
    link
    fedilink
    arrow-up
    4
    ·
    3 years ago

    Just tried it with my brother. Briar generates a random URL-like string such as “briar://7f2g83f7832hgb87f3b…” on your device which you share with the person you want to be in contact with, and they send you their string. Once you’ve both pasted each other’s strings in the proper form field it connects and you can start messaging each other.

    • madcap@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      3 years ago

      ct with, and they send you their string. Once you’ve b

      that “random” string is in fact the Tor hidden service address.

  • Ghast@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    3 years ago

    I always assumed it was a matter of open ports, or just devices swapping MAC addresses, then they send information in the normal way over those channels.