A modern, AI-powered web IDE for microcontrollers (ESP32, ESP8266). Describe your circuit behavior, and let the AI generate, compile, and fix your code automatically.
- AI Auto-Pilot: High-level prompt-to-code generation with automatic error correction.
- Real-time Compilation: Dockerized build workers for ESP32 and ESP8266.
- Sleek Modern UI: Glassmorphism design with an interactive, responsive interface.
- Cloud Save: Save and load your projects (requires authentication).
- Live Logs: Real-time terminal output during AI processing and compilation.
- Frontend: Next.js, Tailwind CSS, Monaco Editor, Lucide Icons.
- Backend: Fastify (Node.js), WebSockets, Prisma (SQLite).
- AI: OpenAI GPT-4o.
- DevOps: Docker, Localtunnel for public access.
- Node.js v18+
- Docker (for compilation)
- OpenAI API Key
-
Clone the repository:
git clone https://github.com/Robin-R-G/Embeded-Circuit-Designer-AI.git cd Embeded-Circuit-Designer-AI -
Setup Backend:
cd backend npm install cp .env.example .env # Add your OPENAI_API_KEY npx prisma migrate dev npm run dev
-
Setup Frontend:
cd ../frontend npm install npm run dev -
Setup Compilation Workers:
cd ../workers docker build -t esp32-compiler -f Dockerfile.esp32 .
To share your project publicly, use Localtunnel:
npx localtunnel --port 3000 # Frontend
npx localtunnel --port 3001 # BackendMIT