How chaitanyaeswarrajeshjakki/gemini-youtube-automation works
This repository automates a daily lesson-to-YouTube workflow: it selects or creates a curriculum, generates lesson content, produces narrated long-form and Shorts videos with thumbnails, uploads them, and records progress. The main orchestration and uploader calls are visible in source; other production capabilities and scheduled execution are documented in the README, so those links use README evidence.
Main entry points: main.py Lesson Pipeline · generator.py Curriculum Generation · uploader.py YouTube Uploader · main.yml Daily Scheduler
Components 16
Orchestration
- Lesson Pipeline
main.py - Curriculum Plan
content_plan.json
Lesson Content
- Curriculum Generation
src/generator.py - Lesson Script
src/generator.py
Video Production
- Narration Audio
src/generator.py - Slide Visuals
src/generator.py - Video Rendering
src/generator.py - Background Music
assets/music/bg_music.mp3 - Custom Thumbnails
src/generator.py
Publishing
- YouTube Uploader
src/uploader.py - Progress Commit
content_plan.json
Other components
- Daily Scheduler
.github/workflows/main.yml - Gemini API
- gTTS
- Pexels Imagery
- YouTube Data API
Connections 16
- Daily Scheduler → Lesson Pipeline: starts daily
README.md - Lesson Pipeline → Curriculum Plan: reads and updates
main.py - Lesson Pipeline → Curriculum Generation: requests curriculum
main.py - Lesson Pipeline → Lesson Script: requests lesson
main.py - Curriculum Generation → Gemini API: generates plan
README.md - Lesson Script → Gemini API: generates script
README.md - Lesson Pipeline → Narration Audio: creates narration
main.py - Narration Audio → gTTS: converts speech
README.md - Lesson Pipeline → Slide Visuals: creates slides
main.py - Slide Visuals → Pexels Imagery: fetches imagery
src/generator.py - Lesson Pipeline → Video Rendering: renders both formats
main.py - Video Rendering → Background Music: mixes background music
README.md - Lesson Pipeline → Custom Thumbnails: creates thumbnails
main.py - Lesson Pipeline → YouTube Uploader: uploads videos
main.py - YouTube Uploader → YouTube Data API: uploads video and thumbnail
src/uploader.py - Lesson Pipeline → Progress Commit: commits progress
README.md