Deploy Next AI Draw.io
Create and edit draw.io diagrams by chatting with an AI model
Next AI Draw.io
Just deployed
Deploy and Host Next AI Draw.io on Railway
Next AI Draw.io is a Next.js app that combines the draw.io editor with an AI chat: describe a diagram (architecture, flowchart, sequence) and the model draws and edits it for you.
About Hosting Next AI Draw.io
This template runs the official ghcr.io/dayuanjiang/next-ai-draw-io:latest image with no server-side AI key, so it costs you nothing to host. On first visit open Settings in the chat panel, choose a provider (OpenAI, Anthropic, Google, OpenRouter and many more) and paste your own API key; it stays in your browser. To serve a key from the server instead, add AI_PROVIDER, AI_MODEL and the provider's key variable (see env.example in the repo) and also set ACCESS_CODE_LIST so strangers cannot spend it.
Common Use Cases
- Draw cloud architecture diagrams from a text description
- Turn notes into flowcharts and sequence diagrams
- Edit existing draw.io diagrams with natural language
Dependencies for Next AI Draw.io Hosting
- One stateless service; an API key from any supported AI provider
Deployment Dependencies
Why Deploy Next AI Draw.io on Railway?
Railway gives you a public HTTPS URL and automatic restarts with no server to maintain. Open the URL, add your key in Settings and start drawing.
Template Content
Next AI Draw.io
ghcr.io/dayuanjiang/next-ai-draw-io:latest
