File size: 25,479 Bytes
cb3840c
 
 
 
 
 
 
f84df47
 
cb3840c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f84df47
cb3840c
 
f84df47
 
 
 
 
cb3840c
f84df47
 
 
cb3840c
f84df47
 
 
cb3840c
 
 
 
 
f84df47
cb3840c
 
 
f84df47
cb3840c
 
f84df47
 
cb3840c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f84df47
 
cb3840c
 
 
f84df47
 
cb3840c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f84df47
 
cb3840c
f84df47
 
cb3840c
 
f84df47
 
 
 
cb3840c
 
f84df47
cb3840c
 
 
 
f84df47
cb3840c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ReelGen AI - Automatic Short Video Generator</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }
        .animate-pulse-custom {
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }
        .video-placeholder {
            background: linear-gradient(45deg, #f3f4f6 25%, #e5e7eb 25%, #e5e7eb 50%, #f3f4f6 50%, #f3f4f6 75%, #e5e7eb 75%, #e5e7eb 100%);
            background-size: 20px 20px;
        }
        .video-container {
            aspect-ratio: 9/16;
        }
    </style>
</head>
<body>
    <div class="min-h-screen flex flex-col">
        <!-- Header -->
        <header class="glass-effect sticky top-0 z-10">
            <div class="container flex justify-between items-center py-4">
                <div class="flex items-center gap-3">
                    <div class="w-9 h-9 rounded-full bg-gradient-to-r from-indigo-500 to-purple-500 flex items-center justify-center text-white font-bold text-sm">RG</div>
                    <h1 class="text-xl font-semibold">ReelGen AI</h1>
                </div>
                <div class="flex items-center gap-3">
                    <button class="p-2 rounded-full hover:bg-surface-2">
                        <i class="fas fa-bell text-text-secondary"></i>
                    </button>
                    <div class="w-8 h-8 rounded-full bg-surface-3 flex items-center justify-center">
                        <i class="fas fa-user text-text-tertiary"></i>
                    </div>
                </div>
            </div>
        </header>
        <!-- Main Content -->
        <main class="flex-grow">
            <div class="container py-8">
                <!-- Dashboard Header -->
                <div class="mb-8">
                    <h2 class="text-2xl font-bold mb-2">Daily Reel Generator</h2>
                    <p class="text-text-secondary">Automatically creates 3-15 second Instagram Reels by remixing existing content</p>
                </div>
                <!-- Generator Controls -->
                <div class="card mb-8">
<div class="flex flex-col md:flex-row md:items-center md:justify-between gap-4">
                        <div>
                            <h3 class="font-medium text-lg mb-1">Auto-Generation Settings</h3>
                            <p class="text-sm text-gray-500">Configure how your daily Reels are created</p>
                        </div>
                        <div class="flex flex-col sm:flex-row gap-3">
                            <button class="px-4 py-2 bg-gradient-to-r from-purple-500 to-pink-500 text-white rounded-lg font-medium hover:opacity-90 transition flex items-center justify-center gap-2">
                                <i class="fas fa-cog"></i> Settings
                            </button>
                            <button class="px-4 py-2 bg-white border border-gray-300 rounded-lg font-medium hover:bg-gray-50 transition flex items-center justify-center gap-2">
                                <i class="fas fa-history"></i> Generation History
                            </button>
                        </div>
                    </div>

                    <div class="mt-6 grid grid-cols-1 md:grid-cols-3 gap-4">
                        <!-- Source Selection -->
                        <div class="border rounded-lg p-4">
                            <div class="flex items-center mb-3">
                                <div class="w-8 h-8 rounded-full bg-purple-100 flex items-center justify-center text-purple-600 mr-2">
                                    <i class="fas fa-database"></i>
                                </div>
                                <h4 class="font-medium">Content Sources</h4>
                            </div>
                            <div class="space-y-2">
                                <div class="flex items-center">
                                    <input type="checkbox" id="your-archive" class="mr-2" checked>
                                    <label for="your-archive">Your past Reels</label>
                                </div>
                                <div class="flex items-center">
                                    <input type="checkbox" id="saved-content" class="mr-2" checked>
                                    <label for="saved-content">Saved content</label>
                                </div>
                                <div class="flex items-center">
                                    <input type="checkbox" id="trending" class="mr-2">
                                    <label for="trending">Trending templates</label>
                                </div>
                            </div>
                        </div>

                        <!-- Editing Style -->
                        <div class="border rounded-lg p-4">
                            <div class="flex items-center mb-3">
                                <div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center text-blue-600 mr-2">
                                    <i class="fas fa-sliders-h"></i>
                                </div>
                                <h4 class="font-medium">Editing Style</h4>
                            </div>
                            <select class="w-full p-2 border rounded-md text-sm">
                                <option>Subtle remix (minor changes)</option>
                                <option>Creative remix (more transformations)</option>
                                <option>Trend-focused (add trending elements)</option>
                            </select>
                            <div class="mt-2 flex items-center text-sm text-gray-500">
                                <i class="fas fa-info-circle mr-1"></i>
                                <span>Applies filters, cuts, and effects</span>
                            </div>
                        </div>

                        <!-- Schedule -->
                        <div class="border rounded-lg p-4">
                            <div class="flex items-center mb-3">
                                <div class="w-8 h-8 rounded-full bg-green-100 flex items-center justify-center text-green-600 mr-2">
                                    <i class="fas fa-clock"></i>
                                </div>
                                <h4 class="font-medium">Posting Schedule</h4>
                            </div>
                            <div class="flex items-center">
                                <select class="flex-grow p-2 border rounded-md text-sm mr-2">
                                    <option>Every day</option>
                                    <option>Weekdays only</option>
                                    <option>3 times/week</option>
                                </select>
                                <select class="flex-grow p-2 border rounded-md text-sm">
                                    <option>9:00 AM</option>
                                    <option>12:00 PM</option>
                                    <option>5:00 PM</option>
                                    <option>8:00 PM</option>
                                </select>
                            </div>
                            <div class="mt-2 text-sm text-gray-500">
                                Next generation: Today, 9:00 AM
                            </div>
                        </div>
                    </div>

                    <div class="mt-6 pt-6 border-t flex justify-end">
                        <button class="px-6 py-2 bg-gradient-to-r from-purple-500 to-pink-500 text-white rounded-lg font-medium hover:opacity-90 transition flex items-center gap-2">
                            <i class="fas fa-magic"></i> Generate Preview Now
                        </button>
                    </div>
                </div>
                <!-- Today's Generated Reel -->
                <div class="mb-8">
                    <div class="flex items-center justify-between mb-4">
                        <h3 class="text-lg font-medium">Today's Generated Reel</h3>
                        <div class="text-sm text-text-secondary">
                            <i class="fas fa-circle text-success mr-1 text-xs"></i> Ready to post
                        </div>
                    </div>

                    <div class="card overflow-hidden p-0">
<div class="grid grid-cols-1 md:grid-cols-3 gap-0">
                            <!-- Video Preview -->
                            <div class="md:col-span-2 p-4">
                                <div class="video-container bg-black rounded-lg overflow-hidden relative">
                                    <div class="absolute inset-0 flex items-center justify-center">
                                        <div class="video-placeholder w-full h-full flex items-center justify-center">
                                            <div class="text-center">
                                                <i class="fas fa-play text-white text-4xl mb-2"></i>
                                                <p class="text-white font-medium">Generated Reel Preview</p>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="absolute bottom-4 left-4 text-white">
                                        <span class="bg-black bg-opacity-50 px-2 py-1 rounded text-xs">0:07</span>
                                    </div>
                                </div>
                            </div>

                            <!-- Reel Details -->
                            <div class="p-4 border-l md:border-l-0 md:border-t border-gray-200">
                                <div class="mb-4">
                                    <h4 class="font-medium mb-2">Generated Description</h4>
                                    <div class="bg-gray-50 p-3 rounded-lg">
                                        <p class="text-sm">"Throwback with a twist!  πŸ”„ We took one of your old clips and gave it fresh energy. The sunset transition at the end is everything!  πŸŒ… #Remix #ThrowbackThursday"</p>
                                    </div>
                                    <div class="mt-2 flex justify-end">
                                        <button class="text-sm text-purple-600 hover:text-purple-800 flex items-center">
                                            <i class="fas fa-redo mr-1"></i> Regenerate
                                        </button>
                                    </div>
                                </div>

                                <div class="mb-4">
                                    <h4 class="font-medium mb-2">Original Source</h4>
                                    <div class="flex items-center space-x-2 p-2 bg-gray-50 rounded-lg">
                                        <div class="w-10 h-10 rounded bg-gray-300 flex items-center justify-center">
                                            <i class="fas fa-video text-gray-500"></i>
                                        </div>
                                        <div class="text-sm">
                                            <p class="font-medium">Beach sunset clip</p>
                                            <p class="text-gray-500 text-xs">Posted 3 months ago</p>
                                        </div>
                                    </div>
                                </div>

                                <div class="mb-4">
                                    <h4 class="font-medium mb-2">Applied Modifications</h4>
                                    <div class="flex flex-wrap gap-2">
                                        <span class="px-2 py-1 bg-blue-100 text-blue-800 text-xs rounded-full">Speed change</span>
                                        <span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded-full">New transition</span>
                                        <span class="px-2 py-1 bg-yellow-100 text-yellow-800 text-xs rounded-full">Text overlay</span>
                                        <span class="px-2 py-1 bg-purple-100 text-purple-800 text-xs rounded-full">Filter applied</span>
                                    </div>
                                </div>

                                <div class="flex flex-col sm:flex-row gap-2 mt-6">
                                    <button class="flex-grow px-4 py-2 bg-white border border-gray-300 rounded-lg font-medium hover:bg-gray-50 transition flex items-center justify-center gap-2">
                                        <i class="fas fa-edit"></i> Edit
                                    </button>
                                    <button class="flex-grow px-4 py-2 bg-gradient-to-r from-purple-500 to-pink-500 text-white rounded-lg font-medium hover:opacity-90 transition flex items-center justify-center gap-2">
                                        <i class="fab fa-instagram"></i> Post to Instagram
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Upcoming Schedule -->
                <div class="mb-8">
                    <h3 class="text-lg font-medium mb-4">Upcoming Schedule</h3>
                    <div class="bg-white rounded-xl shadow-sm overflow-hidden">
                        <div class="overflow-x-auto">
                            <table class="min-w-full divide-y divide-gray-200">
                                <thead class="bg-gray-50">
                                    <tr>
                                        <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th>
                                        <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
                                        <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Source Material</th>
                                        <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Duration</th>
                                        <th scope="col" 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="text-sm font-medium text-gray-900">Tomorrow</div>
                                            <div class="text-sm text-gray-500">9:00 AM</div>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <span class="px-2 py-1 text-xs font-semibold rounded-full bg-blue-100 text-blue-800">Pending</span>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <div class="text-sm text-gray-900">Your cooking video (2/15/23)</div>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
                                            <div class="flex items-center">
                                                <div class="h-2 w-16 bg-gray-200 rounded-full mr-2">
                                                    <div class="h-2 bg-purple-500 rounded-full" style="width: 60%"></div>
                                                </div>
                                                <span>~9s</span>
                                            </div>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
                                            <button class="text-purple-600 hover:text-purple-900 mr-3">Preview</button>
                                            <button class="text-gray-600 hover:text-gray-900">Skip</button>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <div class="text-sm font-medium text-gray-900">Mar 15, 2023</div>
                                            <div class="text-sm text-gray-500">9:00 AM</div>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <span class="px-2 py-1 text-xs font-semibold rounded-full bg-yellow-100 text-yellow-800">Processing</span>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <div class="flex items-center">
                                                <div class="animate-pulse-custom h-4 w-4 bg-yellow-400 rounded-full mr-2"></div>
                                                <div class="text-sm text-gray-900">Selecting source...</div>
                                            </div>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
                                            <div class="flex items-center">
                                                <div class="h-2 w-16 bg-gray-200 rounded-full mr-2">
                                                    <div class="h-2 bg-gray-300 rounded-full animate-pulse-custom" style="width: 30%"></div>
                                                </div>
                                                <span>...</span>
                                            </div>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
                                            <button class="text-gray-400 cursor-not-allowed mr-3">Preview</button>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <div class="text-sm font-medium text-gray-900">Mar 16, 2023</div>
                                            <div class="text-sm text-gray-500">9:00 AM</div>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <span class="px-2 py-1 text-xs font-semibold rounded-full bg-gray-100 text-gray-800">Scheduled</span>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <div class="text-sm text-gray-500">Not selected yet</div>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
                                            -
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
                                            <button class="text-gray-400 cursor-not-allowed mr-3">Preview</button>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </main>
        <!-- Footer -->
        <footer class="border-t border-surface-3 py-6">
            <div class="container">
                <div class="flex flex-col md:flex-row justify-between items-center">
                    <div class="flex items-center gap-2 mb-4 md:mb-0">
                        <div class="w-5 h-5 rounded-full bg-gradient-to-r from-indigo-500 to-purple-500"></div>
                        <span class="font-medium">ReelGen AI</span>
                    </div>
                    <div class="flex gap-6">
                        <a href="#" class="text-text-secondary hover:text-text-primary">Privacy</a>
                        <a href="#" class="text-text-secondary hover:text-text-primary">Terms</a>
                        <a href="#" class="text-text-secondary hover:text-text-primary">Help</a>
                    </div>
                </div>
                <div class="mt-4 text-center md:text-left text-sm text-text-tertiary">
                    Β© 2023 ReelGen AI. Automatically remixing your content for daily Reels.
                </div>
            </div>
        </footer>
</div>

    <script>
        // Simple script to simulate generation process
        document.addEventListener('DOMContentLoaded', function() {
            // Simulate generating a new description
            const regenerateDescBtn = document.querySelector('button:has(.fa-redo)');
            if (regenerateDescBtn) {
                regenerateDescBtn.addEventListener('click', function() {
                    const descriptions = [
                        '"New life to an old moment!  ✨ We refreshed this clip with smooth transitions and a trendy filter. Which part is your favorite? #ReelRemix"',
                        '"You\'ve seen this before... but not like this!  πŸ”„ Our AI gave your old video a fresh makeover. The timing on the beat drop is perfect!  🎢 #RemixMagic"',
                        '"Classic clip, new vibes! 🌟 We took your original and added some spice. That zoom effect at 0:05 though! #ReelRefresh"'
                    ];
                    const randomDesc = descriptions[Math.floor(Math.random() * descriptions.length)];
                    document.querySelector('.bg-gray-50 p-3').textContent = randomDesc;
                });
            }

            // Simulate generating a preview
            const generatePreviewBtn = document.querySelector('button:has(.fa-magic)');
            if (generatePreviewBtn) {
                generatePreviewBtn.addEventListener('click', function() {
                    // Show loading state
                    generatePreviewBtn.innerHTML = '<i class="fas fa-spinner fa-spin"></i> Generating...';
                    generatePreviewBtn.disabled = true;
                    
                    // Simulate API call delay
                    setTimeout(() => {
                        // Update UI with "new" generated content
                        document.querySelector('.video-placeholder').innerHTML = `
                            <div class="text-center">
                                <i class="fas fa-check-circle text-green-500 text-4xl mb-2"></i>
                                <p class="text-white font-medium">New Reel Generated!</p>
                                <p class="text-white text-xs mt-1">Duration: 0:06</p>
                            </div>
                        `;
                        
                        // Update status
                        document.querySelector('.text-green-500').nextSibling.textContent = ' Ready to post (new)';
                        
                        // Reset button
                        generatePreviewBtn.innerHTML = '<i class="fas fa-magic"></i> Generate Preview Now';
                        generatePreviewBtn.disabled = false;
                        
                        // Show notification
                        alert('New Reel generated successfully! Check the preview.');
                    }, 2000);
                });
            }
        });
    </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=smartestdaddy/generator-web" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>