A libp2p transport that enables browser-to-server, and server-to-server, direct communication over WebRTC without requiring signalling servers
Go to file
web3-bot 0967b8c145 add .github/workflows/automerge.yml 2021-05-21 11:49:02 -07:00
.github/workflows add .github/workflows/automerge.yml 2021-05-21 11:49:02 -07:00
examples upgrading dependencies to pass build, commpatible with go-libp2p v0.13.0 and webrtc/v3 v3.0.16 2021-03-21 14:31:43 +01:00
.gitignore Initial POC 2018-09-30 21:33:55 +02:00
LICENSE Create LICENSE 2018-12-31 13:41:55 +01:00
README.md Update dependencies 2019-04-19 09:22:41 +02:00
conn.go fix staticcheck 2021-05-19 10:48:02 -07:00
go.mod set Go version to 1.15 and run go mod tidy 2021-05-21 11:49:02 -07:00
go.sum set Go version to 1.15 and run go mod tidy 2021-05-21 11:49:02 -07:00
listener.go fix staticcheck 2021-05-19 10:48:02 -07:00
signaling.go upgrading dependencies to pass build, commpatible with go-libp2p v0.13.0 and webrtc/v3 v3.0.16 2021-03-21 14:31:43 +01:00
stream.go upgrading dependencies to pass build, commpatible with go-libp2p v0.13.0 and webrtc/v3 v3.0.16 2021-03-21 14:31:43 +01:00
transport.go upgrading dependencies to pass build, commpatible with go-libp2p v0.13.0 and webrtc/v3 v3.0.16 2021-03-21 14:31:43 +01:00
webrtcdirect.go Migrate to webrtc v2.0.16 and go-libp2p-core 2019-08-05 21:29:38 +02:00
webrtcdirect_test.go upgrading dependencies to pass build, commpatible with go-libp2p v0.13.0 and webrtc/v3 v3.0.16 2021-03-21 14:31:43 +01:00

README.md

go-libp2p-webrtc-direct

GoDoc CoverageStatus BuildStatus

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.

⚠️ Status: Alpha. ⚠️

Lead maintainer: @backkem

Special thanks to @pion for their fantastic WebRTC Go library, which made this libp2p transport possible.

Install

This package supports gomod builds.

go get github.com/libp2p/go-libp2p-webrtc-direct

Usage

Check out the GoDocs.

Examples

Check the examples folder for usage and integration examples.

Contribute

Feel free to join in. All welcome. Open an issue or send a PR.

This repository falls under the IPFS Code of Conduct.

License

MIT