A modern chat application built with SvelteKit and OpenAI's GPT API.
src/
├── lib/
│ ├── components/ # Reusable Svelte components
│ ├── services/ # External service integrations
│ └── types/ # TypeScript type definitions
├── routes/
│ ├── api/ # API endpoints
│ └── ... # Page routes
npm install
.env file with your OpenAI API key:OPENAI_API_KEY=your_api_key_here
npm run dev
npm run dev - Start development servernpm run build - Build for productionnpm run preview - Preview production buildnpm run check - Type-check the codebasenpm run lint - Lint the codebasenpm run format - Format the codebase