Discover MCPs & agents
Loading MCPs and agentsβ¦
Loading MCPs and agentsβ¦
π Claude Code API | CLI to API Platform | Transform Claude CLI, Gemini CLI, Cursor CLI into REST APIs | One-Click Deploy | Web Terminal
Jump to setup instructionsGitHub checked 752h ago - refresh overdue
One line: let AI run the commands for you. No terminal skills needed; power users go faster.
AI Terminal is the world's first open-source web-based terminal platform that seamlessly integrates multiple AI assistants (Claude AI + Gemini AI) with a production-ready terminal interface. Transform your development workflow with intelligent code assistance, real-time collaboration, and enterprise-grade AI tools - all accessible through your browser.
π― Perfect for: Developers, Researchers, DevOps Teams, AI Enthusiasts, Educational Institutions, and Enterprise Development Teams
π World's First AI-Integrated Web Terminal - Breakthrough innovation in developer tools
π€ Dual AI Engine - Claude AI + Gemini AI working together
π Zero Installation - Runs entirely in your browser
π³ One-Click Deploy - Docker-ready for instant setup
π§ Production Ready - Enterprise-grade architecture
π± Cross-Platform - Desktop, tablet, and mobile support
# Deploy with environment variables
docker run -d -p 6000:6000 \
-e ANTHROPIC_AUTH_TOKEN="your_claude_token" \
-e ANTHROPIC_BASE_URL="your_claude_api_url" \
coopotfan/ai-terminal:latest
# Open browser and visit: http://localhost:6000
# Deploy instantly - no configuration needed
docker run -d -p 6000:6000 coopotfan/ai-terminal:production
# Open browser and visit: http://localhost:6000
# β
Pre-configured and ready to use!
# Basic deployment with environment variables
docker run -d \
--name ai-terminal \
-p 6000:6000 \
-e ANTHROPIC_AUTH_TOKEN="your_claude_token" \
-e ANTHROPIC_BASE_URL="your_claude_api_url" \
-e GEMINI_API_KEY="your_gemini_key" \
coopotfan/ai-terminal:latest
# Advanced deployment with persistence
docker run -d \
--name ai-terminal \
-p 6000:6000 \
-e ANTHROPIC_AUTH_TOKEN="your_claude_token" \
-e ANTHROPIC_BASE_URL="your_claude_api_url" \
-e GEMINI_API_KEY="your_gemini_key" \
-e NODE_ENV=production \
-v $(pwd)/data:/app/data \
-v $(pwd)/logs:/app/logs \
--restart unless-stopped \
coopotfan/ai-terminal:latest
# Ready-to-use deployment (no environment variables needed)
docker run -d \
--name ai-terminal \
-p 6000:6000 \
-v $(pwd)/data:/app/data \
-v $(pwd)/logs:/app/logs \
--restart unless-stopped \
coopotfan/ai-terminal:production
version: '3.8'
services:
ai-terminal:
image: coopotfan/ai-terminal:latest
container_name: ai-terminal
ports:
- "6000:6000"
environment:
- NODE_ENV=production
- ANTHROPIC_AUTH_TOKEN=${ANTHROPIC_AUTH_TOKEN}
- GEMINI_API_KEY=${GEMINI_API_KEY}
- MAX_TERMINAL_SESSIONS=20
- TERMINAL_TIMEOUT=1800000
volumes:
- ./data:/app/data
- ./logs:/app/logs
restart: unless-stopped
# Clone repository
git clone https://github.com/aixier/AI_Terminal.git
cd AI_Terminal
# Install dependencies
npm install
# Set environment variables
cp .env.example .env
# Edit .env with your AI API tokens
# Start backend dev server
cd terminal-backend
npm install
npm run dev
# Start frontend dev server (new terminal)
cd terminal-ui
npm install
npm run dev
# Visit http://localhost:5173
# AI Service Configuration
ANTHROPIC_AUTH_TOKEN=your_claude_api_token
ANTHROPIC_BASE_URL=https://api.anthropic.com
GEMINI_API_KEY=your_google_gemini_key
# Server Configuration
PORT=6000
NODE_ENV=production
HOST=0.0.0.0
# Security Configuration
JWT_SECRET=your_secure_jwt_secret
JWT_EXPIRE_TIME=24h
CORS_ORIGINS=*
# Terminal Configuration
MAX_TERMINAL_SESSIONS=10
TERMINAL_TIMEOUT=600000
ENABLE_TERMINAL_LOGGING=true
# Performance Configuration
MEMORY_LIMIT=512m
CPU_LIMIT=1.0
WORKER_PROCESSES=1
# Database Configuration (Optional)
DATABASE_URL=postgresql://user:pass@host:5432/db
# Redis Configuration (Optional)
REDIS_URL=redis://localhost:6379
# Monitoring Configuration
ENABLE_METRICS=true
METRICS_PORT=9090
LOG_LEVEL=info
# 1. Open AI Terminal in browser
# 2. Click π€ to initialize Claude AI
# 3. Start coding with AI assistance
# Example commands:
claude "explain this error message"
claude "optimize this code for performance"
claude "generate unit tests for this function"
# 1. Navigate to "Generate Card" tab
# 2. Enter topic: "Machine Learning Fundamentals"
# 3. Select template style
# 4. Generate and export
# Supported formats:
- HTML with embedded CSS
- JSON structured data
- Shareable public links
- PDF export (coming soon)
// REST API usage
const response = await fetch('/api/terminal/execute', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
command: 'npm install express',
stream: true
})
});
// WebSocket streaming
const ws = new WebSocket('ws://localhost:6000/terminal');
ws.onmessage = (event) => {
console.log('Terminal output:', event.data);
};
βββββββββββββββββββ¬ββββββββββββββββββ¬ββββββββββββββββββ¬ββββββββββββββββββ
β Frontend β Backend β AI Services β Infrastructureβ
β (Vue 3) β (Node.js) β (Claude/Gemini)β (Docker) β
βββββββββββββββββββΌββββββββββββββββββΌββββββββββββββββββΌββββββββββββββββββ€
β β’ Vue 3 + Vite β β’ Express.js β β’ Claude API β β’ Docker Multi- β
β β’ Custom Engine β β’ Socket.IO β β’ Gemini API β stage Build β
β β’ Iframe Embed β β’ node-pty β β’ OpenAI (soon) β β’ Health Checks β
β β’ WebSocket β β’ JWT Auth β β’ Streaming β β’ Auto Scaling β
β β’ Mobile First β β’ CORS Security β β’ Context Mgmt β β’ Load Balancer β
β β’ PWA Ready β β’ Rate Limiting β β’ Error Recoveryβ β’ SSL/TLS β
βββββββββββββββββββ΄ββββββββββββββββββ΄ββββββββββββββββββ΄ββββββββββββββββββ
We welcome contributions from developers worldwide! This project thrives on community collaboration.
git checkout -b feature/amazing-featuregit commit -m 'Add amazing feature'git push origin feature/amazing-feature# Problem: Claude initialization fails
# Solution: Check API token and network connectivity
docker logs ai-terminal 2>&1 | grep -i "claude"
# Problem: Gemini not responding
# Solution: Verify Gemini API key and quota
curl -H "Authorization: Bearer $GEMINI_API_KEY" https://api.gemini.com/health
# Problem: WebSocket connection fails
# Solution: Check firewall and proxy settings
# Enable debug logging
docker run -e LOG_LEVEL=debug coopotfan/ai-terminal:latest
# Problem: Slow response times
# Solution: Increase container resources
docker run --memory=1g --cpus=2 coopotfan/ai-terminal:latest
This project is licensed under the MIT License - see the LICENSE file for details.
If you use AI Terminal in your project, we appreciate attribution:
Powered by AI Terminal - https://github.com/aixier/AI_Terminal
If AI Terminal has helped you or your team, consider supporting our development:
Interested in corporate sponsorship or custom development? Contact us at sponsor@ai-terminal.com
Made with β€οΈ by the global open source community
Keywords: ai-terminal, web-terminal, claude-ai, gemini-ai, browser-terminal, ai-powered-development, terminal-emulator, web-based-terminal, ai-assistant, developer-tools, open-source, docker-deployment, vue3-application, nodejs-backend, xterm-js, ai-integration, knowledge-cards, real-time-collaboration, enterprise-ai-tools
GitHub checked 160h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.