Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adzialocha/toy-hypercore

A toy p2p chat protocol implementation
https://github.com/adzialocha/toy-hypercore

p2p toy-project

Last synced: 2 days ago
JSON representation

A toy p2p chat protocol implementation

Awesome Lists containing this project

README

        

# toy-hypercore

A toy [Hypercore](https://github.com/datproject/docs/blob/master/papers/dat-paper.pdf) p2p protocol implementation with local [mDNS discovery](https://en.wikipedia.org/wiki/Multicast_DNS) for learning purposes.

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

## Usage

Start sharing Hypercore feed:

```
cargo run
> dat://20d7eb0934d482fca4f975270b8ad6e28ecbdeebad5bed8c1acd5006eec771ea
```

Clone Hypercore feed with address:

```
cargo run -- -c dat://20d7eb0934d482fca4f975270b8ad6e28ecbdeebad5bed8c1acd5006eec771ea
```