This example runs iroh in the browser, compiled to web assembly. The example uses a custom Echo protocol: You connect to remote node, send some data, and the remote node sends back the same data.
The protocol may be used both from the browser and from the command line, and browser and cli nodes can connect to each other.
Source code