claudebox  by RchGrav

Dockerized Claude AI coding assistant environment

Created 3 months ago
519 stars

Top 60.6% on SourcePulse

GitHubView on GitHub
Project Summary

ClaudeBox provides a containerized Docker environment for running Claude AI's coding assistant, targeting developers who need reproducible, isolated development setups. It simplifies the setup and management of Claude Code with pre-configured language profiles and robust project isolation.

How It Works

ClaudeBox utilizes Docker to create isolated environments for each project, ensuring that dependencies, configurations, and data (like API keys and shell history) are kept separate. It employs a per-project Docker image strategy, allowing for tailored development stacks. The system includes a sophisticated profile management system that automatically resolves dependencies between development tools and languages, simplifying the setup of complex toolchains.

Quick Start & Requirements

  • Installation: Download the claudebox script and make it executable. Run ./claudebox to initiate automatic setup, which includes Docker installation if needed.
  • Prerequisites: Linux or macOS (WSL2 on Windows), Bash shell, Docker.
  • Setup: The initial setup handles Docker configuration and creates a global symlink for easy access.
  • Documentation: README

Highlighted Details

  • Offers 15+ pre-configured development profiles for various languages (C/C++, Python, Rust, Go, Java, etc.) and specialized tasks (OpenWRT, DevOps, Data Science, ML).
  • Features per-project isolation for Docker images, authentication state, history, and configurations.
  • Includes a powerline zsh shell with oh-my-zsh, GitHub CLI, Delta, and fzf for an enhanced developer experience.
  • Provides project-specific network firewall allowlists for security and network control.

Maintenance & Community

The project is maintained by RchGrav. Contributions are welcome via Pull Requests.

Licensing & Compatibility

Licensed under the MIT License, allowing for commercial use and integration with closed-source projects.

Limitations & Caveats

While designed for broad compatibility, users on Windows may require WSL2. Troubleshooting Docker permission issues might necessitate logging out and back in or using newgrp docker after being added to the Docker group.

Health Check
Last Commit

2 weeks ago

Responsiveness

1 week

Pull Requests (30d)
10
Issues (30d)
12
Star History
129 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.