An AI-powered Electron desktop application that generates and executes interactive web components using Claude (Anthropic's AI).
- AI Code Generation - Generate complete UI components from natural language prompts
- Secure Execution - Sandboxed code execution with resource limits
- Smart Caching - Similarity-based caching for faster responses
- Dynamic Database - AI-powered SQLite database creation and management
- Data Visualization - Built-in charts, graphs, and data analysis tools
- TypeScript Support - Full TypeScript definitions and compilation
- Production Ready - Comprehensive logging, monitoring, and error recovery
# Install dependencies
npm install
# Start the application
npm start
# Run in development mode
npm run dev- Node.js 14.0.0 or higher
- npm 6.0.0 or higher
- Anthropic API key (Get one here)
- Launch the application with
npm start - Enter your Anthropic API key
- Describe what you want to build in natural language
- Review and execute the generated code
- "Create a todo list with add/remove functionality"
- "Build a calculator with modern UI"
- "Make an interactive dashboard with charts"
| Command | Description |
|---|---|
npm start |
Start the application |
npm run dev |
Development mode with DevTools |
npm run build |
Build for production |
npm test |
Run test suite |
npm run test:coverage |
Run tests with coverage |
npm run type-check |
TypeScript type checking |
Detailed documentation is available in the /docs directory:
src/
├── main.js # Main Electron process
├── preload.js # Secure IPC bridge
├── config/ # Configuration files
├── handlers/ # IPC handlers
├── modules/ # Feature modules
├── renderer/ # UI components
├── types/ # TypeScript definitions
└── utils/ # Core utilities
This application implements comprehensive security measures:
- Sandboxed code execution
- Input validation and sanitization
- Content Security Policy enforcement
- Secure API key storage
- XSS and SQL injection prevention
See SECURITY.md for details.
Please read CONTRIBUTING.md for contribution guidelines.
MIT License - see LICENSE for details.