Deploy Excalidraw
Self-hosted virtual whiteboard for diagrams and system design.
excalidraw-railway
Just deployed
Deploy and Host Excalidraw on Railway
Excalidraw is a virtual whiteboard with a hand-drawn look: architecture diagrams, wireframes, flowcharts and sequence sketches, drawn quickly and legibly. This template runs your own instance of the editor, so the tool lives on a URL you control instead of a third-party domain.
About Hosting Excalidraw
Excalidraw is a client-side application. The editor runs entirely in the browser, and by default your drawing is held in that browser's local storage — it is not uploaded anywhere, and the server here does nothing but serve the app.
That has two consequences worth understanding before you deploy.
Your drawings are not stored on the server. Clearing site data or switching machines loses them unless you export. Excalidraw exports to .excalidraw, SVG and PNG, and those files are the durable artefact. This is a feature if your reason for self-hosting is that diagrams should never leave the device; it is a surprise if you expected a shared document store.
Live collaboration needs a second service. The multiplayer rooms on excalidraw.com are powered by a separate WebSocket server, which this template does not deploy. Single-user drawing, export and import all work; real-time collaborative rooms do not.
Common Use Cases
- Sketch system architecture during design discussions and export the result into a doc or PR.
- Keep diagramming inside your own infrastructure where company policy forbids third-party web tools.
- Give a team a stable internal URL for the whiteboard instead of a public SaaS domain.
- Produce clean SVG diagrams for documentation without opening a heavyweight design tool.
- Draw wireframes quickly, in a style that visibly signals "this is a sketch, not a spec".
Dependencies for Excalidraw Hosting
- Nothing. No database, no volume, no external service. One container serving a static application.
- A modern browser. All the work happens there.
- A collaboration server, only if you want real-time multiplayer rooms — a separate deployment this template does not include.
Implementation Details
The service binds Railway's assigned PORT, which is what lets the public domain route to it. There is no server-side state at all, so this is one of the cheapest templates to keep running and one of the few where a redeploy genuinely costs you nothing.
After You Deploy
Open the public URL and start drawing. Then decide where exports should live — a repository, a docs folder, a shared drive — because that decision, not the deployment, is what stops diagrams going missing.
Scaling and Cost
The smallest instance is enough. Load does not grow with the number of people drawing, because each browser does its own rendering; the server only ever hands out the application bundle.
Why Deploy Excalidraw on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Excalidraw on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
excalidraw-railway
Amritasha/excalidraw-railway