Skip to content

Built 100% With CC. Browser light sandboxed self building IDE wrapper for Claude Code

License

Notifications You must be signed in to change notification settings

Instant-Unicorn/morphbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

402 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MorphBox

npm version Docker License Platform

Open-source Docker sandbox for experimenting with Claude AI development tools - enabling the community to explore AI-assisted coding in isolated environments with autonomous prompt processing capabilities.

🎯 Overview

MorphBox provides a secure, containerized development environment with Claude AI integration. It empowers developers to experiment with AI-assisted development tools, run autonomous coding sessions via the Prompt Queue, and work from any location through its web-based interface.

✨ Key Features

Core Capabilities

  • 🤖 Claude Integration - Built-in Claude AI assistant for pair programming
  • 🐳 Docker Isolation - Complete sandbox environment, isolated from host system
  • 📁 Workspace Mounting - Mount any directory as /workspace for development
  • 🌐 Web Interface - Modern browser-based UI with customizable panels
  • 🔄 Prompt Queue - Queue multiple prompts for autonomous sequential processing
  • ⚡ Fast Startup - Container starts in seconds after initial build
  • 💾 Persistent Storage - Settings and data persist between sessions

Web Interface Panels

  • Terminal - Full bash terminal with tmux support
  • Claude Chat - Interactive Claude AI assistant
  • Prompt Queue - Queue and automate multiple Claude prompts
  • Code Editor - Built-in Monaco editor for file editing
  • File Explorer - Navigate and manage workspace files
  • Git Panel - Version control integration
  • Task Runner - Execute and monitor development tasks
  • Web Browser - Embedded browser for testing
  • Settings - Configure MorphBox behavior

Prompt Queue System

The Prompt Queue is a unique feature that enables autonomous AI sessions:

  1. Add multiple prompts to the queue via the web panel
  2. Click Play to start processing
  3. Claude works through each prompt automatically
  4. The queue detects when Claude is idle and sends the next prompt
  5. Perfect for overnight refactoring, test generation, or documentation tasks

📋 Prerequisites

  • Docker Desktop or Docker Engine (20.10+)
  • Node.js (14+) for npm installation
  • Operating System:
    • macOS 11+ (Big Sur or later)
    • Linux (Ubuntu 20.04+, Debian 11+, Fedora 34+)
    • Windows 10/11 with WSL2

🚀 Quick Start

# Install globally via npm
npm install -g morphbox

# Start MorphBox (mounts current directory)
morphbox

# Access the web interface
# http://localhost:8008

📦 Installation Options

Via npm (Recommended)

npm install -g morphbox

Via yarn

yarn global add morphbox

Quick Run (npx)

npx morphbox

From Source

git clone https://github.com/instant-unicorn/morphbox.git
cd morphbox/web
npm install
npm link

🎮 Usage

Basic Commands

morphbox              # Start with web interface (default)
morphbox --terminal   # Start Claude in terminal mode
morphbox --config     # Generate morphbox.yml configuration file
morphbox --vpn        # Bind to VPN interface for team access
morphbox --external --auth  # Expose to network with authentication
morphbox --help       # Show all options

Access Modes

  • Local (default) - Accessible only from localhost
  • VPN Mode (--vpn)- Auto-binds to VPN interface for secure team access
  • External (--external --auth) - Expose to network with authentication (requires confirmation)

🔧 Configuration

Generate Configuration File

morphbox --config  # Creates morphbox.yml in current directory

Example morphbox.yml

container:
  packages:
    - vim
    - htop
    - postgresql-client
  environment:
    EDITOR: vim

network:
  allowlist:
    - github.com
    - npmjs.org
    - pypi.org

security:
  memory_limit: "2g"
  cpu_limit: 2

development:
  runtimes:
    node: "20"
    python: "3.11"
  npm_packages:
    - typescript
    - prettier

Environment Variables

Create .morphbox.env in your project:

# Network binding
MORPHBOX_HOST=localhost
MORPHBOX_PORT=8008

# Authentication
MORPHBOX_AUTH_ENABLED=false
MORPHBOX_AUTH_USERNAME=admin

# Claude API (optional)
ANTHROPIC_API_KEY=your-key-here

🛠️ Pre-installed Tools

  • Languages: Node.js 20 LTS, Python 3.12
  • Package Managers: npm, pip, yarn, pnpm
  • Dev Tools: git, vim, tmux, curl, wget, jq
  • Build Tools: gcc, make, cmake

🚀 Advanced Usage

Terminal Mode

For a pure terminal experience without the web UI:

morphbox --terminal

Team Collaboration

Share your development environment with your team via VPN:

morphbox --vpn --auth
# Team members can connect to http://your-vpn-ip:8008

Remote Access

For working from mobile or remote locations:

# Secure external access
morphbox --external --auth

# You'll see a security warning and must confirm
# Team members need authentication to connect

🐛 Troubleshooting

Docker not found

# Install Docker Desktop from https://docker.com
# Or on Linux:
curl -fsSL https://get.docker.com | sh

Permission denied

# Add user to docker group (Linux)
sudo usermod -aG docker $USER
# Then log out and back in

Port already in use

# MorphBox automatically finds next available port
# Or specify manually:
MORPHBOX_PORT=8080 morphbox

Reset container

docker stop morphbox-vm && docker rm morphbox-vm
docker rmi $(docker images -q morphbox)

📖 Documentation

🤝 Community & Contributing

We welcome contributions! The goal is to empower the community to explore and extend AI-assisted development capabilities.

How to Contribute

# Fork and clone
git clone https://github.com/yourusername/morphbox.git
cd morphbox

# Install dependencies
npm install

# Run tests
npm test

# Start development
npm run dev

See CONTRIBUTING.md for detailed guidelines.

Community Resources

🚧 Roadmap

  • Enhanced Prompt Queue with visual workflow builder
  • Multi-model support beyond Claude
  • Collaborative coding sessions
  • Plugin marketplace for community extensions
  • Mobile-optimized interface improvements

📜 License

MIT © Instant Unicorn

🙏 Acknowledgments


Empowering the community to explore AI-assisted development

About

Built 100% With CC. Browser light sandboxed self building IDE wrapper for Claude Code

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •