paradigmxyz/flux

feat: collaborative mode

dalechyn opened this issue · 2 comments

Is your feature request related to a problem? Please describe.
It would be useful to collaborate with someone on the same page, since flux is getting more structurization features with #8 and possibly #18.
Describe the solution you'd like
A collaborative mode can be implemented with a button view, which on click generates a unique link and opens a non-closable modal on the corner of a screen with a link that the user can copy to send to anyone to collaborate on the prompts.

Something similar to what codesandbox has:
Screenshot 2023-04-02 at 13 42 58

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context

I agree! I've been considering putting together a socket.io server to accomplish this. I think it would be cool if each user could bring their own API key and have the possibility for working on separate conversations at the same time

could automerge / another CRDT implementation maybe?