smart-draw  by liujuntao123

AI-driven diagram generation

Created 2 months ago
338 stars

Top 81.6% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

Smart Draw simplifies diagram creation by translating natural language prompts into professional, visually appealing diagrams. It targets developers, designers, and technical writers needing efficient visualization of concepts, architectures, or workflows, significantly reducing effort for high-quality visual outputs.

How It Works

This project uses advanced LLMs to interpret user descriptions and generate structured diagram data. It supports two rendering engines: Draw.io for precise, professional diagrams and Excalidraw for creative, hand-drawn styles. This dual-engine approach, AI's auto-selection of chart types, and full editability ensure a seamless workflow from AI generation to manual refinement.

Quick Start & Requirements

An online version is available at https://smart-draw.aizhi.site/. For local deployment, clone (https://github.com/liujuntao123/smart-excalidraw-next.git), install via pnpm install, and run pnpm dev (access at http://localhost:3000). Docker deployment is supported (docker run -d -p 3010:3000 ghcr.io/liujuntao123/smart-draw:latest). A prerequisite is an AI API key (OpenAI/Anthropic), with claude-sonnet-4.5 recommended. An optional "Access Password" feature allows administrators to provide server-side LLM access, simplifying setup and enabling cost management.

Highlighted Details

  • AI-Powered Generation: Creates diagrams automatically from natural language prompts.
  • Dual Rendering Engines: Supports Draw.io (structured) and Excalidraw (creative).
  • Extensive Chart Support: Generates over 20 diagram types (flowcharts, architecture, ER, mind maps, etc.).
  • Full Editability: Diagrams are generated in native Draw.io/Excalidraw formats for post-generation customization.

Maintenance & Community

Maintained by liujuntao123. Community channels (Discord/Slack) are not listed; author contact via WeChat. Project encourages support via GitHub Stars and sponsorship.

Licensing & Compatibility

Released under the PolyForm Noncommercial License 1.0.0. Strictly prohibits commercial use (selling, paid services, SaaS) without prior written authorization.

Limitations & Caveats

The primary limitation is the non-commercial use restriction under the PolyForm Noncommercial License, significantly impacting suitability for business applications without explicit author permission.

Health Check
Last Commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
2
Issues (30d)
5
Star History
155 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.