You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I’m using the alswl/excalidraw fork (and its storage and collaboration setup), and I’m looking for a way to create a persistent document or “room” so I can come back to the same drawing a year from now. Right now, the real-time collaboration (room) seems to be ephemeral: after the server restarts or after a certain period, the room data disappears unless I manually save the scene data in /api/v2/scenes.
Is there an official or recommended way to generate a permanent link or room ID that we can store and return to much later, without having to build a custom REST endpoint? For example:
I’d like to create a new Excalidraw document via an API call (e.g., POST /api/v2/scenes) and get back some form of stable link or roomId that supports long-term collaboration.
I want to ensure that the same link will still load the exact same drawing in real-time collaboration mode, even months or a year later.
Do you have a built-in or documented approach for persistent rooms/scenes, or do I need to implement my own logic (e.g., modifying the code to save roomId in a database and reloading it)? Any insight on best practices or existing forks that already handle this would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered:
@grekpg I'm using this excalidraw-storage-backend with postgre and there you can define "STORAGE_TTL" on how long the rooms should be saved until deletion.
Maybe something to look into if it's not possible to achieve the TTL with this fork.
Hello, I’m using the alswl/excalidraw fork (and its storage and collaboration setup), and I’m looking for a way to create a persistent document or “room” so I can come back to the same drawing a year from now. Right now, the real-time collaboration (room) seems to be ephemeral: after the server restarts or after a certain period, the room data disappears unless I manually save the scene data in /api/v2/scenes.
Is there an official or recommended way to generate a permanent link or room ID that we can store and return to much later, without having to build a custom REST endpoint? For example:
I’d like to create a new Excalidraw document via an API call (e.g., POST /api/v2/scenes) and get back some form of stable link or roomId that supports long-term collaboration.
I want to ensure that the same link will still load the exact same drawing in real-time collaboration mode, even months or a year later.
Do you have a built-in or documented approach for persistent rooms/scenes, or do I need to implement my own logic (e.g., modifying the code to save roomId in a database and reloading it)? Any insight on best practices or existing forks that already handle this would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered: