AI-Powered Code Generation Tool
Daji is an AI-powered desktop application that helps you create programs effortlessly. Simply describe what you want to build, and let AI generate the code for you. Run your programs in a secure, isolated sandbox environment without affecting your computer.
- Natural Language to Code: Just describe your needs, AI automatically generates code
- Interactive Refinement: Chat with AI to iterate and improve your program
- Smart Error Fixing: AI helps debug and fix errors automatically
- Multiple AI Providers: Support for OpenAI, DeepSeek, Alibaba Qwen, and more
- Safe Execution: Programs run in an isolated environment
- No System Impact: Protected from malicious code
- Real-time Logs: Monitor program output and errors
- Process Management: Easy start, stop, and restart controls
- Live Preview: See your code running in real-time
- Code & Preview Tabs: Switch between viewing code and execution results
- Drag & Drop: Freely reorder your program list
- Dark Mode: Modern UI with light/dark theme support
- Frontend: React 18 + TypeScript + Vite
- UI Framework: Radix UI + Tailwind CSS
- Desktop: Tauri 2.0
- State Management: Zustand
- Database: SQLite (via Tauri)
- Build Tool: Vite
- Node.js 18+
- Rust 1.70+
- pnpm (recommended)
- Clone the repository:
git clone <repository-url>
cd daji-app- Install dependencies:
pnpm install- Run in development mode:
pnpm dev:pcCreate a production build:
pnpm packThe built application will be available in src-tauri/target/release.
pnpm dev- Start Vite dev serverpnpm dev:pc- Start Tauri development modepnpm build- Build frontendpnpm pack- Build desktop applicationpnpm publish- Publish release
- Create: Click "New Program" and describe what you want to build
- Generate: AI understands your requirements and generates complete code
- Preview: See your program running in real-time in the preview pane
- Refine: Chat with AI to modify and improve your program
- Save: Save your program to the local database for future use
You can ask AI to create various programs, such as:
- "Create a Pomodoro timer" → AI generates a visual countdown application
- "Create a random password generator" → AI builds a password generation tool
- "Create a simple calculator" → AI creates an interactive calculator
- "Create a todo list" → AI develops a task management application
- "Create a color picker" → AI makes a color selection tool
This project is licensed under the MIT License. See the LICENSE file for details.
