recoder-code
Version:
Complete AI-powered development platform with ML model training, plugin registry, real-time collaboration, monitoring, infrastructure automation, and enterprise deployment capabilities
368 lines (282 loc) • 11.9 kB
Markdown
# 🚀 Recoder-Code - The AI Development Platform That Grows With You
[](https://opensource.org/licenses/MIT)
[](https://nodejs.org/)
[](https://openrouter.ai/)
[](https://docker.com/)
**The only AI development platform that starts simple and scales to enterprise. From 30-second setup to full collaborative development platform.**
## ✨ What Makes Recoder-Code Different?
### 🎯 **Grows With You**
- **Lite Mode**: Start with simple AI chat in 30 seconds
- **Progressive Discovery**: Learn advanced features naturally
- **Smart Defaults**: Auto-configures based on your environment
- **Full Platform**: Scale to collaboration, ML training, and plugins
### 🤖 **32+ AI Models Included**
- **Free Models**: DeepSeek, Qwen, Google Gemma - no subscription needed!
- **Premium Options**: Claude Sonnet 4, GPT-4, and more when you need them
- **Smart Selection**: Automatically picks the best model for each task
- **Cost Optimization**: Prioritizes free models without sacrificing quality
### 🏗️ **Complete Development Platform**
- **Real-time Collaboration**: Share projects with your team
- **ML Model Training**: Train and merge custom models
- **Plugin Marketplace**: Extend functionality with community plugins
- **Docker Integration**: Seamless container management
- **Project Management**: Built-in session tracking and documentation
## 🚀 Quick Start
### Get Up and Running in 30 Seconds
```bash
# Install globally
npm install -g recoder-code
# Quick setup (first time only)
recoder-code --setup
# Start chatting with AI
recoder-code "Hello! Create a simple calculator app"
```
**That's it!** No complex configuration, no API juggling, no subscription required.
### All Available Commands
```bash
# 💬 AI CHAT & CODE GENERATION
recoder-code "Build me a todo app" # Natural language development
recoder-code --stream "Help me debug" # Streaming responses
recoder-code --model claude-3.5 "..." # Choose specific model
# 🤝 COLLABORATION & WORKSPACES
recoder-code workspace create "My Project" # Create team workspace
recoder-code workspace share "My Project" # Share for collaboration
recoder-code collab create "Team Session" # Start collaboration session
recoder-code collab join session-123 # Join shared session
# 🐙 GITHUB INTEGRATION
recoder-code github list # List open issues
recoder-code github pr "Fix bug" # Create pull request
recoder-code github clone <repo-url> # Clone repository
recoder-code github info owner/repo # Get repository info
# 🤖 ML TRAINING & MODEL MANAGEMENT
recoder-code train create "My Model" # Create training session
recoder-code train start session-123 # Start model training
recoder-code train status # Check training status
# 🔌 PLUGIN SYSTEM
recoder-code plugins search "formatter" # Search for plugins
recoder-code plugins install <name> # Install plugin
recoder-code plugins registry start # Start plugin registry
# 🏗️ INFRASTRUCTURE & DEPLOYMENT
recoder-code monitor setup # Set up Prometheus monitoring
recoder-code infra plan # Plan Terraform deployment
recoder-code k8s deploy # Deploy to Kubernetes
recoder-code services start # Start Docker services
# 📜 SCRIPTS & AUTOMATION
recoder-code scripts list # List available scripts
recoder-code scripts run setup # Run automation script
# 🛠️ SYSTEM & CONFIGURATION
recoder-code --help # Show help system
recoder-code --setup # Interactive setup wizard
recoder-code --info # Show system information
### First Time Here? Try These Commands
```bash
# Simple AI chat
recoder-code "Hello world"
# Build a complete project
recoder-code "Create a React todo app with TypeScript"
# Get help and see what's possible
recoder-code --help
# Check your progress and unlock features
recoder-code --progress
```
## 📖 Feature Comparison
| Feature | Lite Mode | Full Platform | Claude Code |
|---------|-----------|---------------|-------------|
| **Setup Time** | 30 seconds | 5 minutes | 30 seconds |
| **AI Models** | 32+ models | 32+ models | Anthropic only |
| **Cost** | Free models available | Free + premium | $20/month |
| **File Operations** | ✅ Full support | ✅ Full support | ✅ Full support |
| **Project Building** | ✅ Complete projects | ✅ Complete projects | ✅ Complete projects |
| **Collaboration** | ❌ Single user | ✅ Real-time teams | ❌ Single user |
| **ML Training** | ❌ Not available | ✅ Custom models | ❌ Not available |
| **Plugin System** | ❌ Not available | ✅ Marketplace | ❌ Not available |
| **Docker Management** | ❌ Manual only | ✅ Auto-managed | ❌ Not available |
## 🎯 Advanced Features
### 🔧 When You're Ready for More
```bash
# Enable full platform (Docker required)
recoder-code --enable-services
# Start real-time collaboration
recoder-code collab create "My Project"
# Train custom models
recoder-code train merge config.json
# Install community plugins
recoder-code plugins search "linter"
# Manage Docker services
recoder-code services status
```
### 💡 Progressive Feature Discovery
Recoder-Code automatically suggests new features as you become ready:
- **After 3 file operations**: Suggests streaming for faster responses
- **After building projects**: Suggests collaboration features
- **When exploring models**: Shows ML training capabilities
- **Based on usage patterns**: Personalized feature recommendations
## 🛠️ Installation & Setup Options
### Option 1: NPM Global Install (Recommended)
```bash
npm install -g recoder-code
recoder-code --setup
```
### Option 2: From Source
```bash
git clone https://github.com/caelum0x/recoder-code.git
cd recoder-code
npm install
npm link
recoder-code --setup
```
### Option 3: Docker (Services Included)
```bash
git clone https://github.com/caelum0x/recoder-code.git
cd recoder-code
docker-compose up -d
npm install -g .
recoder-code --setup
```
## 📋 Commands Reference
### Basic Commands
```bash
recoder-code # Interactive chat mode
recoder-code "your prompt" # One-shot command
recoder-code --help # Context-aware help
recoder-code --setup # First-time setup
recoder-code --progress # Check your progress level
```
### Model & Performance
```bash
recoder-code --models # List all available models
recoder-code --stream "prompt" # Streaming responses (faster)
recoder-code --fast "prompt" # Optimize for speed
recoder-code --cheap "prompt" # Optimize for cost
```
### Project Management
```bash
recoder-code --init [name] # Initialize project
recoder-code --status # Project status
recoder-code --sessions # List saved sessions
recoder-code --resume <id> # Resume session
```
### Services & Collaboration
```bash
recoder-code services status # Check service health
recoder-code services start # Start all services
recoder-code --enable-services # Enable full platform
recoder-code collab create "name" # Start collaboration
```
## 🔧 Configuration
### Smart Auto-Configuration
Recoder-Code automatically detects:
- **User Type**: Newcomer, Developer, Full-stack, Python dev, etc.
- **Environment**: Docker availability, Git setup, VS Code, etc.
- **Capabilities**: Memory, cores, available tools
- **Project Context**: Framework, language, existing configs
### Manual Configuration (Optional)
```bash
# View current configuration
recoder-code config show
# Set specific values
recoder-code config set services.ml.enabled true
recoder-code config set cli.theme dark
# Edit configuration file
recoder-code config edit
```
Configuration is stored in `~/.recoder-code/config.json`
## 🐳 Docker Services (Optional)
### Automatic Service Management
```bash
# Generate Docker Compose file
recoder-code services compose
# Smart start (only what you need)
recoder-code services smart-start collaboration
# Full platform
recoder-code services start
# Check health
recoder-code services health
```
### Services Architecture
- **ML Training Service** (Port 8000): Custom model training and merging
- **Collaboration Service** (Port 3003): Real-time collaborative editing
- **Plugin Registry** (Port 3000): Plugin discovery and management
- **Redis** (Port 6379): Session and cache management
- **PostgreSQL** (Port 5432): User data and project storage
## 🔐 Security & Privacy
### API Key Management
- Keys stored securely in `~/.recoder-code/.env`
- Never logged or transmitted except to chosen AI providers
- Support for multiple provider keys
- Easy key rotation and management
### Data Privacy
- **Lite Mode**: No data leaves your machine except AI API calls
- **Full Platform**: Data stored locally by default
- **Collaboration**: Optional encrypted sharing
- **ML Training**: Models trained on your local hardware
### Security Features
- Dependency vulnerability scanning
- Code security analysis with AI models
- Safe execution environments
- No telemetry unless explicitly enabled
## 🤝 Community & Support
### Getting Help
```bash
recoder-code help <command> # Command-specific help
recoder-code --help --advanced # Full platform help
recoder-code --info # System information
```
### Community
- **Website**: [recoder.xyz](https://recoder.xyz)
- **NPM Package**: [npmjs.com/package/recoder-code](https://www.npmjs.com/package/recoder-code)
- **GitHub**: [caelum0x/recoder-code](https://github.com/caelum0x/recoder-code) (Private Repository)
- **Issues**: Report bugs and request features
- **Discussions**: Share workflows and tips
- **Plugin Development**: Extend the platform
### Contributing
We welcome contributions! Areas where help is most needed:
- New AI model integrations
- Plugin development
- Documentation improvements
- Platform testing on different environments
## 📊 Performance & Benchmarks
### Startup Performance
- **Lite Mode**: ~0.12s to first response
- **Full Platform**: ~2s with all services
- **Memory Usage**: 50MB (lite) to 500MB (full platform)
- **Model Switching**: Sub-second model changes
### Model Performance
- **Free Models**: DeepSeek R1 - competitive with GPT-4
- **Speed Optimization**: Automatic throughput prioritization
- **Cost Efficiency**: Free models handle 80% of tasks effectively
- **Quality**: Intelligent model selection maintains output quality
## 🗺️ Roadmap
### Current (v2.0)
- ✅ Lite mode with 30-second setup
- ✅ Progressive feature discovery
- ✅ Auto-service management
- ✅ 32+ AI models with smart selection
- ✅ Docker integration
### Next Release (v2.1)
- 🔄 VS Code extension
- 🔄 Web UI for collaboration
- 🔄 Plugin marketplace launch
- 🔄 Advanced ML training workflows
- 🔄 Enterprise SSO integration
### Future (v3.0)
- 🔮 Multi-language support
- 🔮 AI-powered DevOps automation
- 🔮 Custom model fine-tuning
- 🔮 Advanced analytics and insights
## 📄 License
MIT License - see [LICENSE.md](LICENSE.md) for details.
## 🙏 Acknowledgments
- **OpenRouter**: For providing access to multiple AI models
- **Anthropic**: For Claude models and inspiration from Claude Code
- **Docker**: For containerization technology
- **Node.js Community**: For the excellent ecosystem
- **Contributors**: Everyone who has helped improve the platform
**Ready to transform your development workflow?**
```bash
npm install -g recoder-code
recoder-code --setup
recoder-code "Build me something amazing!"
```
*The AI development platform that grows with you.* 🚀