Andi Pabst
Andi Pabst
Isn't the first already implemented? But I would try to implement the second one, if that's okay to you? :)
Hey @saljam, is there anything I could do to improve this PR?
I wanted to poke around this a little since I'd really love to use magic wormhole on the go in a browser (since a browser is just ubiquitous these days)....
@piegamesde Thanks for your support! I had a look at it and could get rid of most errors by either ripping the code out or using cargo feature flags, as...
Hi @piegamesde, I tried again for some time, but unfortunately I was not able to get it working completely. I have pushed my work in progress state in my [fork](https://github.com/andipabst/magic-wormhole.rs/tree/wasm-support-3)...
I had a look and it looks really good! Basing it on the target platform is a good idea, since I really had some trouble with the feature flag. FYI,...
Thanks for your changes! I implemented a basic wasm integration. I had to change some parts, since `std::time::Instant::now()` is not implemented for wasm, but it compiles and runs now until...
Thanks for the hint, that was indeed the issue :facepalm: I could use with your test server for developing on my machine, but for making a hosted version available I...
No worries. I totally agree with you, but when serving the website over https (which should definitely be done), browsers also require using secure websocket connections. (See e.g. https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_client_applications#security_considerations)
Thanks! As mentioned above I polished and documented the code a bit and copied it over to include it in this repo, see #163. I also adapted the GitHub Actions...