#friends #group #send #encryption #messages #commonware-p2p #commonware-cryptography

app commonware-chat

Send encrypted messages to a group of friends using commonware-cryptography and commonware-p2p

16 releases

0.0.18 Aug 31, 2024
0.0.17 Aug 31, 2024

#347 in Cryptography

Download history 261/week @ 2024-08-08 510/week @ 2024-08-15 496/week @ 2024-08-22 750/week @ 2024-08-29 14/week @ 2024-09-05

1,771 downloads per month

MIT/Apache

310KB
6K SLoC

commonware-chat

Crates.io

Send encrypted messages to a group of friends using commonware-cryptography and commonware-p2p.

Offline Friends

commonware-chat only sends messages to connected friends. If a friend is offline at the time a message is sent, commonware-p2p will drop the message. You can confirm you are connected to all your friends by checking the value of p2p_connections in the "Metrics Panel" in the right corner of the window. This metric should be equal to count(friends)- 1 (you don't connect to yourself).

Usage (4 Friends)

Friend 1 (Bootstrapper)

cargo run --release -- --me=1@3001 --friends=1,2,3,4

Friend 2

cargo run --release -- --me=2@3002 --friends=1,2,3,4 --bootstrappers=1@127.0.0.1:3001 

Friend 3

cargo run --release -- --me=3@3003 --friends=1,2,3,4 --bootstrappers=1@127.0.0.1:3001 

Friend 4 (Different Friend as Bootstrapper)

cargo run --release -- --me=4@3004 --friends=1,2,3,4 --bootstrappers=3@127.0.0.1:3003

Not Friend (Blocked)

cargo run --release -- --me=5@3005 --friends=1,2,3,4,5 --bootstrappers=1@127.0.0.1:3001 

Dependencies

~26–37MB
~649K SLoC