The xpeer-server is a pseudo p2p relay server which implements the xpeer-spec (see spec.md) written in golang.
XPeer is currently in beta and under heavy development. Make sure, that your server version is compatible with your client version.
-
Clone the repository and cp into it.
-
Install go 1.17 (or higher) here
-
Run:
go mod download
to install all dependencies -
Run
go run pkg/xpeer/main.go
to start the server -
Optional: Run
go build -o xpeer-server pkg/xpeer/main.go
to create an executable which can be run via./xpeer-server
(You can use the shell scripts in the ./scripts
folder alternatively)
- Build Image:
docker build . -t xpeer-server
- Run in Container:
docker run --name xpeer-server xpeer-server
Currently only a client implementation for the web in Javascript is available. You can find it here.