-
Hi team I am looking to integrate it in my React webapp. I used Excalidraw and it is working great, but I also need to implement collaboration mode. I looked at these options:
Issues:
How should I proceed? What would the team suggest me to do? |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 33 replies
-
Follow-up question regarding developing collab on top of component: I was also reading Excalidraw's P2P collab blog. I saw several operations being performed on collab data like adding, deleting, dealing with conflicts. And it was mentioned there is more to do.
|
Beta Was this translation helpful? Give feedback.
-
My specific use-case is to let one person draw and multiple other people can see (in view mode). Is there any easier way to achieve this? Can we export the data from the writer, send it over to others via sockets, import in on the readers' side? Will that be fast enough for the users? |
Beta Was this translation helpful? Give feedback.
-
Hi @pw-web 👋🏻 thanks for the question! As per your requirement you want to implement collaboration in excalidraw without writing from scratch. If you don't want to implement your own collaboration right now and reuse excalidraw's collaboration algorithm.
If you want to avoid steps 2-4 and have your own implementation, you can take a look at collaboration of how we do at excalidraw and reuse the same at your end so you don't have to clone the excalidraw repo and change end points etc. Though steps 2-4 will help you implement collab faster but I will suggest you avoid cloning excalidraw repo so you need not maintain your own npm package and rather copy the code which you want to use so you can modify it as well if needed. Let me know if this helps! We will soon try to make this process easier for consumers so its easy to use collaboration with excalidraw with your own servers. |
Beta Was this translation helpful? Give feedback.
-
hey @ad1992 |
Beta Was this translation helpful? Give feedback.
-
Why does my hosted excalidraw server only work on my own computer (using two different browsers) after completing points 1 and 2 above, but not on other computers? Points 3 and 4, I don't understand |
Beta Was this translation helpful? Give feedback.
-
could you perhaps add a docker env variable like |
Beta Was this translation helpful? Give feedback.
-
@ad1992 Is there now an easy way to get collab working on the selfhosted version? |
Beta Was this translation helpful? Give feedback.
-
Is this a dead topic? Are there any helm charts with all the requirements out there? The last docker image cannot be built and there is PR opened. And also the documentation on how we should be able to integrate the 2 seems outdated |
Beta Was this translation helpful? Give feedback.
Hi @pw-web 👋🏻 thanks for the question!
As the npm package or self-host Excalidraw doesn't come with collaboration so the consumer needs to implement it themselves.
As per your requirement you want to implement collaboration in excalidraw without writing from scratch. If you don't want to implement your own collaboration right now and reuse excalidraw's collaboration algorithm.
You can try out the below steps 👇🏻
If you want to avoid s…