How olelehmann/youtube-automation-agent works
This repository is a YouTube channel automation service: a user requests content through the dashboard/API or automation runs on a schedule; specialized agents plan topics, write scripts, create thumbnails and SEO metadata, produce video assets, then schedule and publish to YouTube. Analytics feed ongoing optimization. The graph reflects the documented stages and source-index references; unsampled integrations and internal agent handoffs are omitted where no caller evidence was provided.
Main entry points: index.js Dashboard and API · db.js Automation Database · logger.js Logging · production-management-agent.js Production Management
Components 18
Service Control
- Dashboard and API
index.js - Web Dashboard
dashboard/index.html - Automation Scheduler
schedules/daily-automation.js
Content Planning
- Trend Strategy
agents/content-strategy-agent.js - Script Writing
agents/script-writer-agent.js - SEO Optimization
agents/seo-optimizer-agent.js
Video Production
- Thumbnail Design
agents/thumbnail-designer-agent.js - Production Management
agents/production-management-agent.js - AI Media Generation
utils/ai-video-generator.js - Generated Content Assets
data
Publishing and Insights
- Publishing and Scheduling
agents/publishing-scheduling-agent.js - YouTube Platform
- Analytics and Optimization
agents/analytics-optimization-agent.js
Persistence and Support
- Automation Database
database/db.js - Credential Management
utils/credential-manager.js - Initial Setup
setup.js - Logging
utils/logger.js
Other components
- Channel Operator
Connections 36
- Channel Operator → Web Dashboard: uses
README.md - Web Dashboard → Dashboard and API: sends requests
README.md - Channel Operator → Dashboard and API: requests generation
README.md - Dashboard and API → Trend Strategy: dispatches to
index.js - Dashboard and API → Script Writing: dispatches to
index.js - Dashboard and API → Thumbnail Design: dispatches to
index.js - Dashboard and API → SEO Optimization: dispatches to
index.js - Dashboard and API → Production Management: dispatches to
index.js - Dashboard and API → Publishing and Scheduling: publishes via
index.js - Dashboard and API → Analytics and Optimization: queries
index.js - Dashboard and API → Automation Database: reads schedule
index.js - Dashboard and API → Credential Management: validates
index.js - Dashboard and API → Automation Scheduler: initializes
index.js - Automation Scheduler → Publishing and Scheduling: checks schedule
schedules/daily-automation.js - Automation Scheduler → Automation Database: reads settings
schedules/daily-automation.js - Production Management → AI Media Generation: generates media
agents/production-management-agent.js - Production Management → Generated Content Assets: writes assets
agents/production-management-agent.js - Publishing and Scheduling → YouTube Platform: uploads video
agents/publishing-scheduling-agent.js - Publishing and Scheduling → Automation Database: saves schedule
agents/publishing-scheduling-agent.js - Trend Strategy → Automation Database: loads history
- Script Writing → Automation Database: saves script
agents/script-writer-agent.js - Thumbnail Design → Automation Database: saves thumbnail
agents/thumbnail-designer-agent.js - SEO Optimization → Automation Database: saves SEO data
agents/seo-optimizer-agent.js - Production Management → Automation Database: updates production
- Analytics and Optimization → YouTube Platform: analyzes performance
- Analytics and Optimization → Automation Database: stores reports
- Initial Setup → Credential Management: configures
setup.js - Initial Setup → Automation Database: initializes
setup.js - Trend Strategy → Logging: logs events
agents/content-strategy-agent.js - Script Writing → Logging: logs events
agents/script-writer-agent.js - Thumbnail Design → Logging: logs events
agents/thumbnail-designer-agent.js - SEO Optimization → Logging: logs events
agents/seo-optimizer-agent.js - Production Management → Logging: logs events
agents/production-management-agent.js - Publishing and Scheduling → Logging: logs events
agents/publishing-scheduling-agent.js - Analytics and Optimization → Logging: logs events
agents/analytics-optimization-agent.js - Automation Scheduler → Logging: logs events
schedules/daily-automation.js