explaingit

dayuanjiang/next-ai-draw-io

📈 Trending28,583TypeScriptAudience · developerComplexity · 3/5ActiveLicenseSetup · easy

TLDR

Web app that generates draw.io diagrams from plain English descriptions using AI, with support for multiple AI providers and local browser storage of API keys.

Mindmap

mindmap
  root((repo))
    What it does
      AI diagram generation
      Text to flowchart
      Image to diagram
    Features
      Version history
      Multiple AI providers
      Local API key storage
    Deployment
      Web demo
      Desktop app
      Docker self-hosted
    Tech stack
      Next.js
      React
      TypeScript
    Use cases
      System architecture
      Workflow visualization
      Quick prototyping

Things people build with this

USE CASE 1

Generate architecture diagrams for system design by describing the components and connections in plain English.

USE CASE 2

Convert existing images or PDFs into editable draw.io diagrams using AI extraction.

USE CASE 3

Create flowcharts and authentication flows without manually dragging shapes, saving time during planning.

USE CASE 4

Integrate diagram generation into AI coding assistants via the MCP server protocol.

Tech stack

TypeScriptNext.jsReact

Getting it running

Difficulty · easy Time to first run · 5min
Use freely for any purpose including commercial. Keep the notice and disclose changes to the patent grant.

In plain English

Next AI Draw.io is a web application that lets you create and edit draw.io diagrams, flowcharts, architecture diagrams, and other visual charts, by typing instructions in plain English instead of clicking and dragging shapes manually. You describe what you want, and an AI language model generates or modifies the diagram for you. For example, you could type "Generate a RAG architecture diagram for a chat application" or "Draw an authentication flow using serverless architecture" and the app produces a draw.io diagram from that description. You can also upload an existing image or PDF and ask the AI to replicate or extract a diagram from it. Changes are tracked with version history so you can undo or review previous states of a diagram. The app supports multiple AI providers, you bring your own API key from providers including OpenAI, Gemini, and Claude, and your key is stored locally in your browser and never sent to the server. A live demo is available online with no installation needed. For local use, the app can be run as a desktop application on Windows, macOS, and Linux, self-hosted via Docker, or deployed to cloud platforms. It also exposes an MCP server (a protocol for connecting AI tools) so that AI coding assistants like Claude Desktop can generate diagrams directly. The project is built with Next.js (a web framework for building sites and apps) and React, written in TypeScript. It is useful for anyone who needs to quickly visualize systems, workflows, or architectures without learning a diagramming tool, especially developers, architects, and project managers. The full README is longer than what was provided.

Copy-paste prompts

Prompt 1
Generate a RAG architecture diagram for a chat application using Next AI Draw.io
Prompt 2
Draw an authentication flow using serverless architecture and convert it to a draw.io diagram
Prompt 3
Upload this system design image and ask the AI to extract and recreate it as an editable diagram
Prompt 4
Create a microservices deployment diagram showing how services communicate with each other
Prompt 5
Generate a database schema diagram with relationships between tables from a text description
Open on GitHub → Explain another repo

Generated 2026-05-21 · Model: sonnet-4-6 · Verify against the repo before relying on details.