How excalidraw/excalidraw-libraries works
This repository serves a public catalog of community-made Excalidraw libraries. A visitor browses the site, searches or sorts the catalog, and can open or install a library for use in Excalidraw. The sampled browser code loads catalog metadata and download statistics, then renders entries and their previews; the library files are the catalog’s downloadable content. The README also documents creating and publishing libraries through the Excalidraw editor. Source excerpts are partial, so details of individual install and publish interactions are not mapped.
Main entry points: script.js Catalog interface · index.html Catalog page · libraries Library files · libraries.json Library metadata
Components 8
Library catalog
- Catalog interface
script.js - Catalog page
index.html
Library content
- Library metadata
libraries.json - Download statistics
stats.json - Library files
libraries
Site serving
- Static file server
index.js
Other components
- Visitor
- Excalidraw editor
Connections 8
- Visitor → Catalog page: browses
README.md - Catalog page → Catalog interface: loads
- Catalog interface → Library metadata: fetches
script.js - Catalog interface → Download statistics: fetches
script.js - Catalog interface → Library files: links previews
script.js - Visitor → Excalidraw editor: creates libraries
README.md - Excalidraw editor → Library files: publishes library
README.md - Visitor → Excalidraw editor: installs library
README.md