AI-powered IDE for generating and previewing web applications
A modern desktop application built with Tauri + React + TypeScript, featuring chat-based code generation with multiple AI backends.
- 🤖 Multiple AI Backends - Support for Claude Code, Gemini, Codex, and Kiro
- 💬 Chat-based Code Generation - Natural language to code conversion
- 🖥️ Live Preview - Real-time preview of generated web applications
- 📁 File Explorer - Browse and edit project files
- 🔧 Integrated Terminal - Full PTY terminal with xterm.js
- 🎨 Dark Theme IDE - Modern dark-themed interface
- 📱 Responsive Preview - Toggle between mobile and desktop viewports
- 🔌 MCP Server Support - Configure Model Context Protocol servers (stdio & HTTP)
- 📦 Git Integration - Built-in Git support for version control
- 🔄 Switch AI Agent - Easily switch between different AI agents
- 📋 Task Panel - Track and manage coding tasks
voltcode/
├── App.tsx # Main application orchestrator
├── components/
│ ├── ChatPanel.tsx # Chat interface with AI
│ ├── WorkspacePanel.tsx # Preview/Code/Terminal tabs
│ ├── Sidebar.tsx # Tool selector
│ ├── XTerminal.tsx # Terminal component (xterm.js)
│ ├── ProjectSelector.tsx # Project folder selection
│ └── ConfigPanel.tsx # Settings modal
├── services/
│ ├── gemini.ts # Gemini AI integration
│ ├── cliRouter.ts # CLI routing for AI tools
│ ├── sidecar.ts # Sidecar process management
│ └── slashCommands.ts # Slash command parser
├── src-tauri/
│ ├── src/lib.rs # Rust backend (PTY, process management)
│ └── tauri.conf.json # Tauri configuration
└── Resources/
├── bundled-node/ # Bundled Node.js runtime
├── bundled-agents/ # AI agent configurations
└── codex-acp/ # Codex CLI integration
- Node.js >= 18.0
- pnpm (recommended) or npm
- Rust >= 1.70 (for Tauri)
-
Clone the repository
git clone https://github.com/stevensu1977/voltcode.git cd voltcode -
Install dependencies
pnpm install
-
Configure API Keys
Copy the example environment file and add your API key:
cp .env.local.example .env.local
Edit
.env.localand set your Gemini API key:GEMINI_API_KEY=your_api_key_here -
Run in development mode
pnpm run tauri:dev
-
Build for production
pnpm run tauri:build
To use Claude Code with Amazon Bedrock, set the following environment variables:
# Set Claude to use Amazon Bedrock
export CLAUDE_CODE_USE_BEDROCK=1
# Configure AWS region
export AWS_REGION=us-west-2
# Optional: Specify Bedrock model (defaults to Claude Sonnet)
export ANTHROPIC_MODEL=us.anthropic.claude-sonnet-4-20250514-v1:0
# Ensure AWS credentials are configured
# Option 1: Use AWS CLI profile
export AWS_PROFILE=your-profile
# Option 2: Use access keys directly
export AWS_ACCESS_KEY_ID=your-access-key
export AWS_SECRET_ACCESS_KEY=your-secret-keyNote: Make sure you have enabled Claude models in your AWS Bedrock console and have the necessary IAM permissions.
| Layer | Technology |
|---|---|
| Desktop Framework | Tauri 2.0 |
| Frontend | React 19 + TypeScript |
| Styling | Tailwind CSS |
| Build Tool | Vite |
| Terminal | xterm.js + portable-pty |
| AI Integration | Google Gemini, Claude Code |
| Command | Description |
|---|---|
pnpm dev |
Start Vite dev server only |
pnpm build |
Build frontend for production |
pnpm tauri:dev |
Run Tauri app in development |
pnpm tauri:build |
Build Tauri app for distribution |
VoltCode supports multiple AI backends:
- Claude Code - Anthropic's Claude with coding capabilities
- Gemini - Google's Gemini Pro with thinking budget
- Codex - OpenAI Codex integration
- Kiro - Custom AI agent
Switch between tools using the sidebar icons.
MIT License - see LICENSE for details.
Contributions are welcome! Please feel free to submit a Pull Request.






