A modern web-based Integrated Development Environment (IDE) integrated with Puter.com AI services. Build, chat, code, and generate media all in one place.
Run the application:
npm install
node server.js
# Then open http://localhost:3000 in your browserPuter AI IDE is a comprehensive front-end application that integrates all Puter.com AI features:
- 💬 AI Chat - Conversational AI assistance
- 🎨 Text to Image - Generate images from text prompts
- 👁️ Image to Text - Analyze and describe images
- 🔊 Text to Speech - Convert text to audio
- 🎤 Speech to Text - Voice recognition
- 🎙️ Speech to Speech - Transform speech using AI
- 🎬 Text to Video - Generate videos from text
- 📋 Model Management - Switch between multiple AI models
- 💾 Session Management - Save and load chat histories
- Real-time AI conversations with model switching
- Chat history persistence (localStorage)
- Multiple AI models: Puter Large, GPT-4, Claude 3 Opus, Gemini 1.5 Pro, DeepSeek V4 Pro
- Code completion and debugging assistance
- Text to Image: Generate images from textual descriptions
- Image to Text: Analyze images and get descriptions
- Text to Speech: Convert text to natural speech audio
- Speech to Text: Voice recognition and transcription
- Text to Video: Generate videos from textual descriptions
- Code editor with syntax highlighting
- File explorer sidebar
- Model selector dropdown
- Settings panel with theme customization
- Chat history management
- Export and import chat data
- Node.js installed (v16 or higher)
# Clone the repository
git clone https://github.com/tukaam/puter-cli.git
cd puter-cli
# Install dependencies
npm install
# Start the server
node server.js
# Open your browser to http://localhost:3000puter-cli/
├── index.html - Main HTML application
├── styles.css - UI styles following UX guidelines
├── main.js - Core JavaScript functionality
├── server.js - Express server (serves via HTTP)
├── package.json - npm dependencies
├── .gitignore - Git exclusions
└── putercli/ - Python backup (original CLI agent)
The application can work with or without an API key:
- With API key: Full access to all Puter.com features
- Without API key: Demo mode with limited features
To set your API key:
# Option 1: Edit localStorage in browser after first load
# Option 2: Set environment variable
PUTER_API_KEY="your-key" node server.jsThe application supports light/dark themes:
dark(default) - Easy on the eyes for extended uselight- Bright theme for daytime usesystem- Follows operating system preference
Choose from these AI models:
- puter-large - Puter's native model (no API key required)
- openai/gpt-4 - OpenAI's flagship model
- anthropic/claude-3-opus - Anthropic's Claude 3 Opus
- google/gemini-1.5-pro - Google's Gemini 1.5 Pro
- deepseek/deepseek-v4-pro - DeepSeek's V4 Pro model
- Click "Connect Puter" to authenticate
- Select your desired AI model from the dropdown
- Type your message in the input field
- Press Enter or click send
- Go to the "Text to Image" card
- Enter a descriptive prompt
- Click "Generate Image"
- View the generated result
- Speech to Text: Click the microphone button and speak
- Text to Speech: Enter text and click convert
- Speech to Speech: Record and transform your voice
- Update
main.jswith new functionality - Add UI elements to
index.html - Style with
chat-styles.css - Test by running
node server.js
npm start # Start the server
npm run dev # Development mode (same as start)The application is already optimized for the web. No build step required - just serve the files via the included Express server.
MIT License - feel free to use and modify for personal or commercial projects.
- GitHub Issues: Report bugs and feature requests
- Documentation: Check the inline help within the application
- Community: Join the Puter.com developer community
- Putter.com for AI services
- Express.js for the web server framework
- CodeMirror for the code editor component
- All contributors and testers
Built with ❤️ for the developer community. Visit puter.com for more AI services.