Skip to content
tukaamPublic

About

Free Puter CLI Coding Agent

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Puter AI IDE - AI-Powered Web Development Environment

A modern web-based Integrated Development Environment (IDE) integrated with Puter.com AI services. Build, chat, code, and generate media all in one place.

🚀 Live Demo

Run the application:

npm install
node server.js
# Then open http://localhost:3000 in your browser

📋 Overview

Puter 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

🛠️ Features

AI Chat Features

  • 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

Media Generation

  • 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

IDE Features

  • Code editor with syntax highlighting
  • File explorer sidebar
  • Model selector dropdown
  • Settings panel with theme customization
  • Chat history management
  • Export and import chat data

🚀 Quick Start

Prerequisites

  • Node.js installed (v16 or higher)

Installation

# 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:3000

📦 Project Structure

puter-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)

🔧 Configuration

API Key

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.js

Theme Customization

The application supports light/dark themes:

  • dark (default) - Easy on the eyes for extended use
  • light - Bright theme for daytime use
  • system - Follows operating system preference

Model Selection

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

📱 Usage

Starting a Chat

  1. Click "Connect Puter" to authenticate
  2. Select your desired AI model from the dropdown
  3. Type your message in the input field
  4. Press Enter or click send

Generating Images

  1. Go to the "Text to Image" card
  2. Enter a descriptive prompt
  3. Click "Generate Image"
  4. View the generated result

Voice Features

  • 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

🛠️ Development

Adding New Features

  1. Update main.js with new functionality
  2. Add UI elements to index.html
  3. Style with chat-styles.css
  4. Test by running node server.js

Available Scripts

npm start     # Start the server
npm run dev   # Development mode (same as start)

Build for Production

The application is already optimized for the web. No build step required - just serve the files via the included Express server.

📄 License

MIT License - feel free to use and modify for personal or commercial projects.

📞 Support

  • GitHub Issues: Report bugs and feature requests
  • Documentation: Check the inline help within the application
  • Community: Join the Puter.com developer community

🙏 Acknowledgements

  • 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.

About

Free Puter CLI Coding Agent

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages