Skip to content

Documentation

Everything you need to run, use and extend EcoPilot AI.

Quick start

# install

npm install

# develop

npm run dev

# production build

npm run build && npm start

  1. 1. Open Settings and connect any OpenAI-compatible provider (OpenAI, OpenRouter, Groq, DeepSeek, Together, Ollama…).
  2. 2. Press Test connection — a green badge confirms the endpoint responds.
  3. 3. Run the Carbon Calculator once to seed your dashboard.

Feature guides

Architecture at a glance

  • • app/ — App Router pages; workspace routes share a persistent shell.
  • • lib/ai/client.ts — one typed client for every OpenAI-compatible endpoint (streaming SSE included).
  • • services/ — pure domain logic (carbon math, streaks, storage) that is unit-tested without React.
  • • contexts/ + providers/ — settings, toasts, theme; React Query for async provider checks.
  • • data/ — bundled climate datasets and demo seeds; zero external API dependencies.

Full developer documentation lives in the repository under /docs.