Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 873 Bytes

readme.md

File metadata and controls

23 lines (17 loc) · 873 Bytes

codecov Build Docs

P2P Chat Client

This is a simple demonstration of a peer to peer chat client, written entirely in rust utilising the libp2p library.

Demo

On two seperate computers connected to the same LAN, run:

git clone https://github.com/JosiahBull/rust-p2p-chat
cd rust-p2p-chat
cargo run

The peers should discover one another, and you can message between them. The last 32 messages of history are stored if one peer disconnects.

Test

cargo test