Skip to content

Store/sync images in canvas data #107

Open

Description

@cyclotruc

Currently, we don't store images
users can paste them in pads, but they won't show up for other users accessing the same page or on page reload

Data for a canvas looks like this when empty:

Image

The files dict in vanilla Excalidraw is filled with an encoded version of the file's data

For pad, we should instead a fast and reliable storage, very likely a classic CDN setup that takes any pasted file, uploads it, and gives back the link for it

The CDN must be protected behind auth
We can also investigate file formats other than images like videos, gifs or even PDFs

If anyone is interested to work on this, let me know and we can discuss it!

Activity

  1. Glenvalentino commented on Jun 5, 2025

    @Glenvalentino

    Can you teach me how to go about it cause I wanna learning something new

  2. rushil-b-patel commented on Jun 11, 2025

    @rushil-b-patel

    @cyclotruc I would like to take upon this issue. We can discuss on discord or somewhere else would be fine.
    Let me know.

  3. cyclotruc commented on Jun 11, 2025

    @cyclotruc
    MemberAuthor

    Sure!!
    Please reach out my discord is @yasbaltrine
    Let's figure it out together, thanks a lot for your interest

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions