Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: collaborative editor (multiplayer) #41

Open
LiamGallagher737 opened this issue Jun 3, 2024 · 0 comments
Open

feat: collaborative editor (multiplayer) #41

LiamGallagher737 opened this issue Jun 3, 2024 · 0 comments
Assignees
Labels
A-Website Impacts the website C-Feature A new feature, making something new possible

Comments

@LiamGallagher737
Copy link
Owner

Reason

I've noticed people on the discord like to use the playground for helping others debug and fix their code. Having a collaborative environment would improve the experience for this use case.

Implementation

My idea for the implementation of this is to have another web server that's hosts "rooms" that users can connect to with a unique ID that the host will get when they create a room. Users will then communicate with this server over a web socket.

The warp framework seems to have good web socket support so I'd likely go with it for the server.

There is a good article on how to implement collaboration with a Monaco editor that we could use as a reference to build the front end in, live cursors and stuff.

@LiamGallagher737 LiamGallagher737 self-assigned this Jun 3, 2024
@LiamGallagher737 LiamGallagher737 added C-Feature A new feature, making something new possible and removed C-User-Enhancement labels Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Website Impacts the website C-Feature A new feature, making something new possible
Projects
None yet
Development

No branches or pull requests

1 participant