Skip to content

[Feature Request] Excalidraw Live Collab #315

Closed

Description

@RusticCraftsman

In the actual docmost version, v0.3.1 , live collab is limited to text , We could extend this further to excalidraw leveraging on the already integrated live collab feature that excalidraw contains.

How does it work for a normal user

In normal scenario inside excalidraw.com, a user wanting to live collab would do the following:

1.Click on the live collaboration menu option
image

2.Click on the start session button on the middle of the screen
image

3.Set your username
image

4.Copy the invite link
image

5.Invite some friends

6.Draw
image

8.End live collaboration
image

9.Exit

How could we implement it in docmost

It would be pretty conceptually simple:

START
the first user opens the excalidraw, this will initiate an excalidraw session
live collab would automatically be enabled, username would be set to the username in docmost
the excalidraw file presented in docmost would only point to the invite link of the live share, hence every user that tries to edit in their own session will join the live collab instead, username would also be set to the one in docmost.
After everyone leaves, stop live collab session and save changes.
return to start state

We could also make the server the one starting the sessiong, making the first user send a request that gets a response with an invite link.

What if 2 users click the same excalidraw canvas at the same time? We shall make it so there only can be 1 session of the same excalidraw canvas at the same time, based on periodic checking after start, the server should redirect the latest one to the invite link of the session that the first user started

Activity

  1. Shadowfita commented on Sep 17, 2024

    @Shadowfita
    Contributor

    It would be great if there was a form of in-line editing available within a page that could make collaboration more seamless as well.

  2. Philipinho commented on Oct 14, 2024

    @Philipinho
    Member

    Live collaboration is not readily available on the Excalidraw react component we are using. No plans to implement this internally.

    We will eventually introduce an Excalidraw iframe embed option which can serve as a workaround where you collaborate directly on their website.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions