A standalone deployment of a libp2p host, running in its own OS process and installing a set of virtual endpoints to enable co-local applications to: communicate with peers, handle protocols, interact with the DHT, participate in pubsub, etc. no matter the language they are developed in, nor whether a native libp2p implementation exists in that language.
🚧 This project is under active development! 🚧
Check out the ROADMAP to see what's coming.
Note that go1.11 is required.
$ go get github.com/libp2p/go-libp2p-daemon
$ cd $GOPATH/src/github.com/libp2p/go-libp2p-daemon
$ make
$ p2pd
Check out the GoDocs.
Daemon bindings enable applications written in other languages to interact with the libp2p daemon process programmatically, by exposing an idiomatic API that handles the socket dynamics and control protocol.
The following bindings exist so far (if you want yours added, please send a PR):
- Go (reference implementation): see the p2pclient package in this repo.
- Python: py-libp2p-daemon-bindings.
- Gerbil: gerbil-libp2p.
If you wish to implement bindings in a new language, refer to the spec for the daemon control protocol and API.
Feel free to join in. All welcome. Open an issue!
This repository falls under the IPFS Code of Conduct.
MIT