create-core-discovery-app
v1.5.16
Published
Scaffold a new CORE Discovery customer repository (compose-based deploy of zitro/core-framework)
Maintainers
Readme
create-core-discovery-app
Scaffold a new CORE Discovery customer repository in seconds.
npx create-core-discovery-app acmeYou'll be prompted for:
- Customer display name
- LLM provider (local / Azure OpenAI / OpenAI direct)
- Auth provider (none / Entra ID)
- Speech provider (none / Azure Speech / OpenAI-compatible)
- Framework version to pin
- Optional initial discovery slug
Storage is always local (filesystem under ./data/). Cosmos DB support was removed from the CLI to keep new installs simple.
The output is a self-contained customer repo with compose.yaml pinned to signed framework images, .env pre-filled with your provider choices, Renovate config for grouped image bumps, and an empty projects/ ready for your content.
What it creates
acme/
├── compose.yaml # pinned to ghcr.io/zitro/core-framework-*:<version>
├── .env # filled in from your prompt answers
├── .env.example
├── .gitignore
├── README.md
├── renovate.json
├── projects/
│ └── <initial-slug>/ # if you provided one
├── extensions/
│ └── README.md
├── config/prompts/
└── infra/
└── README.md # Bicep placeholderAfter scaffolding
cd acme
docker compose pull
docker compose up -d
start http://localhost:3000Keeping up to date
CORE checks the GitHub releases feed and shows an in-app banner whenever a new framework version is available. To upgrade:
npx create-core-discovery-app --upgradeRun from inside an existing customer repo. The CLI plans the changes, shows a diff, and applies them atomically — no orphan files, no broken pinning.
Why a CLI instead of a template repo?
A template repo gives you a static copy. The CLI fills in customer-specific names, wires your chosen provider credentials into .env, and pins to whatever framework version is current at scaffold time. Same end state, less manual editing.
License
MIT — see the framework repo for source and full docs.
