Best privacy messenger app?

Hi @rreive i tried Jami, but couldn’t get it working. The message I’m waiting to receive says “Downloading conversation from peer”. It’s been stuck on that for weeks with a few app updates. No bueno.

1 Like

I like to use Signal

1 Like

I like Signal too, but like the way SimpleX is approaching it with no mobile number needed and the ability to create as many profiles as I want. It just needs some features improvement.

I still need to try Matrix.

1 Like

What is your OS and JAMI version? If you want we can try a test connect with my client…

I’m on android Graphene OS and version Astarte - 20250207-03

I had a bit of trouble with getting $PATH setup right(my own weirdness) and had to update Java, then it worked maybe it’s that?
Does it boot at all? Might be worth sending the guys in Montreal a message at Savoir Faire Linux?

The nature of p2p means Jami can’t really be used on phones without rapid battery drain. There probably never will be a fix for this. Autonomi will suffer the same issue if run on phone devices. The only way around this is to have your phone poll and send messages through a private hosted always on server. You might want to check out Veilid who are building something like that. Not dissimilar to Autonomi in its goals, they have a beta messaaging app but I’ve not tried it.

1 Like

I spent quite a bit of time in the mobile dev and QA space, so yes battery drains is always an issue for all apps. AI Mix of Agents Mixtral LLM retrained by Brave does a nice job summing up the requirements criteria to optimize p2p with webrtc programmed in rust, which means compiling to web assembly,

The emerging idea in this thread is lets, as a group ,establish a baseline by looking at what is out there, see what code/concepts can be re-used in UI sent etc. to find the shortest path to a reasonable p2pchat solution with least tech effort debt,

Thanks for the tip on Veilid , we should all have a look… https://veilid.com/

The Engineered prompt used with AI Mistral Mixtral (Mix of Agents) (Brave AI assisted Search variant LLM)

to generate a bit of design advice (Likely used by Brave)

" How does one design their p2p mobile chat app using Rust and p2plib to minimize the power drain on the mobile battery?"

Designing P2P Chat App with Rust

Designing a peer-to-peer (P2P) mobile chat app using Rust and libp2p to minimize power drain involves optimizing both the networking and the mobile application aspects. Here are some key considerations:

  1. Optimize Network Protocols : Use efficient and lightweight protocols. libp2p supports various protocols, including QUIC and WebRTC, which are designed to be more power-efficient than older protocols like TCP. QUIC, for example, reduces the number of round trips needed to establish a connection, which can help in conserving power.2
  2. Reduce Data Transmission : Minimize the amount of data transmitted over the network. Implement data compression techniques and only send necessary information. This reduces the frequency and volume of data exchanges, which can lower the power consumption of the device.2
  3. Implement Idle States : Design the app to go into low-power idle states when not in use. This can be achieved by closing unnecessary connections and suspending non-essential operations. libp2p’s modular design allows for fine-grained control over which components are active, enabling you to manage power usage effectively.2
  4. Use Efficient Libraries : Rust itself is known for its performance and memory safety, which can contribute to lower power consumption. Ensure that the Rust libraries and dependencies you use are optimized for mobile environments.2
  5. Optimize for Mobile Networks : Consider the characteristics of mobile networks, such as intermittent connectivity and varying signal strengths. libp2p’s support for NAT hole punching and distributed hash tables (DHTs) can help maintain connections even in challenging network conditions without excessive power usage.2
  6. User Interface and Experience : Design the user interface to be minimalistic and efficient. Avoid unnecessary animations and background processes that can consume battery power.2

By focusing on these areas, you can create a P2P mobile chat app that is both efficient and user-friendly, while minimizing the impact on the mobile device’s battery life.

Taken a step futher one adds in Gossip protocol into the engineered prompt and one gets this differentiated , useful result:

Eng. Prompt revision:

“How does one design their gossip protocol based p2p mobile chat app using Rust and p2plib to minimize the power drain on the mobile battery?”

Designing P2P Chat App for Power Drain

Designing a gossip protocol-based peer-to-peer (P2P) mobile chat app using Rust and libp2p to minimize power drain involves several considerations. First, you should use efficient transport protocols that are optimized for mobile devices. libp2p supports newer and faster transports like QUIC and WebRTC, which can be more power-efficient than traditional TCP connections.2

To minimize power consumption, you should also carefully manage the frequency and volume of gossip messages. Implementing a mechanism to throttle the gossip protocol can help reduce unnecessary network activity. For example, you can adjust the parameters of the gossip-based peer sampling algorithm to limit the number of push/pull rounds and the size of the views exchanged.3

Additionally, you can implement a feature to automatically pause or reduce the frequency of gossip messages when the device is in low-power modes, such as when the screen is off or the battery level is critically low. This can be achieved by integrating with the device’s power management APIs and adjusting the gossip protocol’s behavior accordingly.

Libp2p also supports in-band protocol multiplexing, which allows reusing already established and secure connections. This can help reduce the overhead of establishing new connections and minimize the power drain associated with frequent connection setups and teardowns.2

Lastly, consider optimizing the Rust code for performance and efficiency. Use profiling tools to identify and optimize any CPU-intensive operations that could contribute to increased power consumption.

AI-generated answer. Please verify critical facts.


🌐
slant.co
Slant - 7 Best cross platform secure P2P chat application as of 2025

🌐
libp2p.io
libp2p - A modular network stack

🌐
github.com
GitHub - zarbafian/gbps: Rust implementation of Gossip-based Peer Sampling by Jelasity et al.

🌐
reddit.com
r/rust on Reddit: any decent high level p2p libraries?

🌐
blog.logrocket.com
libp2p tutorial: Build a peer-to-peer app in Rust - LogRocket Blog