Language: English | 简体中文 | 繁體中文 | 日本語
An interactive tutorial site that teaches absolute beginners how to code with AI assistance (Vibe Coding). 12 lessons, built-in AI teaching assistant, and a prompt playground that generates real HTML/CSS/JS.
- Structured curriculum — 12 lessons from concepts to hands-on practice
- AI teaching assistant — Ask questions anytime, get instant answers
- Prompt Playground — Describe what you want, get runnable HTML/CSS/JS code
- Multi-model support — Claude, OpenAI, DeepSeek, and any OpenAI-compatible API
bash scripts/setup.shnpm install
cp .env.example .env
# Edit .env with your API key
npm run devOpen http://localhost:3000 to start learning.
Detailed setup guide for beginners: SETUP_GUIDE.md
Supports three AI providers, configured via .env:
AI_PROVIDER=openai-compatible
AI_MODEL=deepseek-chat
AI_API_KEY=sk-...
AI_BASE_URL=https://api.deepseek.com/v1AI_PROVIDER=anthropic
AI_MODEL=claude-sonnet-4-20250514
ANTHROPIC_API_KEY=sk-ant-...AI_PROVIDER=openai
AI_MODEL=gpt-4o
OPENAI_API_KEY=sk-...- Next.js 16 + React 19 + TypeScript
- Tailwind CSS v4
- AI SDK — unified multi-model interface
- Lucide React — icons
- react-markdown — content rendering
app/
api/agent/route.ts # AI streaming chat API
lesson/[id]/page.tsx # Lesson detail page
page.tsx # Home page
layout.tsx # Root layout
components/
ChatInterface.tsx # AI chat component
PromptPlayground.tsx # Code generation sandbox
LessonNavigator.tsx # Course navigation sidebar
lib/
lessons.ts # Course data
scripts/
setup.sh # Auto setup script
Edit lib/lessons.ts to modify or add lessons. Content supports Markdown.
- myBlog — Author's personal blog, more articles on vibe coding
MIT