|
|
<!DOCTYPE html> |
|
|
<html lang="en"> |
|
|
<head> |
|
|
<meta charset="UTF-8"> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
|
<title>Shorts Automator | YouTube Content Manager</title> |
|
|
<script src="https://cdn.tailwindcss.com"></script> |
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> |
|
|
<style> |
|
|
.gradient-bg { |
|
|
background: linear-gradient(135deg, #FF5F6D 0%, #FFC371 100%); |
|
|
} |
|
|
.video-preview { |
|
|
aspect-ratio: 9/16; |
|
|
} |
|
|
.sidebar { |
|
|
transition: all 0.3s ease; |
|
|
} |
|
|
@media (max-width: 768px) { |
|
|
.sidebar { |
|
|
transform: translateX(-100%); |
|
|
position: fixed; |
|
|
z-index: 50; |
|
|
height: 100vh; |
|
|
} |
|
|
.sidebar.active { |
|
|
transform: translateX(0); |
|
|
} |
|
|
} |
|
|
.schedule-time-input::-webkit-calendar-picker-indicator { |
|
|
filter: invert(1); |
|
|
} |
|
|
</style> |
|
|
</head> |
|
|
<body class="bg-gray-100 font-sans"> |
|
|
<div class="flex h-screen overflow-hidden"> |
|
|
|
|
|
<div class="sidebar bg-gray-900 text-white w-64 flex-shrink-0"> |
|
|
<div class="p-4 flex items-center space-x-3 border-b border-gray-700"> |
|
|
<i class="fas fa-bolt text-yellow-400 text-2xl"></i> |
|
|
<h1 class="text-xl font-bold">Shorts Automator</h1> |
|
|
</div> |
|
|
<nav class="p-4 space-y-2"> |
|
|
<a href="#" class="flex items-center space-x-3 p-3 rounded-lg bg-gray-800 text-yellow-400"> |
|
|
<i class="fas fa-home"></i> |
|
|
<span>Dashboard</span> |
|
|
</a> |
|
|
<a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-800"> |
|
|
<i class="fas fa-upload"></i> |
|
|
<span>Upload Shorts</span> |
|
|
</a> |
|
|
<a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-800"> |
|
|
<i class="fas fa-calendar-alt"></i> |
|
|
<span>Schedule</span> |
|
|
</a> |
|
|
<a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-800"> |
|
|
<i class="fas fa-chart-line"></i> |
|
|
<span>Analytics</span> |
|
|
</a> |
|
|
<a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-800"> |
|
|
<i class="fas fa-cog"></i> |
|
|
<span>Settings</span> |
|
|
</a> |
|
|
</nav> |
|
|
<div class="absolute bottom-0 w-full p-4 border-t border-gray-700"> |
|
|
<div class="flex items-center space-x-3"> |
|
|
<div class="w-10 h-10 rounded-full bg-gray-700 flex items-center justify-center"> |
|
|
<i class="fas fa-user"></i> |
|
|
</div> |
|
|
<div> |
|
|
<p class="font-medium">Your Account</p> |
|
|
<p class="text-xs text-gray-400">Connected</p> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="flex-1 flex flex-col overflow-hidden"> |
|
|
|
|
|
<div class="md:hidden bg-gray-900 text-white p-4 flex items-center justify-between"> |
|
|
<button id="menuToggle" class="text-xl"> |
|
|
<i class="fas fa-bars"></i> |
|
|
</button> |
|
|
<h1 class="text-xl font-bold">Shorts Automator</h1> |
|
|
<div class="w-6"></div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<main class="flex-1 overflow-y-auto p-6"> |
|
|
<div class="max-w-7xl mx-auto"> |
|
|
|
|
|
<div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-8"> |
|
|
<div> |
|
|
<h2 class="text-2xl font-bold text-gray-800">Dashboard</h2> |
|
|
<p class="text-gray-600">Automate your YouTube Shorts posting</p> |
|
|
</div> |
|
|
<button class="gradient-bg text-white px-6 py-2 rounded-lg font-medium mt-4 md:mt-0 flex items-center space-x-2 hover:opacity-90 transition"> |
|
|
<i class="fas fa-plus"></i> |
|
|
<span>New Short</span> |
|
|
</button> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8"> |
|
|
<div class="bg-white rounded-xl shadow p-6"> |
|
|
<div class="flex items-center justify-between"> |
|
|
<div> |
|
|
<p class="text-gray-500">Total Shorts</p> |
|
|
<h3 class="text-3xl font-bold mt-1">24</h3> |
|
|
</div> |
|
|
<div class="p-3 rounded-full bg-blue-100 text-blue-600"> |
|
|
<i class="fas fa-film text-xl"></i> |
|
|
</div> |
|
|
</div> |
|
|
<p class="text-green-500 text-sm mt-2">+5 this week</p> |
|
|
</div> |
|
|
<div class="bg-white rounded-xl shadow p-6"> |
|
|
<div class="flex items-center justify-between"> |
|
|
<div> |
|
|
<p class="text-gray-500">Scheduled</p> |
|
|
<h3 class="text-3xl font-bold mt-1">8</h3> |
|
|
</div> |
|
|
<div class="p-3 rounded-full bg-purple-100 text-purple-600"> |
|
|
<i class="fas fa-calendar-alt text-xl"></i> |
|
|
</div> |
|
|
</div> |
|
|
<p class="text-blue-500 text-sm mt-2">Next: in 2 hours</p> |
|
|
</div> |
|
|
<div class="bg-white rounded-xl shadow p-6"> |
|
|
<div class="flex items-center justify-between"> |
|
|
<div> |
|
|
<p class="text-gray-500">Average Views</p> |
|
|
<h3 class="text-3xl font-bold mt-1">3.2K</h3> |
|
|
</div> |
|
|
<div class="p-3 rounded-full bg-green-100 text-green-600"> |
|
|
<i class="fas fa-eye text-xl"></i> |
|
|
</div> |
|
|
</div> |
|
|
<p class="text-green-500 text-sm mt-2">↑ 12% from last week</p> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="bg-white rounded-xl shadow p-6 mb-8"> |
|
|
<h3 class="text-xl font-bold text-gray-800 mb-4">Upload New Short</h3> |
|
|
|
|
|
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6"> |
|
|
|
|
|
<div class="lg:col-span-2"> |
|
|
<div class="border-2 border-dashed border-gray-300 rounded-xl p-6 text-center video-preview flex flex-col items-center justify-center"> |
|
|
<i class="fas fa-cloud-upload-alt text-4xl text-gray-400 mb-4"></i> |
|
|
<p class="text-gray-500 mb-2">Drag & drop your Short video here</p> |
|
|
<p class="text-sm text-gray-400 mb-4">or</p> |
|
|
<button class="gradient-bg text-white px-6 py-2 rounded-lg font-medium flex items-center space-x-2 hover:opacity-90 transition"> |
|
|
<i class="fas fa-folder-open"></i> |
|
|
<span>Browse Files</span> |
|
|
</button> |
|
|
<p class="text-xs text-gray-400 mt-3">MP4, MOV • 9:16 aspect ratio • Max 60s</p> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div> |
|
|
<div class="space-y-4"> |
|
|
<div> |
|
|
<label class="block text-gray-700 mb-1">Title</label> |
|
|
<input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-yellow-400 focus:border-transparent" placeholder="Catchy title for your Short"> |
|
|
</div> |
|
|
<div> |
|
|
<label class="block text-gray-700 mb-1">Description</label> |
|
|
<textarea class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-yellow-400 focus:border-transparent" rows="3" placeholder="Tell viewers about your Short"></textarea> |
|
|
</div> |
|
|
<div> |
|
|
<label class="block text-gray-700 mb-1">Tags</label> |
|
|
<input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-yellow-400 focus:border-transparent" placeholder="#shorts #viral #trending"> |
|
|
<p class="text-xs text-gray-500 mt-1">Separate tags with spaces</p> |
|
|
</div> |
|
|
<div> |
|
|
<label class="block text-gray-700 mb-1">Schedule</label> |
|
|
<div class="flex items-center space-x-2"> |
|
|
<select class="flex-1 px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-yellow-400 focus:border-transparent"> |
|
|
<option>Publish immediately</option> |
|
|
<option>Schedule for later</option> |
|
|
<option>Add to queue</option> |
|
|
</select> |
|
|
<input type="datetime-local" class="px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-yellow-400 focus:border-transparent bg-gray-100 schedule-time-input"> |
|
|
</div> |
|
|
</div> |
|
|
<div class="pt-2"> |
|
|
<button class="gradient-bg text-white w-full py-3 rounded-lg font-medium flex items-center justify-center space-x-2 hover:opacity-90 transition"> |
|
|
<i class="fas fa-paper-plane"></i> |
|
|
<span>Publish Short</span> |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="bg-white rounded-xl shadow p-6"> |
|
|
<div class="flex justify-between items-center mb-6"> |
|
|
<h3 class="text-xl font-bold text-gray-800">Scheduled Shorts</h3> |
|
|
<div class="flex items-center space-x-2"> |
|
|
<button class="px-4 py-2 border border-gray-300 rounded-lg hover:bg-gray-50"> |
|
|
<i class="fas fa-filter"></i> |
|
|
</button> |
|
|
<button class="px-4 py-2 border border-gray-300 rounded-lg hover:bg-gray-50"> |
|
|
<i class="fas fa-sort"></i> |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div class="overflow-x-auto"> |
|
|
<table class="min-w-full divide-y divide-gray-200"> |
|
|
<thead class="bg-gray-50"> |
|
|
<tr> |
|
|
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Thumbnail</th> |
|
|
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Title</th> |
|
|
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Schedule Time</th> |
|
|
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th> |
|
|
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th> |
|
|
</tr> |
|
|
</thead> |
|
|
<tbody class="bg-white divide-y divide-gray-200"> |
|
|
<tr> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="w-16 h-24 bg-gray-200 rounded overflow-hidden"> |
|
|
<img src="https://via.placeholder.com/1080x1920" class="w-full h-full object-cover"> |
|
|
</div> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="text-sm font-medium text-gray-900">Morning Routine 2023</div> |
|
|
<div class="text-sm text-gray-500">#routine #morning</div> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="text-sm text-gray-900">Today, 8:00 AM</div> |
|
|
<div class="text-xs text-gray-500">in 2 hours</div> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Scheduled</span> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> |
|
|
<button class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-edit"></i></button> |
|
|
<button class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></button> |
|
|
</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="w-16 h-24 bg-gray-200 rounded overflow-hidden"> |
|
|
<img src="https://via.placeholder.com/1080x1920" class="w-full h-full object-cover"> |
|
|
</div> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="text-sm font-medium text-gray-900">5 Minute Workout</div> |
|
|
<div class="text-sm text-gray-500">#fitness #workout</div> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="text-sm text-gray-900">Tomorrow, 7:00 AM</div> |
|
|
<div class="text-xs text-gray-500">in 25 hours</div> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Queued</span> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> |
|
|
<button class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-edit"></i></button> |
|
|
<button class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></button> |
|
|
</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="w-16 h-24 bg-gray-200 rounded overflow-hidden"> |
|
|
<img src="https://via.placeholder.com/1080x1920" class="w-full h-full object-cover"> |
|
|
</div> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="text-sm font-medium text-gray-900">Quick Recipe Idea</div> |
|
|
<div class="text-sm text-gray-500">#cooking #food</div> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="text-sm text-gray-900">Friday, 12:00 PM</div> |
|
|
<div class="text-xs text-gray-500">in 3 days</div> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Queued</span> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> |
|
|
<button class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-edit"></i></button> |
|
|
<button class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></button> |
|
|
</td> |
|
|
</tr> |
|
|
</tbody> |
|
|
</table> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</main> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<script> |
|
|
|
|
|
document.getElementById('menuToggle').addEventListener('click', function() { |
|
|
document.querySelector('.sidebar').classList.toggle('active'); |
|
|
}); |
|
|
|
|
|
|
|
|
function connectYouTube() { |
|
|
|
|
|
alert('Connecting to your YouTube account...'); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
const fileUpload = document.querySelector('.video-preview'); |
|
|
fileUpload.addEventListener('dragover', (e) => { |
|
|
e.preventDefault(); |
|
|
fileUpload.classList.add('border-yellow-400', 'bg-yellow-50'); |
|
|
}); |
|
|
|
|
|
fileUpload.addEventListener('dragleave', () => { |
|
|
fileUpload.classList.remove('border-yellow-400', 'bg-yellow-50'); |
|
|
}); |
|
|
|
|
|
fileUpload.addEventListener('drop', (e) => { |
|
|
e.preventDefault(); |
|
|
fileUpload.classList.remove('border-yellow-400', 'bg-yellow-50'); |
|
|
|
|
|
|
|
|
const files = e.dataTransfer.files; |
|
|
if (files.length) { |
|
|
const file = files[0]; |
|
|
if (file.type.includes('video')) { |
|
|
|
|
|
const videoURL = URL.createObjectURL(file); |
|
|
fileUpload.innerHTML = ` |
|
|
<video src="${videoURL}" controls class="w-full h-full object-cover rounded-lg"></video> |
|
|
<p class="text-sm text-white bg-black bg-opacity-50 px-2 py-1 rounded absolute bottom-2 left-2">${file.name}</p> |
|
|
`; |
|
|
} else { |
|
|
alert('Please upload a video file'); |
|
|
} |
|
|
} |
|
|
}); |
|
|
|
|
|
|
|
|
document.querySelector('button[type="submit"]')?.addEventListener('click', function(e) { |
|
|
e.preventDefault(); |
|
|
|
|
|
alert('Your Short has been scheduled!'); |
|
|
}); |
|
|
</script> |
|
|
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Dappi/devilking" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> |
|
|
</html> |