excalidraw / excalidraw-libraries

Collection of publicly available libraries
https://libraries.excalidraw.com
MIT License
849 stars 227 forks source link

Add support for adding images to a library #411

Open liamg opened 2 years ago

liamg commented 2 years ago

We would like to autogenerate an Excalidraw library every time we create a release of our icon project.

Is this something that could be feasible?

Thanks :)

dwelle commented 2 years ago

Hey @liamg. Images in libraries aren't supported yet. I've created a tracking issues for this: https://github.com/excalidraw/excalidraw/issues/5034

Your use case is interesting in general. Are you aiming to automate creating a PR to update your future library containing your logo?

liamg commented 2 years ago

Hi @dwelle, we have an icon set - https://github.com/aquasecurity/cloudsec-icons

We'd like to automatically generate an Excalidraw library whenever we add/modify icons so we can easily share our icons with the Excalidraw community. We are already doing something similar for Draw.io - you can see info about this here.

dwelle commented 2 years ago

I see. Yeah, that could be a cool use case!

Once we add support for SVGs/images in libraries, we might as well want to expose an SDK for easily making pull requests to create/update existing libraries.