Skip to main content

A template-based development environment manager

Project description

ChimeraStack CLI

🐉 One command to launch a production-ready development stack.

Skip the boilerplate, focus on code.

PyPI CI License: MIT


📚 Table of Contents

  1. Why ChimeraStack?
  2. TL;DR Quick Demo
  3. Key Features
  4. Installation
  5. Creating Your First Project
  6. Template Gallery
  7. How It Works
  8. Authoring Custom Templates
  9. Roadmap
  10. Contributing
  11. License

❓ Why ChimeraStack?

Persona Pain Points How ChimeraStack Helps
Beginners Confusing Docker setup, port clashes, missing environment variables chimera create blog -t fullstack/react-php → ready-to-run project with sensible defaults
Students / Teachers Need consistent environments on many machines Project templates ensure everyone runs identical containers and ports
Senior Devs Tiring to maintain many local micro-services Dynamic port allocator + compose fragments = run multiple stacks side-by-side without conflicts

⚡ TL;DR Quick Demo

# Install (isolated) – requires Python 3.8+
pipx install chimera-stack-cli

# Spin up a React + PHP + MySQL stack in <10 s
chimera create my-app -t fullstack/react-php -v mysql
cd my-app

docker compose up -d  # 🚀 Boom – services are live!

Open http://localhost:8xxx (ports are auto-assigned) and start coding.


✨ Key Features

  • 🔌 Template Catalogue – ready-made stacks for frontend, backend & databases
  • 🔄 Smart Port Allocation – avoid address already in use forever
  • 🗜️ Zero-Config – works with a single CLI command, no manual Docker files
  • 🧩 Composable – mix components or add plugins (coming v0.3)
  • 🧑‍🎓 Learning-Friendly – minimal jargon, helpful errors & docs

📦 Installation

Method Command
pipx (recommended) pipx install chimera-stack-cli
pip pip install chimera-stack-cli
Homebrew brew install chimerastack/tap/cli (soon)
Binary Grab the latest release from Releases page & chmod +x

Requires Docker 20.10+ and Docker Compose plugin.


🛠️ Creating Your First Project

# Interactive wizard
chimera create my-blog

# Non-interactive: choose stack + variant up-front
chimera create my-api -t backend/php-web -v postgresql

Once finished:

cd my-api
docker compose up -d

Your containers are accessible on dynamically allocated ports printed by the CLI.


🎨 Template Gallery (v0.2.2)

Category Templates
Frontend frontend/react, frontend/vue (soon)
Backend backend/php-web, backend/node-express (roadmap)
Databases database/mysql, database/postgresql, database/mariadb
Fullstack fullstack/react-php

Run chimera list to explore the full list and search by tag.


🔍 How It Works

  1. Selects stack + components based on CLI flags.
  2. Renders all files through a Jinja2 pipeline (variable substitution).
  3. Allocates free ports via PortAllocator (ranges defined in config/ports.yaml).
  4. Executes optional post_copy tasks for final clean-up.
  5. Outputs a ready project you can commit to Git or deploy.

No global state, no magic network shims – just Docker Compose done right.


🧑‍🎨 Authoring Custom Templates

Want to add Django + Redis? Check out the dedicated guide:

➡️ docs/authoring-templates.md

It covers directory layout, template.yaml schema, Jinja2 helpers, testing & publishing.


🔮 Roadmap

Version Highlights
v0.3 Plugin system (chimera add redis, monitoring…)
v0.4 Mix-&-Match wizard (chimera init --frontend react --backend node)
v0.5 chimera deploy to Coolify or bare VPS
v1.0 Stable API, web/CLI sync, template marketplace

See ROADMAP.md for the full list.


🤝 Contributing

  1. Fork → create feature branch → commit (semantic) → PR.
  2. Run pre-commit & pytest locally – CI must stay green.
  3. Need help? Open an issue or start a discussion.

See CONTRIBUTING.md for environment setup, commit policy & test guide.


📄 License

MIT © Amirofcodes & contributors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chimera_stack_cli-0.2.3.tar.gz (56.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chimera_stack_cli-0.2.3-py3-none-any.whl (71.7 kB view details)

Uploaded Python 3

File details

Details for the file chimera_stack_cli-0.2.3.tar.gz.

File metadata

  • Download URL: chimera_stack_cli-0.2.3.tar.gz
  • Upload date:
  • Size: 56.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for chimera_stack_cli-0.2.3.tar.gz
Algorithm Hash digest
SHA256 4eaf5420308982b6d12d4875f64b92100352473061782458d7a59db44bf1a703
MD5 d04a3c192520e1123c07b9c77f51914e
BLAKE2b-256 9e4b6cd8f1d8877830f1e5c8a6adce7cd30345d8930cbccf101be26bd73ccf99

See more details on using hashes here.

File details

Details for the file chimera_stack_cli-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for chimera_stack_cli-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 00312591caf35e2cdbe3e177b7579d4afb168eff72c256d7a2d057962282cfe5
MD5 bbeeabf8bb41140ca927a5950aaf5159
BLAKE2b-256 f72d939b90fa73990e6f60785751b442f1f83bd0a32dd7d3fdec37c48f2573f7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page