Skip to content

Simple p2p chat with mDNS discovery, append-only log data structure and replication protocol for learning purposes

License

Notifications You must be signed in to change notification settings

adzialocha/p2p-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

p2p-chat

A toy p2p chat protocol implementation inspired partly by Hypercore with local mDNS discovery, append-only log data structure and replication protocol for learning purposes.

Please note: This is work in progress and will be published together with a tutorial when finished.

Usage

Start chat channel:

cargo run
> chat://20d7eb0934d482fca4f975270b8ad6e28ecbdeebad5bed8c1acd5006eec771ea

Join existing chat channel:

cargo run -- --channel chat://20d7eb0934d482fca4f975270b8ad6e28ecbdeebad5bed8c1acd5006eec771ea

About

Simple p2p chat with mDNS discovery, append-only log data structure and replication protocol for learning purposes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages