Skip to content

Possible to skip nodejs? #4260

Answered by darrachequesne
Vixeliz asked this question in Q&A
Jan 24, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hi!

Socket.IO, like plain WebSockets, is designed for server to client communication.

That being said, you might be interested in WebContainers, which provide a way to run Node.js in the browser: https://blog.stackblitz.com/posts/introducing-webcontainers/

You may also check peer-to-peer communication and WebRTC, which sounds really close to your use case.

Reference: https://developer.mozilla.org/en-US/docs/Web/Guide/API/WebRTC/Peer-to-peer_communications_with_WebRTC

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Vixeliz
Comment options

@darrachequesne
Comment options

@Vixeliz
Comment options

Answer selected by Vixeliz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants