Quickstart Guide
Get from zero to your first automatically generated video in just 10 minutes. This guide will walk you through the fastest path to generating content.Prerequisites: Node.js 18+ installed. If you donβt have it, download Node.js here.
Quick Setup
1
Clone and Install
Get the repository and install dependencies:This will install all required packages including:
googleapis- YouTube API integrationopenai/@google/generative-ai- AI content generationexpress- API serversqlite3- Database managementnode-cron- Task scheduling
2
Run Setup Wizard
The interactive setup wizard will guide you through configuration:The setup wizard will:
All directories created automatically with proper permissions.
Create Directory Structure
Create Directory Structure
Initialize Database
Initialize Database
Configure Credentials
Configure Credentials
Interactive prompts for:
- YouTube API credentials (OAuth 2.0)
- AI provider selection (OpenAI or Gemini)
- API keys for chosen provider
- Channel preferences and settings
Create Environment File
Create Environment File
3
Configure API Keys
Youβll need two sets of credentials:
YouTube Data API (Required - FREE)
1
Create Google Cloud Project
- Go to Google Cloud Console
- Click βCreate Projectβ (name it βYouTube Automationβ)
- Wait for project creation to complete
2
Enable YouTube API
- Navigate to βAPIs & Servicesβ β βLibraryβ
- Search for βYouTube Data API v3β
- Click βEnableβ
3
Create OAuth Credentials
- Go to βCredentialsβ β βCreate Credentialsβ β βOAuth client IDβ
- Choose βDesktop appβ as application type
- Download the JSON file
- Save as
config/credentials.json
AI Provider (Choose One)
4
Start the System
Launch the automation agent:You should see:
Generate Your First Video
Now letβs create content! You have three options:- Automatic (Recommended)
- Custom Topic
- Test Mode
Let the AI Choose
The Content Strategy Agent will analyze trends and select the best topic:Understanding the Response
When you generate content, youβll receive:contentId
Unique identifier for tracking through production pipeline
title
SEO-optimized title generated by the system
scheduledFor
Optimal publish time based on audience analysis
Monitoring Your Content
View Dashboard
Access the web dashboard:Check Health Status
View Publishing Schedule
Get Analytics
What Happens Next?
With the system running, hereβs the automatic workflow:1
Daily Content Generation (6:00 AM)
2
Publishing Queue Processing (Every 15 Minutes)
3
Analytics Collection (9:00 AM)
4
Optimization Tasks (10:00 PM)
Customizing Your Workflow
Change Posting Frequency
Edit your.env file:
Configure Content Preferences
Troubleshooting
Setup fails with 'YouTube API quota exceeded'
Setup fails with 'YouTube API quota exceeded'
Solution: Check your Google Cloud Console quotas:
- Go to Google Cloud Console
- Navigate to βAPIs & Servicesβ β βQuotasβ
- YouTube Data API v3 should have 10,000 units/day by default
- If exceeded, wait 24 hours or request quota increase
Content generation fails
Content generation fails
Check:
Database errors
Database errors
Reset database:
Publishing fails
Publishing fails
Verify OAuth tokens:
- Check
config/credentials.jsonexists - Ensure YouTube OAuth consent screen is configured
- Re-run authentication if needed
Next Steps
Installation Guide
Deep dive into configuration and deployment options
API Reference
Complete API documentation and examples
Success! Your YouTube channel is now fully automated. The system will generate, optimize, and publish content according to your schedule.