web-bridge
web-bridge copied to clipboard
Connecting HTTP servers and clients on disparate networks using WebRTC and blockchain signaling
WebBridge
Connecting HTTP servers and clients on disparate networks using WebRTC and blockchain signaling
Development Requirements
- GoLang v1.14 or above.
- NVM, TypeScript, Yarn and React for Admin Console
Running with dev and debug mode
go run -race . -dev -debug
Building
# Linux Requires sudo apt-get install protobuf-compiler
go get -u -v github.com/golang/protobuf/proto
go get -u -v github.com/golang/protobuf/protoc-gen-go
protoc --go_out=. internal/goproxy/*.proto
go build -i -v -ldflags="-X 'main.GitHash=$(git describe --always --long --dirty)' -X 'main.Version=$(date +'%y.%m.%d')'" github.com/duality-solutions/web-bridge
# Windows Requires protobuf compiler: https://github.com/protocolbuffers/protobuf/releases
go get -u -v github.com/golang/protobuf/proto
go get -u -v github.com/golang/protobuf/protoc-gen-go
protoc --go_out=. internal/goproxy/*.proto
go build -i -v -ldflags="-X 'main.GitHash=$(git describe --always --long --dirty)' -X 'main.Version=$(Get-Date -Format "yy.MM.dd")'" github.com/duality-solutions/web-bridge
Windows NMake
nmake /f Makefile
Linux Make
make
Diagrams
License and Copyrights
See LICENSE.md file for copyright, copying and use information.