项目
在 GitHub 查看
mallahyari/system-design-visualizer
关于
利用 AI 将静态系统设计图转换为可交互、可探索的可视化内容。
设计与媒体可以做什么
- AI-Powered Analysis: Upload any system design image (architecture diagrams, flowcharts, etc.).
- Mermaid Generation: Automatically converts images into editable Mermaid.js diagrams.
- Interactive Visualization: Converts Mermaid diagrams into interactive React Flow graphs.
- Deep Dive: Click on any component (Load Balancer, Database, etc.) to see inferred details like technology stack and role.
实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- +2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文System Design Visualizer
An interactive tool that transforms static system design diagrams into explorable, interactive visualizations using AI.
📸 Screenshots
Original Image and Mermaid Diagram side-by-side
Interactive React Flow Graph
🚀 Features
- AI-Powered Analysis: Upload any system design image (architecture diagrams, flowcharts, etc.).
- Mermaid Generation: Automatically converts images into editable Mermaid.js diagrams.
- Interactive Visualization: Converts Mermaid diagrams into interactive React Flow graphs.
- Deep Dive: Click on any component (Load Balancer, Database, etc.) to see inferred details like technology stack and role.
- Premium UI: A modern, dark-themed dashboard with zoom, pan, and copy controls.
🛠️ Tech Stack
- Frontend: React, Vite, Tailwind CSS
- Visualization: React Flow, Mermaid.js
- AI: OpenAI GPT-4o (Vision & Code Generation)
- Icons: Lucide React
🏃♂️ Running Locally
Prerequisites
- Node.js (v18 or higher)
- An OpenAI API Key (for AI analysis features)
Installation
Clone the repository
git clone https://github.com/mallahyari/system-design-visualizer.git cd system-design-visualizerInstall dependencies
npm installConfigure Environment Create a
.envfile in the root directory:touch .envAdd your OpenAI API key:
VITE_OPENAI_API_KEY=your_sk_key_hereNote: If no API key is provided, the app will run in Mock Mode, generating sample data for testing.
Start the Development Server
npm run devOpen in Browser Navigate to
http://localhost:5173to see the app in action.
📸 Workflow
- Upload: Drag & drop your system design image.
- Review: See the generated Mermaid diagram code and preview. Use the toolbar to zoom or copy the code.
- Convert: Click "Convert to Interactive" to generate the node-based graph.
- Explore: Interact with the graph nodes to learn more about your system's architecture.
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
📄 License
This project is licensed under the MIT License.
探索相关项目
加载中…