Excalidraw
A hand-drawn whiteboard for single-user diagrams, local scene files and PNG/SVG export.

Excalidraw + Wasmer
Host Excalidraw, the hand-drawn whiteboard, as a single-user static app on Wasmer Edge. Drawing, local scene files, browser autosave, and PNG/SVG export need no account, database, API key, or persistent server storage.
Demo
Deploy this example and open its root URL. Draw on the canvas, save an .excalidraw scene, or export an image using the upstream menu. Browser autosave belongs to that browser and origin; save a local file before clearing site data or changing domains.
How it Works
UPSTREAM.jsonpins the upstream 0.18.0 source snapshot to commit701b901and a verified SHA-256 archive checksum. Node.js 24+, npm,tar, and build-time GitHub/npm registry access are required.- The recipe extracts fresh verified source, uses pinned Yarn 1.22.22 with the upstream frozen lockfile and install scripts disabled, then runs the upstream Vite build. It rejects non-registry dependency URLs; hosted builder restrictions stay enabled.
- The original upstream app and
packages/excalidrawcomponents supply every visible control and style. Asserted build-time changes disable collaboration through the existingisCollabDisabledguard, set the supportedaiEnabledoption to false, remove the AI plugin/trigger, and unset backend/Excalidraw+ export callbacks. Missing patch anchors fail the build. - Collaboration, public sharing links, Firebase, and AI backends are not configured. Their endpoints are blanked, tracking and Sentry are disabled, and the upstream analytics script is omitted. Local file import/export remains available. Upstream links to Excalidraw+, social pages, and the optional external library catalog remain links to those services.
- The font loader uses the same upstream font files from this deployment, including four Assistant UI fonts copied to their expected URLs (the upstream plugin normally expects its CDN); content-based URL revisions also recover previously cached missing-font responses. No custom controls, CSS, typography, or branding are introduced. Upstream MIT and font/dependency license notices ship under
LICENSEandnotices/. - The final static folder is
site/. Anybuild uses Node.js 24 to build it and Wasmer's static web server to serve it; no Node process runs in production.
Running Locally
npm ci --ignore-scripts
npm run build
python3 -m http.server 18125 --bind 127.0.0.1 --directory site
Open the editor. In another terminal, verify the packaged assets and notices:
npm run check -- http://127.0.0.1:18125
Deploying to Wasmer
Install Anybuild and the Wasmer CLI, then run wasmer login.
anybuild build . --wasmer
anybuild deploy .
For a GitHub import, select js-excalidraw as the application root. Keep the example's Anybuild file and the repository-root Anybuild.js-excalidraw loader for Anybuild 0.26.4 monorepo builds. From the repository root, check it with:
anybuild plan . --subdir js-excalidraw --wasmer
License and Upstream
Excalidraw is copyright 2020 Excalidraw, under the MIT license. This template recipe uses the same license. The source archive stays pinned rather than vendored, and installed dependency/font notices are copied into the output. The upstream app, its toolbar, menus, export dialog, and packages/excalidraw/css are the canonical design references; rendered review must use this exact build.
Template source and license: source recipe · MIT license.