Home

Awesome

Architecture

Introduction

A command-line tool that enables users to securely forward local ports over the internet using WebRTC. Leveraging the Pion Golang library, this tool supports both TCP and UDP protocols in a multiplexed, encrypted, and concurrent connection.

Example use cases

Architecture

Architecture

Usage

Create a party and forward ports

$ pleer -host -tcp 8080 -tcp 25565

After executing this command, the CLI will provide you with a PARTY_ID. You need to share this PARTY_ID with any peer who wants to join the party.

Join a party

$ pleer -join {PARTY_ID}

Once you successfully join a party, you will automatically be able to exchange data over the ports defined by the host. For the connection to happen, you must have the signaling server.

Signaling Server

The signaling server is required for establishing a WebRTC connection between peers. You can run the signaling server using:

$ go run ./signal

Roadmap