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. ⚠️
|
|
|
|
|
|
|
|
Lead maintainer: [@backkhem](https://github.com/backkem)
|
|
|
|
|
|
|
|
Special thanks to [@pions](https://github.com/pions) for their fantastic
|
|
|
|
[WebRTC Go library](https://github.com/pions/webrtc), which made this
|
|
|
|
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
|