2019-04-02 12:32:29 +00:00
|
|
|
# go-libp2p-webrtc-direct
|
|
|
|
|
|
|
|
[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://github.com/libp2p/libp2p)
|
|
|
|
[![](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p)
|
|
|
|
[![GoDoc](https://godoc.org/github.com/libp2p/go-libp2p-webrtc-direct?status.svg)](https://godoc.org/github.com/libp2p/go-libp2p-webrtc-direct)
|
|
|
|
[![Coverage
|
|
|
|
Status](https://coveralls.io/repos/github/libp2p/go-libp2p-webrtc-direct/badge.svg?branch=master)](https://coveralls.io/github/libp2p/go-libp2p-webrtc-direct?branch=master)
|
|
|
|
[![Build
|
|
|
|
Status](https://travis-ci.org/libp2p/go-libp2p-webrtc-direct.svg?branch=master)](https://travis-ci.org/libp2p/go-libp2p-webrtc-direct)
|
|
|
|
|
|
|
|
> A transport that enables browser-to-server, and server-to-server, direct
|
|
|
|
> communication over WebRTC without requiring signalling servers. This is the
|
|
|
|
> Go counterpart to
|
|
|
|
> [js-libp2p-webrtc-direct](https://github.com/libp2p/js-libp2p-webrtc-direct).
|
|
|
|
|
|
|
|
⚠️ Status: Alpha. ⚠️
|
|
|
|
|
2019-04-02 14:01:51 +00:00
|
|
|
Lead maintainer: [@backkem](https://github.com/backkem)
|
2019-04-02 12:32:29 +00:00
|
|
|
|
2019-04-06 15:47:28 +00:00
|
|
|
Special thanks to [@pion](https://github.com/pion) for their fantastic
|
|
|
|
[WebRTC Go library](https://github.com/pion/webrtc), which made this
|
2019-04-02 12:32:29 +00:00
|
|
|
libp2p transport possible.
|
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
This package supports gomod builds.
|
|
|
|
|
|
|
|
```sh
|
|
|
|
go get github.com/libp2p/go-libp2p-webrtc-direct
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
Check out the
|
|
|
|
[GoDocs](https://godoc.org/github.com/libp2p/go-libp2p-webrtc-direct).
|
2019-02-14 17:10:48 +00:00
|
|
|
|
|
|
|
## Examples
|
2019-04-02 12:32:29 +00:00
|
|
|
|
2019-02-14 17:10:48 +00:00
|
|
|
Check the [examples](./examples) folder for usage and integration examples.
|
2018-09-30 19:33:55 +00:00
|
|
|
|
2019-04-02 12:32:29 +00:00
|
|
|
## Contribute
|
|
|
|
|
|
|
|
Feel free to join in. All welcome. Open an
|
|
|
|
[issue](https://github.com/libp2p/go-libp2p-webrtc-direct/issues) or send a
|
|
|
|
PR.
|
2018-09-30 19:33:55 +00:00
|
|
|
|
2019-04-02 12:32:29 +00:00
|
|
|
This repository falls under the IPFS [Code of
|
|
|
|
Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md).
|
2019-01-22 11:02:08 +00:00
|
|
|
|
|
|
|
## License
|
2019-04-02 12:32:29 +00:00
|
|
|
MIT
|