⚡ Krickstart
Spin up a reproducible local development environment in seconds.
krickstart is an opinionated, high-performance CLI tool that turns a concise krickstart.yaml recipe into a fully operational, reproducible Docker Compose environment. It eliminates the "it works on my machine" struggle by automating starter templates, database wiring, environment contracts, and connection URL generation.
Stop debugging ports, volumes, and health checks. Start building.
krickstart.yaml ➔ krickstart up ➔ 🚀 Ready-to-code Stack (App + Database + URLs)
🏛️ Architecture Overview
krickstart sits as a declarative translation layer between your team's configuration contract and Docker Compose
flowchart TD
subgraph User Workspace
YAML["krickstart.yaml\n(Team Contract)"]
CLI["krickstart CLI\n(create / doctor / up / down)"]
end
subgraph Core Engine
REG["Plugin Registry\n(Built-in + Entry Points)"]
VAL["Schema & Port Validator\n(Conflict Detection)"]
GEN["Compose Generator\n(Atomic Writes & Locks)"]
end
subgraph Generated Outputs
DC["docker-compose.krickstart.yml\n(Services, Volumes, Healthchecks)"]
ENV[".env.krickstart\n(DATABASE_URL, REDIS_URL)"]
EX[".env.example\n(Masked Team Template)"]
end
subgraph Runtime
DOCKER["Docker Engine / Compose v2\n(127.0.0.1 Isolated Containers)"]
end
YAML --> CLI
CLI --> VAL
CLI --> REG
REG --> GEN
VAL --> GEN
GEN --> DC
GEN --> ENV
GEN --> EX
DC --> DOCKER
📊 Krickstart vs. Alternatives
| Capability | ⚡ Krickstart | Docker Compose | VS Code Dev Containers | Tilt | Nix / devenv |
|---|---|---|---|---|---|
| Instant Starters | ✅ Built-in Stacks | ❌ Manual Setup | ⚠️ Template repos | ❌ Manual Tiltfile | ⚠️ Custom flake |
| Configuration Complexity | 🟢 Low (~15 lines YAML) | 🔴 High (verbose Compose) | 🟡 Medium (devcontainer.json) |
🔴 High (Starlark/Tiltfile) | 🔴 High (Nix language) |
Auto-Wiring (.env / URLs) |
✅ Automated | ❌ Manual .env |
⚠️ Partial | ❌ Manual | ⚠️ Environment vars only |
| Editor Agnostic | ✅ Any editor/IDE | ✅ Any editor/IDE | ❌ Optimized for VS Code | ✅ Any editor/IDE | ✅ Any editor/IDE |
| Learning Curve | 🚀 2 minutes | ⏳ Days | ⏳ Hours | ⏳ Days (K8s required) | ⏳ Weeks (Nix syntax) |
| Host Port Conflict Checks | ✅ doctor pre-flight |
❌ Fails on startup | ❌ Manual | ⚠️ Port-forwarding | ❌ Fails on startup |
| Localhost Isolation (127.0.0.1) | ✅ Default | ❌ Defaults to 0.0.0.0 |
⚠️ Container internal | ⚠️ Varies | N/A (Host processes) |
🚀 Quick Start
Prerequisites
- Python 3.10+
- Docker Desktop or Docker Engine with Docker Compose v2
Installation
Install via your preferred Python tool manager:
# Recommended (isolated CLI application)
pipx install krickstart
# or with uv:
uv tool install krickstart
# Or with standard pip
pip install krickstart
30-Second Setup
# 1. Interactively choose a stack (e.g. FastAPI + PostgreSQL)
krickstart create
# 2. Check local environment and port availability
krickstart doctor
# 3. Launch isolated environment
krickstart up
Scripted / CI Workflow
krickstart init fastapi-postgres --name billing-api
krickstart doctor
krickstart up
📦 Maintained Stacks
All maintained stacks feature health checks, volume persistence, and loopback security (127.0.0.1 binding):
| Stack | Description | Included Services |
|---|---|---|
fastapi-postgres |
Python FastAPI REST API | FastAPI (Python 3.12), PostgreSQL 16 |
django-postgres |
Django Web Framework | Django (Python 3.12), PostgreSQL 16 |
flask-postgres |
Flask Microframework | Flask, PostgreSQL 16 |
node-postgres-redis |
Node.js Express API | Express (Node 22), PostgreSQL 16, Redis 7 |
nextjs-postgres |
Next.js App Router | Next.js, PostgreSQL 16 |
go-gin-postgres |
Go Gin REST API | Go Gin, PostgreSQL 16 |
spring-boot-postgres |
Java Spring Boot | Spring Boot (JDK 21), PostgreSQL 16 |
🛠️ CLI Command Reference
| Command | Description |
|---|---|
krickstart list |
Show all available stack templates and descriptions |
krickstart init <stack> |
Generate krickstart.yaml and starter files for a chosen stack |
krickstart create |
Interactive terminal wizard to pick and initialize a stack |
krickstart validate |
Validate schema and ensure stack plugin can render without errors |
krickstart doctor |
Health-check Docker, Compose v2, YAML syntax, and detect port conflicts |
krickstart doctor --fix |
Automatically repair missing safe assets (e.g., regenerate .env.example) |
krickstart up |
Render Compose files and start containers in detached mode |
krickstart up --dry-run |
Preview generated YAML and .env files without writing or starting Docker |
krickstart down |
Gracefully stop containers (preserves database volumes) |
krickstart status |
Display container runtime health and port mappings (docker compose ps) |
krickstart logs [service] |
View or follow service logs (--follow supported) |
krickstart export |
Export standalone docker-compose.yml and .env for production or CI |
krickstart cleanup |
Stop containers, remove named volumes, and clean up generated files |
🔒 Security Best Practices
- Loopback Isolation (
127.0.0.1):krickstartbinds container ports to127.0.0.1by default rather than0.0.0.0, protecting databases and internal APIs from exposure on public Wi-Fi or local networks. - Masked Examples: Generated
.env.exampletemplates automatically redact credentials so teammates can safely commit environment templates to git without leaking passwords. - Never Commit Generated Files:
Add to your
.gitignore:docker-compose.krickstart.yml .env.krickstart .env
🔌 Plugin System & Extensibility
krickstart provides an open plugin interface using Python entry points. Organizations can package internal corporate stacks and publish them as private or public packages.
Third-party packages expose plugins via the krickstart.stacks entry point group in pyproject.toml:
[project.entry-points."krickstart.stacks"]
company-microservice = "my_company_stacks.microservice:MicroservicePlugin"
Plugins implement the StackPlugin interface (name, description, default_config, compose_yaml, env_file, post_up_hints). See docs/plugin-authoring.md for complete details.
🤝 Contributing
We love contributions! Whether it's a new stack template, a bug fix, or documentation improvement, please check out our CONTRIBUTING.md and CODE_OF_CONDUCT.md.
Ways to help:
- 🌟 Star the repo to show your support.
- 🐛 Report bugs or request features in the Issues tab.
- 🛠️ Build a plugin and share your custom stack with the community.
- 📝 Improve docs to help other developers get started faster.
📖 Guides
For detailed instructions, explore our documentation:
- 🚀 Getting Started - From installation to your first stack.
- 🛠️ Custom Stacks - How to extend devspeed with your own templates.
- 🔍 Troubleshooting - Solving common Docker and config issues.
# Run local test suite and quality gates:
python scripts/dev.py check
📄 License
This project is licensed under the MIT License.
Metadata
Release files for krickstart 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| krickstart-1.2.1.tar.gz | 25.3 kB | With provenance | Details for krickstart-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| krickstart-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for krickstart-1.2.1-py3-none-any.whl |
Total release size: 53.9 kB
Release files / krickstart-1.2.1.tar.gz
| Download URL | krickstart-1.2.1.tar.gz |
|---|---|
| Size | 25.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3188496d8d312a20467d30a6187ea14965b904e696e1907e763f3e6d4511486f
|
|
BLAKE2b-256 checksum How to use checksums |
13820f1ccba65fc8fdc4394586bcabd95c3c66d7f4ae64941f2330cfcf6b5532
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.
Transparency logRelease files / krickstart-1.2.1-py3-none-any.whl
| Download URL | krickstart-1.2.1-py3-none-any.whl |
|---|---|
| Size | 28.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb1b7985f46b514010d4deabd5d8d4ae8a1c1673b04200f008075efcc431bb38
|
|
BLAKE2b-256 checksum How to use checksums |
935d708bed3f9104f270b49c1123ba42e30dde1a8e65423e36b29e7684ee1c46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.
Transparency logSecurity for krickstart 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for krickstart-1.2.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.