Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/duality-solutions/web-bridge
Connecting HTTP servers and clients on disparate networks using WebRTC and blockchain signaling
https://github.com/duality-solutions/web-bridge
blockchain http-client http-server networking restful-api security webrtc
Last synced: 2 days ago
JSON representation
Connecting HTTP servers and clients on disparate networks using WebRTC and blockchain signaling
- Host: GitHub
- URL: https://github.com/duality-solutions/web-bridge
- Owner: duality-solutions
- License: other
- Created: 2020-05-15T07:40:49.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-27T01:39:14.000Z (almost 2 years ago)
- Last Synced: 2024-08-01T19:47:29.873Z (3 months ago)
- Topics: blockchain, http-client, http-server, networking, restful-api, security, webrtc
- Language: Go
- Size: 5.83 MB
- Stars: 20
- Watchers: 10
- Forks: 6
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-pion - Duality Blockchain Solutions
README
# WebBridge
![#](assets/web-bridge.png)
Connecting HTTP servers and clients on disparate networks using WebRTC and blockchain signaling
## Development Requirements
- [GoLang](https://golang.org/dl/) v1.14 or above.
- NVM, TypeScript, Yarn and React for [Admin Console](web/README.md)## Running with dev and debug mode
```go
go run -race . -dev -debug
```### Building
```go
# 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
``````go
# 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
```shell
nmake /f Makefile
```#### Linux Make
```bash
make
```### Diagrams
![General Diagram](docs/diagrams/webbridge-general.png)
![Technical Details Diagram](docs/diagrams/webbridge-tech-details.png)
### License and Copyrights
See [LICENSE.md](./LICENSE.md "LICENSE.md") file for copyright, copying and use information.