Skip to content

πŸ’­ The development environment of your dreams - multi-platform devcontainer with persistent auth and Claude Code integration

License

Notifications You must be signed in to change notification settings

ahelme/dream-container

Repository files navigation

DreamContainer... transcending bureaucracy.

πŸ’­DreamContainerβ„’οΈπŸ’­ ...&... πŸ’­DreamKitβ„’οΈπŸ’­

AI-Ready Development That Dreams Are Made Of

GitHub Stars Docker Pulls License: MIT PRs Welcome

This project is a two-in-one:

  1. DreamContainer: the AI-ready fully-optimised multi-architecture .devcontainer of your dreams.

  2. DreamKit - FastAPI & htmx Template: the modern opinionated architecture to make your Javascript framework nightmares fade away.

Not just another devcontainer...

DreamContainer is the AI-first development environment you've been dreaming of.

Fully Isolated AI-Powered Development with Persistent Auth

  • Claude Code & Github CLI integration out of the box
  • MCP tools ecosystem (Puppeteer, Playwright, Browser automation)
  • Browser automation ready (screenshots, testing, scraping)
  • Security best practices (read-only mounts, isolated packages)
  • Production-like development environment
  • gh auth survives rebuilds (no more re-login after every rebuild)

Multi-Platform & Enterprise-Ready

  • Native ARM64 (Apple Silicon Macs) / Native AMD64 builds (Intel/AMD servers)
  • Zero QEMU emulation slowdown (50-80% faster)
  • Multi-service orchestration (API, Database, Cache, Frontend)
  • Proper volume management (zero host pollution)

Zero-Friction Developer Experience

  • One command setup
  • Automatic dependency management
  • Health checks included
  • Works on any machine immediately
  • Smart versioning security updates without breaking changes

Quick Start (2 minutes to awesome)

# β‘  Clone your dream environment
git clone https://github.com/ahelme/dream-container.git
cd dream-container

**Customize** (optional)
cp .env.example .env
# Edit .env with your project details

# β‘‘ Launch your dreams... πŸš€
./scripts/setup.sh

# β‘’ (Optional) Open in VS Code 
code .
# Select "Reopen in Container" when prompted

# β‘£ Claude Code is installed & ready to vibe...
claude
> Help me build the app of my dreams!

# πŸ’­ Living the dream... start coding immediately!

Dream vs Nightmare

😭 Development Hell πŸ’­ DreamContainer
❌ Breaks after rebuilds βœ… Persistent authentication
❌ Slow multi-platform builds βœ… Native ARM64 + AMD64
❌ Host dependency pollution βœ… Perfect isolation
❌ Complex authentication setup βœ… One-command login
❌ Hours of configuration βœ… 2-minute setup

** DreamKit - FastAPI & htmx Template**

Anti-Bureaucracy Architecture

β”œβ”€β”€ πŸ€– Dream AI Dev Container (Claude Code + MCP Tools)
β”œβ”€β”€ 🐘 PostgreSQL Database
β”œβ”€β”€ πŸ“¦ Cache Layer (Redis/Valkey/KeyDB)
β”œβ”€β”€ πŸš€ API Server (FastAPI/Express/Django)
β”œβ”€β”€ ⚑ HTMX Frontend (Zero build complexity!)
└── πŸ”§ Quality Tools (Black, Prettier, Tests)

Notice what's missing? Webpack, Babel, build scripts, node_modules chaos!

πŸ€– AI Dev Layer

β€’ Claude Code for AI pair programming β€’ MCP tools for automation β€’ Browser testing capabilities β€’ Persistent authentication

⚑️ Frontend Layer

β€’ HTMX for dynamic interactions β€’ Tailwind for beautiful styling β€’ No build process needed β€’ Edit and refresh workflow

πŸš€ Backend Layer

β€’ FastAPI for modern Python APIs β€’ Automatic OpenAPI documentation β€’ Type validation included β€’ Async support out of the box

πŸ—„οΈ Data Layer

β€’ PostgreSQL for reliability β€’ Redis for lightning-fast caching β€’ Persistent volumes for data safety β€’ Connection pooling configured


Dream Up Your Perfect App

🌟 Anti-Bureaucratic Web Apps

Zero build complexity

β€’ HTMX + Tailwind + FastAPI/Express backends β€’ Database-driven applications & API-first development β€’ Real-time updates without JavaScript frameworks complexity β€’ HTML & Nginx for the bare essentials!

πŸ€– AI & ML Projects

Claude Code ready

β€’ Claude Code integration out of the box β€’ Jupyter notebooks with HTMX frontends β€’ Data visualization without unnecessary complexity

🏒 Enterprise Development

Production ready

β€’ Microservices architecture β€’ Multi-team collaboration without build conflicts β€’ Security-focused development

πŸš€ Startup MVPs

Ship fast, iterate faster

β€’ Rapid prototyping without build tools β€’ Full-stack in minutes, not hours β€’ Production-grade from day one: scale as you go

"The best framework is the one you don't need." - DreamOps Philosophy


πŸ“š Dream Documentation

πŸ“– Guide 🎯 Perfect For
πŸš€ Quick Start Living the dream in 2 minutes
πŸ—οΈ Architecture Understanding your dreams
βš™οΈ Customization Personalizing your dreams
πŸ” Authentication Setting up dream authentication
πŸ› Troubleshooting When dreams need fixing
πŸ€– Claude Code AI-powered dream development

πŸ”§ Ready-Made Dream Setups (in progress..)

Choose your dream stack and start immediately:

⚑ Anti-Bureaucracy Web Dreams (Recommended!)

πŸ€– AI & Data Dreams

🏒 Enterprise Dreams

🎯 Framework Dreams (For the build-tool lovers)

πŸ’‘ Dream Tip: Start with HTMX examples for maximum anti-bureaucracy bliss! You can always add React later if your project truly needs it (spoiler: it probably doesn't!).


πŸš€ Start Living Your Dreams Now

Option 1: Use as Template (Recommended)

# Create new dream from this template
gh repo create my-dream-project --template yourname/dream-container
cd my-dream-project
code .

Option 2: Clone and Customize

git clone https://github.com/yourname/dream-container.git
cd dream-container
# Customize your dreams

Option 3: Add Dreams to Existing Project

# Copy just the dream setup
curl -sL https://github.com/yourname/dream-container/archive/main.tar.gz | tar -xz --strip=1 "*/\.devcontainer"

Contributing

  • πŸ› Found a nightmare? Report it
  • πŸ’‘ Have a dream idea? Share it
  • πŸ”§ Want to contribute? Join the dream team
  • ⭐ Think its dreamy? Star it and tell your friends!

πŸ“„ License

MIT License - feel free to use this for all your dreams! See LICENSE for details.


πŸ™ Dream Team Acknowledgments

Built with πŸ’­ by developers who were tired of development nightmares.

Credits:

Special thanks to:

  • The VS Code team for making devcontainer dreams possible
  • Anthropic for Claude Code that makes AI dreams real
  • The Docker team for multi-platform dream builds
  • Everyone who contributed examples and made dreams come true

πŸ’­ Ready to live your development dreams?

⭐ Star this dream β€’ πŸ“– Read the dream docs β€’ πŸ’¬ Join dream discussions


Made with πŸ’­ and β˜• by dreamers, for dreamers

About

πŸ’­ The development environment of your dreams - multi-platform devcontainer with persistent auth and Claude Code integration

Resources

License

Stars

Watchers

Forks

Packages

No packages published