Repository navigation
Replies: 9 comments 21 replies
|
We don't have RT working in the stand-alone project. Where are you saving your diagram to? |
|
I asked a similar question but wasn't quite clear in the title (/rt and /cache implementations). In our instance, we're hosting internally (Apache/Tomcat) and using OneDrive so we have the storage side ready, just not the RT side. From a quick look at the code, it appears that /cache is used with Pusher.js, but P2PCollab.js seems to be based on Simplepeer but I haven't found any documentation on it so I'm not sure of it's status - is it still in testing or is it stable enough to use as a replacement for Pusher? I assume I need to setup a signaling server and set the RT_WEBSOCKET_URL as a start. Is there a specific signaling server that should be used and/or code to help implement this in a self-hosted environment? |
|
There are three parts, the fast (real time RT) part. That's written in JS and runs on cloudflare workers. That's a sub/pub fast channel where updates go out immediately. The cache on GAE is slower. It is a correctly ordered sequence of changes that are only recorded once the client correctly writes the file. The result returned from there can be used by the client to playback changes in a different order to that received from the fast RT. https://gist.github.com/davidjgraph/9e19257bfc0d0535db0d6ab601d649dd is the cache code. The last fallback is just the file itself. If we can't resolve something, we load the currently file and apply the diff-sync. |
|
Thank you for the ideas and code provided by the author. I have implemented the function of local privatization and multi person collaboration: |
|
@m-mohamedin We were looking into the docker-drawio repository and we noticed that the self-contained implementation supports real-time collaboration using AWS IoT: https://github.com/jgraph/docker-drawio/tree/dev/self-contained. In one of the steps, it is mentioned to follow the instructions in the etc/mxPusher folder to setup a lambda function for temporary keys as well as setting a role for that lambda function but we cannot locate this folder neither on the repository nor the container files. Where can we find these instructions? |
|
Has any progress been made on this topic? Would love to see it |
|
I have been working on a real-time server for draw.io that allows GDPR compliant self-hosting: https://github.com/fairkom/diagrams The default service in the Nextcloud draw.io app |
|
💡 This might help: Real-time collaboration has been implemented for Confluence Data Center in draw.io 13.0.0. For self-hosted Confluence environments, collaborative editing is available starting with Confluence 8.9. Configuration options like 📎 Source: #1396 🤖 Automated suggestion based on similar resolved issues. |
|
I have a custom solution in my repository. Most of it was built by an AI agent, so please use it at your own risk. However, it works very well, and you can easily collaborate using the “embed” feature even when self-hosting. |
Uh oh!
There was an error while loading. Please reload this page.
We have the application self-hosted in our own infrastructure and we want to understand if real-time collaboration is possible as it's not currently working. Is this real-time feature implemented with Pusher API? If so, is it possible to enable if we create our own account?
All reactions