# ContextDevKit — environment template (ADR-0024) # # This file is COPIED INTO YOUR PROJECT at contextkit/.env.example. To use # it: copy to contextkit/.env (or your project's root .env), fill in values. # Then run the kit scripts that need creds with Node's built-in env-file # loader (Node 20.6+): # # node --env-file=contextkit/.env contextkit/tools/scripts/media-gen.mjs image \ # --prompt "editorial product hero, asymmetric grid" --out hero.png # # Or copy the variables into your project's existing dotenv setup # (Astro / Next / Nuxt / Vite all already read .env). # # Nothing here is required by default. The kit refuses cleanly with a # NO_CREDENTIALS error if you call a media-generation script without # the key set, and points you back at this file. # ─── Media generation (ADR-0024) ──────────────────────────────────────── # Google AI Studio API key — used by both: # nano-banana.mjs (image — Imagen) # veo.mjs (video — Veo) # Get one at: https://aistudio.google.com/apikey # GOOGLE_AI_API_KEY= # Per-process cost cap in USD. The adapters keep a running tally and # refuse the next call that would push the total over this floor. Leave # unset = no cap (you pay for whatever you call). # CONTEXTDEVKIT_MEDIA_MAX_USD=5.00 # ─── Future home-scoped overrides (optional) ─────────────────────────── # These are listed for discoverability — the kit reads them from # process.env directly, so they can live here or in your shell. # CONTEXTDEVKIT_HOME= # override ~/.contextdevkit/ (ADR-0020) # CONTEXTDEVKIT_DASHBOARD_PORT= # override /dashboard --watch port (default 4242) # CONTEXT_FLEET_FILE= # override the fleet registry path # CONTEXT_GIT_TIMEOUT_MS= # override the kit's git command timeout