Skip to content

experiments in tunnelling HTTP over libp2p in browser from go

License

Notifications You must be signed in to change notification settings

matrix-org/go-http-js-libp2p

Repository files navigation

go-http-js-libp2p

Tunnel HTTP requests/responses in-browser from go-wasm over js-libp2p. In theory should be compatible with https://github.com/libp2p/go-libp2p-http.

To test:

$ yarn install
$ ./test.sh

Alternatively:

$ docker build -t ghjl .
$ docker run --rm ghjl

The tests will spin up a rendezvous server. For reference, you can spin one up like this:

npm install --global libp2p-websocket-star-rendezvous
rendezvous --port=9090 --host=127.0.0.1

About

experiments in tunnelling HTTP over libp2p in browser from go

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages