create-lytx
v0.1.9
Published
Draft scaffolder for spinning up a new Lytx app from maintained templates.
Maintainers
Readme
create-lytx (draft)
Draft scaffolder for spinning up a new Lytx app from maintained templates.
Planned usage
bunx create-lytx my-analytics --template cloudflare
npx create-lytx my-analytics --template cloudflare
npm create lytx@latest my-analytics -- --template cloudflareCurrent local usage
bun create-lytx/bin/lytx.mjs my-analytics --template cloudflareInteractive setup (domains/auth/AI toggles):
bun create-lytx/bin/lytx.mjs my-analytics --template cloudflare --interactiveOne-command scaffold + provision:
bun create-lytx/bin/lytx.mjs my-analytics --template cloudflare --provision --stage dev --yesNotes:
- The CLI now writes
.envfrom.env.exampleautomatically. - Use
--interactiveto fill domains, sender, API keys/secrets, AI provider/model, and feature flags. - Social provider keys are prompted only for providers you enabled.
- Use
--ai-provider,--ai-model, and--ai-base-urlto preconfigure AI defaults (includingclaude,gemini, andcloudflarepresets). - Generated projects default
LYTX_SIGNUP_MODE=bootstrap_then_invite(first account bootstrap, then invite-only). - Use
--no-envto skip writing.env.
Current template
cloudflare- RedwoodSDK + Alchemy +lytxapp-factory starter
Notes
- Templates are versioned in-repo so scaffolded projects match the monorepo baseline.
- The generated app is intentionally close to
demo/with package-consumer imports.
