Skip to main content

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 integration
  • openai / @google/generative-ai - AI content generation
  • express - API server
  • sqlite3 - Database management
  • node-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.
Interactive prompts for:
  • YouTube API credentials (OAuth 2.0)
  • AI provider selection (OpenAI or Gemini)
  • API keys for chosen provider
  • Channel preferences and settings
3

Configure API Keys

You’ll need two sets of credentials:

YouTube Data API (Required - FREE)

1

Create Google Cloud Project

  1. Go to Google Cloud Console
  2. Click β€œCreate Project” (name it β€œYouTube Automation”)
  3. Wait for project creation to complete
2

Enable YouTube API

  1. Navigate to β€œAPIs & Services” β†’ β€œLibrary”
  2. Search for β€œYouTube Data API v3”
  3. Click β€œEnable”
3

Create OAuth Credentials

  1. Go to β€œCredentials” β†’ β€œCreate Credentials” β†’ β€œOAuth client ID”
  2. Choose β€œDesktop app” as application type
  3. Download the JSON file
  4. 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:

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

Response:

View Publishing Schedule

See all upcoming content:

Get Analytics

What Happens Next?

With the system running, here’s the automatic workflow:
1

Daily Content Generation (6:00 AM)

Generates new content if buffer is low.
2

Publishing Queue Processing (Every 15 Minutes)

Automatically uploads videos at scheduled times.
3

Analytics Collection (9:00 AM)

Collects performance data for recent videos.
4

Optimization Tasks (10:00 PM)

Improves content and maintains system health.

Customizing Your Workflow

Change Posting Frequency

Edit your .env file:

Configure Content Preferences

Troubleshooting

Solution: Check your Google Cloud Console quotas:
  1. Go to Google Cloud Console
  2. Navigate to β€œAPIs & Services” β†’ β€œQuotas”
  3. YouTube Data API v3 should have 10,000 units/day by default
  4. If exceeded, wait 24 hours or request quota increase
Check:
Reset database:
Verify OAuth tokens:
  1. Check config/credentials.json exists
  2. Ensure YouTube OAuth consent screen is configured
  3. 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.