ccg
AI Course Content Generator - Generate complete online courses with Gemini API. Triggers on "create course", "generate lesson", "course content", "ccg", "/ccg".
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
AI Course Content Generator (CCG)
Version: 1.0.0
Location: /Users/shunsukehayashi/dev/ai-course-content-generator-v2
Triggers
| Trigger | Examples |
|---|---|
| Course creation | "create course", "generate course", "/ccg" |
| Development | "ccg dev", "start course generator" |
| Build | "ccg build", "build course app" |
Quick Commands
# Development
cd /Users/shunsukehayashi/dev/ai-course-content-generator-v2 && npm run dev
# Production build
cd /Users/shunsukehayashi/dev/ai-course-content-generator-v2 && npm run build
# Electron dev
cd /Users/shunsukehayashi/dev/ai-course-content-generator-v2 && npm run electron:dev
# Electron build
cd /Users/shunsukehayashi/dev/ai-course-content-generator-v2 && npm run electron:build
Key Capabilities
- Course Structure Generation - JSON curriculum generation
- Lesson Script Generation - Customizable narration scripts
- Text-to-Speech - Gemini TTS audio generation
- Slide Generation - Graphic recording style
- Video Rendering - WebCodecs API MP4 creation
- Bulk Export - ZIP download of all assets
Architecture
Vision Panel → Structure → Content Pipeline → Export
↓ ↓ ↓ ↓
Image/PDF/URL JSON Structure Slides/Audio MP3/MP4/ZIP
Key Files
| File | Purpose |
|---|---|
services/geminiService.ts |
Gemini API calls + retry logic |
templates/prompts.ts |
Zod schemas + prompt builders |
utils/audioUtils.ts |
PCM→MP3 encoding (lamejs) |
utils/videoUtils.ts |
MP4 muxing (WebCodecs) |
types.ts |
Course structure interfaces |
constants.ts |
Defaults + TTS voice options |
Gemini Models
-
Primary:
gemini-3-flash-preview(with thinking) -
Backup:
gemini-2.5-flash(quota fallback) -
TTS:
gemini-2.5-flash-preview-tts -
Image:
gemini-3-pro-image-preview
Environment
-
GEMINI_API_KEYrequired in.env
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-02-03
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!