Spaces:
Sleeping
Sleeping
Delete uploader.html
Browse files- uploader.html +0 -748
uploader.html
DELETED
|
@@ -1,748 +0,0 @@
|
|
| 1 |
-
<!DOCTYPE html>
|
| 2 |
-
<html lang="en">
|
| 3 |
-
<head>
|
| 4 |
-
<meta charset="UTF-8">
|
| 5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>YouTube Uploader - YouTube Automation</title>
|
| 7 |
-
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
| 8 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
-
</head>
|
| 10 |
-
<body>
|
| 11 |
-
<div class="background-animation">
|
| 12 |
-
<div class="gradient-orb orb-1"></div>
|
| 13 |
-
<div class="gradient-orb orb-2"></div>
|
| 14 |
-
<div class="gradient-orb orb-3"></div>
|
| 15 |
-
</div>
|
| 16 |
-
|
| 17 |
-
<!-- Navigation -->
|
| 18 |
-
<nav class="navbar glass-card">
|
| 19 |
-
<div class="nav-container">
|
| 20 |
-
<a href="/" class="nav-brand">
|
| 21 |
-
<i class="fab fa-youtube"></i>
|
| 22 |
-
<span>YouTube Automation</span>
|
| 23 |
-
</a>
|
| 24 |
-
<div class="nav-menu">
|
| 25 |
-
<a href="/" class="nav-link"><i class="fas fa-home"></i> Home</a>
|
| 26 |
-
<a href="/downloader" class="nav-link"><i class="fas fa-download"></i> Downloader</a>
|
| 27 |
-
<a href="/metadata-generator" class="nav-link"><i class="fas fa-brain"></i> Metadata</a>
|
| 28 |
-
<a href="/uploader" class="nav-link active"><i class="fas fa-upload"></i> Uploader</a>
|
| 29 |
-
</div>
|
| 30 |
-
|
| 31 |
-
<!-- Auth Buttons (shown when not authenticated) -->
|
| 32 |
-
<div id="navAuthButtons" class="nav-auth-buttons">
|
| 33 |
-
<button id="navSignInBtn" class="btn btn-nav-signin">
|
| 34 |
-
<i class="fab fa-youtube"></i> Sign in
|
| 35 |
-
</button>
|
| 36 |
-
</div>
|
| 37 |
-
|
| 38 |
-
<!-- User Menu (shown when authenticated) -->
|
| 39 |
-
<div id="navUserMenu" class="nav-user-menu" style="display: none;">
|
| 40 |
-
<div class="user-avatar" id="navUserAvatar">
|
| 41 |
-
<img id="navUserAvatarImg" src="" alt="User Avatar">
|
| 42 |
-
</div>
|
| 43 |
-
<div class="user-dropdown">
|
| 44 |
-
<div class="user-info">
|
| 45 |
-
<div class="user-name" id="navUserName">Channel Name</div>
|
| 46 |
-
<div class="user-email" id="navUserStats">Stats</div>
|
| 47 |
-
</div>
|
| 48 |
-
<div class="dropdown-divider"></div>
|
| 49 |
-
<button class="dropdown-item dropdown-logout" id="navLogoutBtn">
|
| 50 |
-
<i class="fas fa-sign-out-alt"></i> Logout
|
| 51 |
-
</button>
|
| 52 |
-
</div>
|
| 53 |
-
</div>
|
| 54 |
-
|
| 55 |
-
<button class="mobile-menu-toggle" id="mobileMenuToggle">
|
| 56 |
-
<i class="fas fa-bars"></i>
|
| 57 |
-
</button>
|
| 58 |
-
</div>
|
| 59 |
-
</nav>
|
| 60 |
-
|
| 61 |
-
<!-- Mobile Menu -->
|
| 62 |
-
<div class="mobile-menu glass-card" id="mobileMenu">
|
| 63 |
-
<a href="/" class="mobile-menu-link"><i class="fas fa-home"></i> Home</a>
|
| 64 |
-
<a href="/downloader" class="mobile-menu-link"><i class="fas fa-download"></i> Downloader</a>
|
| 65 |
-
<a href="/metadata-generator" class="mobile-menu-link"><i class="fas fa-brain"></i> Metadata Generator</a>
|
| 66 |
-
<a href="/uploader" class="mobile-menu-link"><i class="fas fa-upload"></i> Uploader</a>
|
| 67 |
-
<div class="mobile-menu-divider"></div>
|
| 68 |
-
|
| 69 |
-
<!-- Mobile Sign In (shown when not authenticated) -->
|
| 70 |
-
<button id="mobileSignInBtn" class="btn btn-nav-signin mobile-menu-btn">
|
| 71 |
-
<i class="fab fa-youtube"></i> Sign in
|
| 72 |
-
</button>
|
| 73 |
-
|
| 74 |
-
<!-- Mobile User Info (shown when authenticated) -->
|
| 75 |
-
<div id="mobileUserInfo" style="display: none; padding: 14px;">
|
| 76 |
-
<div style="font-weight: 600; margin-bottom: 5px;" id="mobileUserName">Channel Name</div>
|
| 77 |
-
<div style="font-size: 13px; color: var(--text-secondary);" id="mobileUserStats">Stats</div>
|
| 78 |
-
</div>
|
| 79 |
-
<button class="btn btn-logout mobile-menu-btn" id="mobileLogoutBtn" style="display: none;">
|
| 80 |
-
<i class="fas fa-sign-out-alt"></i> Logout
|
| 81 |
-
</button>
|
| 82 |
-
</div>
|
| 83 |
-
|
| 84 |
-
<div class="container">
|
| 85 |
-
<!-- Hero Section -->
|
| 86 |
-
<section class="page-hero fade-in">
|
| 87 |
-
<div class="hero-badge">
|
| 88 |
-
<i class="fas fa-upload"></i>
|
| 89 |
-
<span>Complete Automation</span>
|
| 90 |
-
</div>
|
| 91 |
-
<h1>YouTube Auto Uploader</h1>
|
| 92 |
-
<p class="hero-subtitle">Upload videos directly to YouTube with AI-generated metadata. Fully automated workflow from Instagram download to YouTube publish.</p>
|
| 93 |
-
</section>
|
| 94 |
-
|
| 95 |
-
<!-- Auth Section -->
|
| 96 |
-
<section id="authSection" class="upload-section glass-card fade-in-delay text-center" style="display: none;">
|
| 97 |
-
<div class="section-header">
|
| 98 |
-
<i class="fab fa-youtube"></i>
|
| 99 |
-
<h2>Connect Your YouTube Channel</h2>
|
| 100 |
-
<p>Sign in to start uploading videos automatically</p>
|
| 101 |
-
</div>
|
| 102 |
-
|
| 103 |
-
<div class="auth-benefits" style="max-width: 600px; margin: 30px auto;">
|
| 104 |
-
<div class="benefit-item">
|
| 105 |
-
<i class="fas fa-check-circle"></i>
|
| 106 |
-
<span>Secure OAuth 2.0 authentication</span>
|
| 107 |
-
</div>
|
| 108 |
-
<div class="benefit-item">
|
| 109 |
-
<i class="fas fa-check-circle"></i>
|
| 110 |
-
<span>Direct YouTube API integration</span>
|
| 111 |
-
</div>
|
| 112 |
-
<div class="benefit-item">
|
| 113 |
-
<i class="fas fa-check-circle"></i>
|
| 114 |
-
<span>Full control over your channel</span>
|
| 115 |
-
</div>
|
| 116 |
-
<div class="benefit-item">
|
| 117 |
-
<i class="fas fa-check-circle"></i>
|
| 118 |
-
<span>Revoke access anytime</span>
|
| 119 |
-
</div>
|
| 120 |
-
</div>
|
| 121 |
-
|
| 122 |
-
<button id="authBtn" class="btn btn-auth btn-large">
|
| 123 |
-
<i class="fab fa-youtube"></i> Sign in with YouTube
|
| 124 |
-
</button>
|
| 125 |
-
|
| 126 |
-
<p style="margin-top: 20px; font-size: 13px; color: var(--text-secondary);">
|
| 127 |
-
We only request upload permissions. Your data is secure.
|
| 128 |
-
</p>
|
| 129 |
-
</section>
|
| 130 |
-
|
| 131 |
-
<!-- Channel Info -->
|
| 132 |
-
<section id="channelInfo" class="channel-info glass-card fade-in" style="display: none;">
|
| 133 |
-
<div class="channel-header">
|
| 134 |
-
<img id="channelAvatar" class="channel-avatar" src="" alt="Channel Avatar">
|
| 135 |
-
<div class="channel-details">
|
| 136 |
-
<h2 id="channelName">Channel Name</h2>
|
| 137 |
-
<p id="channelStats">Loading...</p>
|
| 138 |
-
</div>
|
| 139 |
-
</div>
|
| 140 |
-
</section>
|
| 141 |
-
|
| 142 |
-
<!-- Upload Section -->
|
| 143 |
-
<section id="uploadSection" class="upload-section glass-card fade-in-delay" style="display: none;">
|
| 144 |
-
<div class="section-header">
|
| 145 |
-
<i class="fas fa-cloud-upload-alt"></i>
|
| 146 |
-
<h2>Auto Upload to YouTube</h2>
|
| 147 |
-
<p>Paste Instagram Reel URL and let AI handle the rest</p>
|
| 148 |
-
</div>
|
| 149 |
-
|
| 150 |
-
<div class="input-group">
|
| 151 |
-
<i class="fab fa-instagram"></i>
|
| 152 |
-
<input type="text" id="reelUrl" class="glass-input"
|
| 153 |
-
placeholder="Paste Instagram Reel URL here...">
|
| 154 |
-
</div>
|
| 155 |
-
|
| 156 |
-
<!-- Video Editing Options Section (NEW) -->
|
| 157 |
-
<div class="video-editing-section glass-card" style="margin-top: 25px; padding: 25px;">
|
| 158 |
-
<div style="display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;">
|
| 159 |
-
<div>
|
| 160 |
-
<h3 style="margin: 0; font-size: 18px; display: flex; align-items: center; gap: 10px;">
|
| 161 |
-
<i class="fas fa-magic"></i> Video Editing (Optional)
|
| 162 |
-
</h3>
|
| 163 |
-
<p style="margin: 5px 0 0 0; font-size: 13px; color: var(--text-secondary);">
|
| 164 |
-
Enhance your video with background music and text overlays
|
| 165 |
-
</p>
|
| 166 |
-
</div>
|
| 167 |
-
<label class="toggle-switch">
|
| 168 |
-
<input type="checkbox" id="enableEditingToggle">
|
| 169 |
-
<span class="toggle-slider"></span>
|
| 170 |
-
</label>
|
| 171 |
-
</div>
|
| 172 |
-
|
| 173 |
-
<div id="editingOptions" style="display: none; animation: slideDown 0.3s ease;">
|
| 174 |
-
<!-- Background Music Section -->
|
| 175 |
-
<div class="editing-option" style="margin-bottom: 20px;">
|
| 176 |
-
<label style="display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 600;">
|
| 177 |
-
<i class="fas fa-music" style="color: var(--secondary);"></i>
|
| 178 |
-
Background Music
|
| 179 |
-
</label>
|
| 180 |
-
|
| 181 |
-
<!-- Music Source Tabs -->
|
| 182 |
-
<div style="display: flex; gap: 10px; margin-bottom: 15px;">
|
| 183 |
-
<button type="button" id="musicTabUrl" class="btn btn-secondary" style="flex: 1; padding: 10px; font-size: 14px;">
|
| 184 |
-
<i class="fab fa-youtube"></i> YouTube URL
|
| 185 |
-
</button>
|
| 186 |
-
<button type="button" id="musicTabFile" class="btn btn-secondary" style="flex: 1; padding: 10px; font-size: 14px; opacity: 0.6;">
|
| 187 |
-
<i class="fas fa-file-audio"></i> Local File
|
| 188 |
-
</button>
|
| 189 |
-
</div>
|
| 190 |
-
|
| 191 |
-
<!-- YouTube URL Input -->
|
| 192 |
-
<div id="musicUrlSection">
|
| 193 |
-
<div class="input-group" style="margin-bottom: 10px;">
|
| 194 |
-
<i class="fab fa-youtube"></i>
|
| 195 |
-
<input type="text" id="musicUrl" class="glass-input"
|
| 196 |
-
placeholder="Paste YouTube music URL (optional)...">
|
| 197 |
-
</div>
|
| 198 |
-
</div>
|
| 199 |
-
|
| 200 |
-
<!-- Local File Input -->
|
| 201 |
-
<div id="musicFileSection" style="display: none;">
|
| 202 |
-
<div class="input-group" style="margin-bottom: 10px; cursor: pointer;" onclick="document.getElementById('musicFileInput').click();">
|
| 203 |
-
<i class="fas fa-upload"></i>
|
| 204 |
-
<input type="text" id="musicFileName" class="glass-input"
|
| 205 |
-
placeholder="Choose audio file from device..." readonly>
|
| 206 |
-
<input type="file" id="musicFileInput" accept="audio/*,.mp3,.wav,.m4a,.aac" style="display: none;">
|
| 207 |
-
</div>
|
| 208 |
-
<p style="font-size: 12px; color: var(--text-secondary); margin-top: 5px;">
|
| 209 |
-
<i class="fas fa-info-circle"></i> Supported formats: MP3, WAV, M4A, AAC
|
| 210 |
-
</p>
|
| 211 |
-
</div>
|
| 212 |
-
|
| 213 |
-
<div style="display: flex; align-items: center; gap: 15px;">
|
| 214 |
-
<label style="font-size: 14px; color: var(--text-secondary);">
|
| 215 |
-
<i class="fas fa-volume-up"></i> Volume:
|
| 216 |
-
</label>
|
| 217 |
-
<input type="range" id="musicVolume" min="0" max="100" value="30"
|
| 218 |
-
style="flex: 1; accent-color: var(--secondary);">
|
| 219 |
-
<span id="volumeValue" style="min-width: 40px; font-weight: 600;">30%</span>
|
| 220 |
-
</div>
|
| 221 |
-
</div>
|
| 222 |
-
|
| 223 |
-
<!-- Text Overlays Section -->
|
| 224 |
-
<div class="editing-option">
|
| 225 |
-
<label style="display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 600;">
|
| 226 |
-
<i class="fas fa-text-height" style="color: var(--primary);"></i>
|
| 227 |
-
Text Overlays
|
| 228 |
-
</label>
|
| 229 |
-
<div id="textOverlaysContainer">
|
| 230 |
-
<!-- Text overlay items will be added here -->
|
| 231 |
-
</div>
|
| 232 |
-
<button type="button" id="addTextOverlay" class="btn btn-secondary"
|
| 233 |
-
style="width: 100%; margin-top: 10px;">
|
| 234 |
-
<i class="fas fa-plus"></i> Add Text Overlay
|
| 235 |
-
</button>
|
| 236 |
-
</div>
|
| 237 |
-
</div>
|
| 238 |
-
</div>
|
| 239 |
-
|
| 240 |
-
<div class="button-group">
|
| 241 |
-
<button id="uploadBtn" class="btn btn-primary">
|
| 242 |
-
<i class="fas fa-upload"></i> Auto Upload
|
| 243 |
-
</button>
|
| 244 |
-
</div>
|
| 245 |
-
|
| 246 |
-
<!-- Progress Section -->
|
| 247 |
-
<div id="progressSection" class="progress-section" style="display: none;">
|
| 248 |
-
<div class="progress-header">
|
| 249 |
-
<h3 id="progressTitle">Processing...</h3>
|
| 250 |
-
<span id="progressPercent" class="progress-percent">0%</span>
|
| 251 |
-
</div>
|
| 252 |
-
<div class="progress-bar">
|
| 253 |
-
<div id="progressFill" class="progress-fill" style="width: 0%"></div>
|
| 254 |
-
</div>
|
| 255 |
-
<p id="progressMessage" class="progress-message">Starting...</p>
|
| 256 |
-
</div>
|
| 257 |
-
|
| 258 |
-
<!-- Metadata Preview -->
|
| 259 |
-
<div id="metadataPreview" class="metadata-preview" style="display: none;">
|
| 260 |
-
<h3><i class="fas fa-sparkles"></i> AI Generated Metadata</h3>
|
| 261 |
-
<div class="metadata-content">
|
| 262 |
-
<div class="metadata-item">
|
| 263 |
-
<label><i class="fas fa-heading"></i> Title</label>
|
| 264 |
-
<div id="previewTitle" class="metadata-value"></div>
|
| 265 |
-
</div>
|
| 266 |
-
<div class="metadata-item">
|
| 267 |
-
<label><i class="fas fa-align-left"></i> Description</label>
|
| 268 |
-
<div id="previewDescription" class="metadata-value scrollable"></div>
|
| 269 |
-
</div>
|
| 270 |
-
<div class="metadata-item">
|
| 271 |
-
<label><i class="fas fa-tags"></i> Tags</label>
|
| 272 |
-
<div id="previewTags" class="metadata-tags"></div>
|
| 273 |
-
</div>
|
| 274 |
-
<div class="metadata-item">
|
| 275 |
-
<label><i class="fas fa-hashtag"></i> Hashtags</label>
|
| 276 |
-
<div id="previewHashtags" class="metadata-tags"></div>
|
| 277 |
-
</div>
|
| 278 |
-
</div>
|
| 279 |
-
</div>
|
| 280 |
-
|
| 281 |
-
<!-- Success Result -->
|
| 282 |
-
<div id="successResult" class="result-section success glass-card" style="display: none;">
|
| 283 |
-
<div class="result-icon">🎉</div>
|
| 284 |
-
<h3>Upload Successful!</h3>
|
| 285 |
-
<p>Your video is now live on YouTube</p>
|
| 286 |
-
<div class="button-group">
|
| 287 |
-
<a id="watchBtn" href="#" target="_blank" class="btn btn-watch">
|
| 288 |
-
<i class="fab fa-youtube"></i> Watch on YouTube
|
| 289 |
-
</a>
|
| 290 |
-
<button id="uploadAnotherBtn" class="btn btn-retry">
|
| 291 |
-
<i class="fas fa-plus"></i> Upload Another
|
| 292 |
-
</button>
|
| 293 |
-
</div>
|
| 294 |
-
</div>
|
| 295 |
-
|
| 296 |
-
<!-- Error Result -->
|
| 297 |
-
<div id="errorResult" class="result-section error glass-card" style="display: none;">
|
| 298 |
-
<div class="result-icon">❌</div>
|
| 299 |
-
<h3>Upload Failed</h3>
|
| 300 |
-
<p id="errorMessage">An error occurred</p>
|
| 301 |
-
<button id="retryBtn" class="btn btn-retry">
|
| 302 |
-
<i class="fas fa-redo"></i> Try Again
|
| 303 |
-
</button>
|
| 304 |
-
</div>
|
| 305 |
-
</section>
|
| 306 |
-
|
| 307 |
-
<!-- Features Section -->
|
| 308 |
-
<section class="features-section fade-in-delay-1">
|
| 309 |
-
<div class="section-header">
|
| 310 |
-
<h2>Complete Automation Features</h2>
|
| 311 |
-
<p>Everything you need for effortless YouTube uploads</p>
|
| 312 |
-
</div>
|
| 313 |
-
|
| 314 |
-
<div class="features-grid-small">
|
| 315 |
-
<div class="feature-card glass-card">
|
| 316 |
-
<i class="fas fa-robot feature-icon-small"></i>
|
| 317 |
-
<h3>Fully Automated</h3>
|
| 318 |
-
<p>One-click upload process. No manual work required. From download to publish in minutes.</p>
|
| 319 |
-
</div>
|
| 320 |
-
|
| 321 |
-
<div class="feature-card glass-card">
|
| 322 |
-
<i class="fas fa-brain feature-icon-small"></i>
|
| 323 |
-
<h3>AI Metadata</h3>
|
| 324 |
-
<p>Automatically generates SEO-optimized titles, descriptions, tags, and hashtags using AI.</p>
|
| 325 |
-
</div>
|
| 326 |
-
|
| 327 |
-
<div class="feature-card glass-card">
|
| 328 |
-
<i class="fas fa-bolt feature-icon-small"></i>
|
| 329 |
-
<h3>Lightning Fast</h3>
|
| 330 |
-
<p>High-speed processing ensures your content is live on YouTube in record time.</p>
|
| 331 |
-
</div>
|
| 332 |
-
|
| 333 |
-
<div class="feature-card glass-card">
|
| 334 |
-
<i class="fas fa-shield-alt feature-icon-small"></i>
|
| 335 |
-
<h3>Secure OAuth</h3>
|
| 336 |
-
<p>Industry-standard OAuth 2.0 authentication. Your credentials are never stored.</p>
|
| 337 |
-
</div>
|
| 338 |
-
|
| 339 |
-
<div class="feature-card glass-card">
|
| 340 |
-
<i class="fas fa-chart-line feature-icon-small"></i>
|
| 341 |
-
<h3>Real-time Tracking</h3>
|
| 342 |
-
<p>Monitor upload progress in real-time with detailed status updates at each stage.</p>
|
| 343 |
-
</div>
|
| 344 |
-
|
| 345 |
-
<div class="feature-card glass-card">
|
| 346 |
-
<i class="fas fa-cog feature-icon-small"></i>
|
| 347 |
-
<h3>Custom Settings</h3>
|
| 348 |
-
<p>Choose privacy settings, categories, and other options for your uploads.</p>
|
| 349 |
-
</div>
|
| 350 |
-
</div>
|
| 351 |
-
</section>
|
| 352 |
-
|
| 353 |
-
<!-- How It Works Section -->
|
| 354 |
-
<section class="how-to-use glass-card fade-in-delay-2">
|
| 355 |
-
<div class="section-header">
|
| 356 |
-
<h2>How Auto Upload Works</h2>
|
| 357 |
-
<p>Complete automation in 4 simple steps</p>
|
| 358 |
-
</div>
|
| 359 |
-
|
| 360 |
-
<div class="steps-list">
|
| 361 |
-
<div class="step-card">
|
| 362 |
-
<div class="step-number-badge">1</div>
|
| 363 |
-
<div class="step-info">
|
| 364 |
-
<h3>Authenticate with YouTube</h3>
|
| 365 |
-
<p>Click "Sign in with YouTube" to connect your channel. Uses secure OAuth 2.0 authentication. This is a one-time setup.</p>
|
| 366 |
-
<div class="step-tip">
|
| 367 |
-
<i class="fas fa-shield-alt"></i>
|
| 368 |
-
<span>Secure authentication - we never store your password</span>
|
| 369 |
-
</div>
|
| 370 |
-
</div>
|
| 371 |
-
</div>
|
| 372 |
-
|
| 373 |
-
<div class="step-card">
|
| 374 |
-
<div class="step-number-badge">2</div>
|
| 375 |
-
<div class="step-info">
|
| 376 |
-
<h3>Paste Instagram Reel URL</h3>
|
| 377 |
-
<p>Copy the link to the Instagram Reel you want to upload and paste it into the input field.</p>
|
| 378 |
-
<div class="step-tip">
|
| 379 |
-
<i class="fas fa-link"></i>
|
| 380 |
-
<span>Supports all public Instagram Reels</span>
|
| 381 |
-
</div>
|
| 382 |
-
</div>
|
| 383 |
-
</div>
|
| 384 |
-
|
| 385 |
-
<div class="step-card">
|
| 386 |
-
<div class="step-number-badge">3</div>
|
| 387 |
-
<div class="step-info">
|
| 388 |
-
<h3>AI Analyzes & Generates</h3>
|
| 389 |
-
<p>Our AI downloads the video, analyzes content, and generates optimized metadata including title, description, tags, and hashtags.</p>
|
| 390 |
-
<div class="step-tip">
|
| 391 |
-
<i class="fas fa-magic"></i>
|
| 392 |
-
<span>Powered by Google Gemini AI for best results</span>
|
| 393 |
-
</div>
|
| 394 |
-
</div>
|
| 395 |
-
</div>
|
| 396 |
-
|
| 397 |
-
<div class="step-card">
|
| 398 |
-
<div class="step-number-badge">4</div>
|
| 399 |
-
<div class="step-info">
|
| 400 |
-
<h3>Auto Upload to YouTube</h3>
|
| 401 |
-
<p>Video is automatically uploaded to your YouTube channel with all AI-generated metadata applied. Your video goes live instantly!</p>
|
| 402 |
-
<div class="step-tip">
|
| 403 |
-
<i class="fas fa-rocket"></i>
|
| 404 |
-
<span>Track real-time progress and get instant video link</span>
|
| 405 |
-
</div>
|
| 406 |
-
</div>
|
| 407 |
-
</div>
|
| 408 |
-
</div>
|
| 409 |
-
</section>
|
| 410 |
-
|
| 411 |
-
<!-- Benefits Section -->
|
| 412 |
-
<section class="benefits-section fade-in-delay-2">
|
| 413 |
-
<div class="section-header">
|
| 414 |
-
<h2>Why Use Auto Uploader?</h2>
|
| 415 |
-
<p>Advantages of automated YouTube uploads</p>
|
| 416 |
-
</div>
|
| 417 |
-
|
| 418 |
-
<div class="benefits-grid">
|
| 419 |
-
<div class="benefit-card glass-card">
|
| 420 |
-
<i class="fas fa-clock benefit-icon"></i>
|
| 421 |
-
<h3>Save Hours</h3>
|
| 422 |
-
<p>Upload in minutes instead of hours. Automate your entire content workflow.</p>
|
| 423 |
-
</div>
|
| 424 |
-
|
| 425 |
-
<div class="benefit-card glass-card">
|
| 426 |
-
<i class="fas fa-sync benefit-icon"></i>
|
| 427 |
-
<h3>Consistent Quality</h3>
|
| 428 |
-
<p>Every upload gets professional-quality metadata automatically.</p>
|
| 429 |
-
</div>
|
| 430 |
-
|
| 431 |
-
<div class="benefit-card glass-card">
|
| 432 |
-
<i class="fas fa-search benefit-icon"></i>
|
| 433 |
-
<h3>SEO Optimized</h3>
|
| 434 |
-
<p>AI-generated metadata is optimized for YouTube's search algorithm.</p>
|
| 435 |
-
</div>
|
| 436 |
-
|
| 437 |
-
<div class="benefit-card glass-card">
|
| 438 |
-
<i class="fas fa-chart-line benefit-icon"></i>
|
| 439 |
-
<h3>Grow Faster</h3>
|
| 440 |
-
<p>Post more content consistently to grow your channel faster.</p>
|
| 441 |
-
</div>
|
| 442 |
-
|
| 443 |
-
<div class="benefit-card glass-card">
|
| 444 |
-
<i class="fas fa-shield-alt benefit-icon"></i>
|
| 445 |
-
<h3>100% Secure</h3>
|
| 446 |
-
<p>Official YouTube API with OAuth 2.0. Revoke access anytime.</p>
|
| 447 |
-
</div>
|
| 448 |
-
|
| 449 |
-
<div class="benefit-card glass-card">
|
| 450 |
-
<i class="fas fa-mobile-alt benefit-icon"></i>
|
| 451 |
-
<h3>Works Everywhere</h3>
|
| 452 |
-
<p>Upload from any device - desktop, tablet, or mobile.</p>
|
| 453 |
-
</div>
|
| 454 |
-
</div>
|
| 455 |
-
</section>
|
| 456 |
-
|
| 457 |
-
<!-- Use Cases Section -->
|
| 458 |
-
<section class="use-cases-section glass-card fade-in-delay-3">
|
| 459 |
-
<div class="section-header">
|
| 460 |
-
<h2>Perfect For</h2>
|
| 461 |
-
<p>Who benefits from automated YouTube uploads</p>
|
| 462 |
-
</div>
|
| 463 |
-
|
| 464 |
-
<div class="use-cases-grid">
|
| 465 |
-
<div class="use-case-item">
|
| 466 |
-
<i class="fas fa-video"></i>
|
| 467 |
-
<h4>Content Creators</h4>
|
| 468 |
-
<p>Repurpose Instagram content for YouTube effortlessly</p>
|
| 469 |
-
</div>
|
| 470 |
-
|
| 471 |
-
<div class="use-case-item">
|
| 472 |
-
<i class="fas fa-users"></i>
|
| 473 |
-
<h4>Social Media Managers</h4>
|
| 474 |
-
<p>Manage multiple channels with automated workflows</p>
|
| 475 |
-
</div>
|
| 476 |
-
|
| 477 |
-
<div class="use-case-item">
|
| 478 |
-
<i class="fas fa-bullhorn"></i>
|
| 479 |
-
<h4>Digital Marketers</h4>
|
| 480 |
-
<p>Scale video marketing campaigns across platforms</p>
|
| 481 |
-
</div>
|
| 482 |
-
|
| 483 |
-
<div class="use-case-item">
|
| 484 |
-
<i class="fas fa-store"></i>
|
| 485 |
-
<h4>E-commerce Brands</h4>
|
| 486 |
-
<p>Automatically post product videos to YouTube</p>
|
| 487 |
-
</div>
|
| 488 |
-
|
| 489 |
-
<div class="use-case-item">
|
| 490 |
-
<i class="fas fa-graduation-cap"></i>
|
| 491 |
-
<h4>Educators</h4>
|
| 492 |
-
<p>Share educational content across multiple platforms</p>
|
| 493 |
-
</div>
|
| 494 |
-
|
| 495 |
-
<div class="use-case-item">
|
| 496 |
-
<i class="fas fa-music"></i>
|
| 497 |
-
<h4>Musicians & Artists</h4>
|
| 498 |
-
<p>Promote your work with automated uploads</p>
|
| 499 |
-
</div>
|
| 500 |
-
</div>
|
| 501 |
-
</section>
|
| 502 |
-
|
| 503 |
-
<!-- FAQ Section -->
|
| 504 |
-
<section class="faq-section fade-in-delay-3">
|
| 505 |
-
<div class="section-header">
|
| 506 |
-
<h2>Frequently Asked Questions</h2>
|
| 507 |
-
<p>Everything you need to know about auto uploading</p>
|
| 508 |
-
</div>
|
| 509 |
-
|
| 510 |
-
<div class="faq-container">
|
| 511 |
-
<div class="faq-item glass-card">
|
| 512 |
-
<div class="faq-question">
|
| 513 |
-
<i class="fas fa-question-circle"></i>
|
| 514 |
-
<h3>Is my YouTube account safe?</h3>
|
| 515 |
-
<i class="fas fa-chevron-down faq-toggle"></i>
|
| 516 |
-
</div>
|
| 517 |
-
<div class="faq-answer">
|
| 518 |
-
<p>Yes, absolutely! We use YouTube's official API with OAuth 2.0 authentication, the same secure method used by Google's own applications. Your credentials are never stored on our servers, and you can revoke access anytime from your Google account settings.</p>
|
| 519 |
-
</div>
|
| 520 |
-
</div>
|
| 521 |
-
|
| 522 |
-
<div class="faq-item glass-card">
|
| 523 |
-
<div class="faq-question">
|
| 524 |
-
<i class="fas fa-question-circle"></i>
|
| 525 |
-
<h3>How long does the upload process take?</h3>
|
| 526 |
-
<i class="fas fa-chevron-down faq-toggle"></i>
|
| 527 |
-
</div>
|
| 528 |
-
<div class="faq-answer">
|
| 529 |
-
<p>The entire process typically takes 2-5 minutes depending on video size. Download takes 30-60 seconds, AI metadata generation takes 10-30 seconds, and YouTube upload takes 1-3 minutes.</p>
|
| 530 |
-
</div>
|
| 531 |
-
</div>
|
| 532 |
-
|
| 533 |
-
<div class="faq-item glass-card">
|
| 534 |
-
<div class="faq-question">
|
| 535 |
-
<i class="fas fa-question-circle"></i>
|
| 536 |
-
<h3>Can I customize the metadata before upload?</h3>
|
| 537 |
-
<i class="fas fa-chevron-down faq-toggle"></i>
|
| 538 |
-
</div>
|
| 539 |
-
<div class="faq-answer">
|
| 540 |
-
<p>Currently, metadata is automatically generated and applied. We're working on adding an editor feature where you can review and modify AI-generated metadata before the upload completes.</p>
|
| 541 |
-
</div>
|
| 542 |
-
</div>
|
| 543 |
-
|
| 544 |
-
<div class="faq-item glass-card">
|
| 545 |
-
<div class="faq-question">
|
| 546 |
-
<i class="fas fa-question-circle"></i>
|
| 547 |
-
<h3>What video privacy settings are used?</h3>
|
| 548 |
-
<i class="fas fa-chevron-down faq-toggle"></i>
|
| 549 |
-
</div>
|
| 550 |
-
<div class="faq-answer">
|
| 551 |
-
<p>By default, videos are uploaded as "Public". We're adding support for custom privacy settings (Private, Unlisted, Public) in an upcoming update.</p>
|
| 552 |
-
</div>
|
| 553 |
-
</div>
|
| 554 |
-
|
| 555 |
-
<div class="faq-item glass-card">
|
| 556 |
-
<div class="faq-question">
|
| 557 |
-
<i class="fas fa-question-circle"></i>
|
| 558 |
-
<h3>Are there any upload limits?</h3>
|
| 559 |
-
<i class="fas fa-chevron-down faq-toggle"></i>
|
| 560 |
-
</div>
|
| 561 |
-
<div class="faq-answer">
|
| 562 |
-
<p>Upload limits depend on YouTube API quotas. Standard quota allows approximately 6-10 uploads per day. For higher limits, you can request quota increase from Google Cloud Console.</p>
|
| 563 |
-
</div>
|
| 564 |
-
</div>
|
| 565 |
-
|
| 566 |
-
<div class="faq-item glass-card">
|
| 567 |
-
<div class="faq-question">
|
| 568 |
-
<i class="fas fa-question-circle"></i>
|
| 569 |
-
<h3>What happens if upload fails?</h3>
|
| 570 |
-
<i class="fas fa-chevron-down faq-toggle"></i>
|
| 571 |
-
</div>
|
| 572 |
-
<div class="faq-answer">
|
| 573 |
-
<p>If an upload fails, you'll receive a detailed error message. Common issues include expired Instagram session, YouTube quota limits, or network problems. You can retry the upload after resolving the issue.</p>
|
| 574 |
-
</div>
|
| 575 |
-
</div>
|
| 576 |
-
</div>
|
| 577 |
-
</section>
|
| 578 |
-
|
| 579 |
-
<!-- CTA Section -->
|
| 580 |
-
<section class="cta-section glass-card fade-in-delay-3 text-center">
|
| 581 |
-
<i class="fas fa-rocket cta-icon"></i>
|
| 582 |
-
<h2>Ready to Automate Your Uploads?</h2>
|
| 583 |
-
<p>Start uploading to YouTube with AI-powered automation today</p>
|
| 584 |
-
<div class="cta-buttons">
|
| 585 |
-
<button class="btn btn-primary btn-large" onclick="document.getElementById('authSection').scrollIntoView({ behavior: 'smooth' })">
|
| 586 |
-
<i class="fas fa-play"></i> Get Started Now
|
| 587 |
-
</button>
|
| 588 |
-
<a href="/metadata-generator" class="btn btn-preview btn-large">
|
| 589 |
-
<i class="fas fa-brain"></i> Try Metadata First
|
| 590 |
-
</a>
|
| 591 |
-
</div>
|
| 592 |
-
<p class="cta-note">No credit card required • Free to use</p>
|
| 593 |
-
</section>
|
| 594 |
-
</div>
|
| 595 |
-
|
| 596 |
-
<!-- Loading Overlay -->
|
| 597 |
-
<div id="loadingOverlay" class="loading-overlay" style="display: none;">
|
| 598 |
-
<div class="loading-spinner"></div>
|
| 599 |
-
<p>Processing...</p>
|
| 600 |
-
</div>
|
| 601 |
-
|
| 602 |
-
<!-- Toast Notification -->
|
| 603 |
-
<div id="toast" class="toast"></div>
|
| 604 |
-
|
| 605 |
-
<script>
|
| 606 |
-
// Mobile menu toggle
|
| 607 |
-
const mobileMenuToggle = document.getElementById('mobileMenuToggle');
|
| 608 |
-
const mobileMenu = document.getElementById('mobileMenu');
|
| 609 |
-
|
| 610 |
-
if (mobileMenuToggle) {
|
| 611 |
-
mobileMenuToggle.addEventListener('click', () => {
|
| 612 |
-
mobileMenu.classList.toggle('active');
|
| 613 |
-
});
|
| 614 |
-
}
|
| 615 |
-
|
| 616 |
-
// Close mobile menu when clicking outside
|
| 617 |
-
document.addEventListener('click', (e) => {
|
| 618 |
-
if (mobileMenu &&
|
| 619 |
-
mobileMenu.classList.contains('active') &&
|
| 620 |
-
!mobileMenu.contains(e.target) &&
|
| 621 |
-
!mobileMenuToggle.contains(e.target)) {
|
| 622 |
-
mobileMenu.classList.remove('active');
|
| 623 |
-
}
|
| 624 |
-
});
|
| 625 |
-
|
| 626 |
-
// FAQ Accordion
|
| 627 |
-
document.querySelectorAll('.faq-question').forEach(question => {
|
| 628 |
-
question.addEventListener('click', () => {
|
| 629 |
-
const faqItem = question.parentElement;
|
| 630 |
-
const isActive = faqItem.classList.contains('active');
|
| 631 |
-
|
| 632 |
-
document.querySelectorAll('.faq-item').forEach(item => {
|
| 633 |
-
item.classList.remove('active');
|
| 634 |
-
});
|
| 635 |
-
|
| 636 |
-
if (!isActive) {
|
| 637 |
-
faqItem.classList.add('active');
|
| 638 |
-
}
|
| 639 |
-
});
|
| 640 |
-
});
|
| 641 |
-
|
| 642 |
-
// Video Editing Toggle
|
| 643 |
-
const enableEditingToggle = document.getElementById('enableEditingToggle');
|
| 644 |
-
const editingOptions = document.getElementById('editingOptions');
|
| 645 |
-
|
| 646 |
-
if (enableEditingToggle) {
|
| 647 |
-
enableEditingToggle.addEventListener('change', () => {
|
| 648 |
-
editingOptions.style.display = enableEditingToggle.checked ? 'block' : 'none';
|
| 649 |
-
});
|
| 650 |
-
}
|
| 651 |
-
|
| 652 |
-
// Music Volume Slider
|
| 653 |
-
const musicVolume = document.getElementById('musicVolume');
|
| 654 |
-
const volumeValue = document.getElementById('volumeValue');
|
| 655 |
-
|
| 656 |
-
if (musicVolume && volumeValue) {
|
| 657 |
-
musicVolume.addEventListener('input', () => {
|
| 658 |
-
volumeValue.textContent = musicVolume.value + '%';
|
| 659 |
-
});
|
| 660 |
-
}
|
| 661 |
-
|
| 662 |
-
// Text Overlay Management
|
| 663 |
-
let overlayCount = 0;
|
| 664 |
-
const textOverlaysContainer = document.getElementById('textOverlaysContainer');
|
| 665 |
-
const addTextOverlayBtn = document.getElementById('addTextOverlay');
|
| 666 |
-
|
| 667 |
-
if (addTextOverlayBtn) {
|
| 668 |
-
addTextOverlayBtn.addEventListener('click', () => {
|
| 669 |
-
overlayCount++;
|
| 670 |
-
const overlayId = `overlay-${overlayCount}`;
|
| 671 |
-
|
| 672 |
-
const overlayDiv = document.createElement('div');
|
| 673 |
-
overlayDiv.className = 'text-overlay-item';
|
| 674 |
-
overlayDiv.id = overlayId;
|
| 675 |
-
overlayDiv.innerHTML = `
|
| 676 |
-
<div style="background: rgba(255, 255, 255, 0.02); padding: 15px; border-radius: 12px; margin-bottom: 10px; border: 1px solid var(--border);">
|
| 677 |
-
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;">
|
| 678 |
-
<span style="font-weight: 600; font-size: 14px;">Text Overlay #${overlayCount}</span>
|
| 679 |
-
<button type="button" class="remove-overlay-btn" data-overlay-id="${overlayId}"
|
| 680 |
-
style="background: rgba(255, 23, 68, 0.15); border: none; color: var(--error);
|
| 681 |
-
padding: 5px 12px; border-radius: 6px; cursor: pointer; font-size: 12px;">
|
| 682 |
-
<i class="fas fa-times"></i> Remove
|
| 683 |
-
</button>
|
| 684 |
-
</div>
|
| 685 |
-
<input type="text" class="glass-input overlay-text" placeholder="Enter text..."
|
| 686 |
-
style="width: 100%; margin-bottom: 10px; padding: 10px; font-size: 14px;">
|
| 687 |
-
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 10px;">
|
| 688 |
-
<select class="glass-input overlay-position" style="padding: 10px; font-size: 14px;">
|
| 689 |
-
<option value="top">Top</option>
|
| 690 |
-
<option value="bottom">Bottom</option>
|
| 691 |
-
<option value="center">Center</option>
|
| 692 |
-
</select>
|
| 693 |
-
<input type="number" class="glass-input overlay-duration" placeholder="Duration (sec)"
|
| 694 |
-
value="5" min="1" max="60" style="padding: 10px; font-size: 14px;">
|
| 695 |
-
</div>
|
| 696 |
-
</div>
|
| 697 |
-
`;
|
| 698 |
-
|
| 699 |
-
textOverlaysContainer.appendChild(overlayDiv);
|
| 700 |
-
|
| 701 |
-
// Add remove handler
|
| 702 |
-
const removeBtn = overlayDiv.querySelector('.remove-overlay-btn');
|
| 703 |
-
removeBtn.addEventListener('click', () => {
|
| 704 |
-
overlayDiv.remove();
|
| 705 |
-
});
|
| 706 |
-
});
|
| 707 |
-
}
|
| 708 |
-
|
| 709 |
-
// Music Source Tabs
|
| 710 |
-
const musicTabUrl = document.getElementById('musicTabUrl');
|
| 711 |
-
const musicTabFile = document.getElementById('musicTabFile');
|
| 712 |
-
const musicUrlSection = document.getElementById('musicUrlSection');
|
| 713 |
-
const musicFileSection = document.getElementById('musicFileSection');
|
| 714 |
-
|
| 715 |
-
if (musicTabUrl && musicTabFile) {
|
| 716 |
-
musicTabUrl.addEventListener('click', () => {
|
| 717 |
-
musicTabUrl.classList.add('active');
|
| 718 |
-
musicTabFile.classList.remove('active');
|
| 719 |
-
musicUrlSection.style.display = 'block';
|
| 720 |
-
musicFileSection.style.display = 'none';
|
| 721 |
-
});
|
| 722 |
-
|
| 723 |
-
musicTabFile.addEventListener('click', () => {
|
| 724 |
-
musicTabFile.classList.add('active');
|
| 725 |
-
musicTabUrl.classList.remove('active');
|
| 726 |
-
musicUrlSection.style.display = 'none';
|
| 727 |
-
musicFileSection.style.display = 'block';
|
| 728 |
-
});
|
| 729 |
-
}
|
| 730 |
-
|
| 731 |
-
// Music File Input
|
| 732 |
-
const musicFileInput = document.getElementById('musicFileInput');
|
| 733 |
-
const musicFileName = document.getElementById('musicFileName');
|
| 734 |
-
|
| 735 |
-
if (musicFileInput) {
|
| 736 |
-
musicFileInput.addEventListener('change', (event) => {
|
| 737 |
-
const file = event.target.files[0];
|
| 738 |
-
if (file) {
|
| 739 |
-
musicFileName.value = file.name;
|
| 740 |
-
} else {
|
| 741 |
-
musicFileName.value = '';
|
| 742 |
-
}
|
| 743 |
-
});
|
| 744 |
-
}
|
| 745 |
-
</script>
|
| 746 |
-
<script src="{{ url_for('static', filename='js/uploader.js') }}"></script>
|
| 747 |
-
</body>
|
| 748 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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