MCPcopy Index your code
hub / github.com/codesandbox/excalidraw-firebase

github.com/codesandbox/excalidraw-firebase @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
971 symbols 2,497 edges 46 files 3 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

excalidraw-firebase

A persistent catalogue of your and/or company Excalidraws

screenshot

How to set up

  1. Create a Firebase Project on the Firebase Console
  2. Copy the Firebase config to the src/firebase.config.json file:
{
  "apiKey": "...",
  "authDomain": "...",
  "projectId": "...",
  "storageBucket": "...",
  "messagingSenderId": "...",
  "appId": "..."
}
  1. Add Google as Authentication -> Sign In Method, in Firebase Console
  2. Install the Firebase tools: yarn add -g firebase-tools and log in firebase login
  3. Change the firestore.rules file to reflect your personal email or your company Google domain
  4. (Optional) Go to Authentication -> Sign In Method and add a custom domain
  5. Deploy it with yarn deploy

Extension points exported contracts — how you extend this code

Authentication (Interface)
(no doc)
src/environment-interface/authentication.ts
Storage (Interface)
(no doc)
src/environment-interface/storage.ts
CopyImageToClipboard (Interface)
(no doc)
src/environment-interface/copyImageToClipboard.ts
Environment (Interface)
(no doc)
src/environment-interface/index.tsx
LoomVideo (Interface)
(no doc)
src/environment-interface/loom.ts

Core symbols most depended-on inside this repo

mapToBase
called by 61
.pnp.loader.mjs
mapToBase
called by 59
.pnp.cjs
makeCallback
called by 38
.pnp.loader.mjs
makeCallback
called by 38
.pnp.cjs
makeCallSync
called by 33
.pnp.cjs
makeCallPromise
called by 28
.pnp.cjs
resolve
called by 28
.pnp.cjs
makeLibzipError
called by 23
.pnp.cjs

Shape

Method 623
Function 290
Class 52
Interface 6

Languages

TypeScript100%

Modules by API surface

.pnp.cjs655 symbols
.pnp.loader.mjs237 symbols
src/environments/storage/browser.ts11 symbols
src/environment-interface/storage.ts8 symbols
src/utils.ts5 symbols
src/pages/useAuth.tsx4 symbols
src/pages/excalidraw/Excalidraw.tsx4 symbols
src/environments/loom/browser.ts4 symbols
src/environment-interface/loom.ts4 symbols
src/environment-interface/index.tsx4 symbols
src/pages/dashboard/index.tsx3 symbols
src/pages/dashboard/ExcalidrawPreview.tsx3 symbols

For agents

$ claude mcp add excalidraw-firebase \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact