Spaces:
Running
Running
Add 3 files
Browse files- README.md +6 -4
- index.html +691 -19
- prompts.txt +1 -0
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
colorTo: yellow
|
6 |
sdk: static
|
7 |
pinned: false
|
|
|
|
|
8 |
---
|
9 |
|
10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
+
title: viralitypilot
|
3 |
+
emoji: 🐳
|
4 |
+
colorFrom: gray
|
5 |
colorTo: yellow
|
6 |
sdk: static
|
7 |
pinned: false
|
8 |
+
tags:
|
9 |
+
- deepsite
|
10 |
---
|
11 |
|
12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
@@ -1,19 +1,691 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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>ViralityPilot - Transform Ideas into Viral Content</title>
|
7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
9 |
+
<script>
|
10 |
+
tailwind.config = {
|
11 |
+
darkMode: 'class',
|
12 |
+
theme: {
|
13 |
+
extend: {
|
14 |
+
colors: {
|
15 |
+
primary: {
|
16 |
+
50: '#f0f9ff',
|
17 |
+
100: '#e0f2fe',
|
18 |
+
200: '#bae6fd',
|
19 |
+
300: '#7dd3fc',
|
20 |
+
400: '#38bdf8',
|
21 |
+
500: '#0ea5e9',
|
22 |
+
600: '#0284c7',
|
23 |
+
700: '#0369a1',
|
24 |
+
800: '#075985',
|
25 |
+
900: '#0c4a6e',
|
26 |
+
},
|
27 |
+
secondary: {
|
28 |
+
50: '#f5f3ff',
|
29 |
+
100: '#ede9fe',
|
30 |
+
200: '#ddd6fe',
|
31 |
+
300: '#c4b5fd',
|
32 |
+
400: '#a78bfa',
|
33 |
+
500: '#8b5cf6',
|
34 |
+
600: '#7c3aed',
|
35 |
+
700: '#6d28d9',
|
36 |
+
800: '#5b21b6',
|
37 |
+
900: '#4c1d95',
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|
41 |
+
}
|
42 |
+
}
|
43 |
+
</script>
|
44 |
+
<style>
|
45 |
+
.content-preview {
|
46 |
+
transition: all 0.3s ease;
|
47 |
+
}
|
48 |
+
.content-preview:hover {
|
49 |
+
transform: translateY(-5px);
|
50 |
+
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
|
51 |
+
}
|
52 |
+
.video-container {
|
53 |
+
aspect-ratio: 9/16;
|
54 |
+
}
|
55 |
+
.dark .gradient-bg {
|
56 |
+
background: linear-gradient(135deg, #1e3a8a 0%, #0c4a6e 100%);
|
57 |
+
}
|
58 |
+
.light .gradient-bg {
|
59 |
+
background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);
|
60 |
+
}
|
61 |
+
.fade-in {
|
62 |
+
animation: fadeIn 0.5s ease-in;
|
63 |
+
}
|
64 |
+
@keyframes fadeIn {
|
65 |
+
from { opacity: 0; }
|
66 |
+
to { opacity: 1; }
|
67 |
+
}
|
68 |
+
</style>
|
69 |
+
</head>
|
70 |
+
<body class="bg-gray-50 dark:bg-gray-900 transition-colors duration-200">
|
71 |
+
<div class="min-h-screen flex flex-col">
|
72 |
+
<!-- Header -->
|
73 |
+
<header class="gradient-bg text-white shadow-lg">
|
74 |
+
<div class="container mx-auto px-4 py-6">
|
75 |
+
<div class="flex justify-between items-center">
|
76 |
+
<div class="flex items-center space-x-2">
|
77 |
+
<i class="fas fa-rocket text-2xl"></i>
|
78 |
+
<h1 class="text-2xl font-bold">ViralityPilot</h1>
|
79 |
+
</div>
|
80 |
+
<div class="flex items-center space-x-4">
|
81 |
+
<button id="theme-toggle" class="p-2 rounded-full hover:bg-white/10">
|
82 |
+
<i class="fas fa-moon dark:hidden"></i>
|
83 |
+
<i class="fas fa-sun hidden dark:inline"></i>
|
84 |
+
</button>
|
85 |
+
<button class="px-4 py-2 bg-white/10 hover:bg-white/20 rounded-lg font-medium transition">
|
86 |
+
Sign In
|
87 |
+
</button>
|
88 |
+
</div>
|
89 |
+
</div>
|
90 |
+
<div class="mt-8 text-center">
|
91 |
+
<h2 class="text-4xl font-bold mb-4">Transform Your Raw Ideas Into Viral Content</h2>
|
92 |
+
<p class="text-xl max-w-2xl mx-auto">Upload text, audio, or video and get optimized content for LinkedIn, TikTok, YouTube Shorts with AI-generated videos.</p>
|
93 |
+
</div>
|
94 |
+
</div>
|
95 |
+
</header>
|
96 |
+
|
97 |
+
<!-- Main Content -->
|
98 |
+
<main class="flex-grow container mx-auto px-4 py-8">
|
99 |
+
<div class="flex flex-col lg:flex-row gap-8">
|
100 |
+
<!-- Sidebar -->
|
101 |
+
<aside class="w-full lg:w-1/4 bg-white dark:bg-gray-800 rounded-xl shadow-lg p-6 h-fit sticky top-8">
|
102 |
+
<h3 class="text-lg font-semibold mb-4 flex items-center">
|
103 |
+
<i class="fas fa-magic mr-2 text-primary-500"></i> Content Creation
|
104 |
+
</h3>
|
105 |
+
<ul class="space-y-2">
|
106 |
+
<li>
|
107 |
+
<button id="input-tab" class="w-full text-left px-4 py-2 rounded-lg bg-primary-100 dark:bg-gray-700 font-medium flex items-center">
|
108 |
+
<i class="fas fa-upload mr-2"></i> Input Idea
|
109 |
+
</button>
|
110 |
+
</li>
|
111 |
+
<li>
|
112 |
+
<button id="scripts-tab" class="w-full text-left px-4 py-2 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700 flex items-center">
|
113 |
+
<i class="fas fa-file-alt mr-2"></i> Generated Scripts
|
114 |
+
</button>
|
115 |
+
</li>
|
116 |
+
<li>
|
117 |
+
<button id="video-tab" class="w-full text-left px-4 py-2 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700 flex items-center">
|
118 |
+
<i class="fas fa-video mr-2"></i> Video Preview
|
119 |
+
</button>
|
120 |
+
</li>
|
121 |
+
<li>
|
122 |
+
<button id="viral-tab" class="w-full text-left px-4 py-2 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700 flex items-center">
|
123 |
+
<i class="fas fa-fire mr-2"></i> Virality Score
|
124 |
+
</button>
|
125 |
+
</li>
|
126 |
+
<li>
|
127 |
+
<button id="export-tab" class="w-full text-left px-4 py-2 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700 flex items-center">
|
128 |
+
<i class="fas fa-download mr-2"></i> Export & Publish
|
129 |
+
</button>
|
130 |
+
</li>
|
131 |
+
</ul>
|
132 |
+
|
133 |
+
<div class="mt-8 pt-6 border-t border-gray-200 dark:border-gray-700">
|
134 |
+
<h3 class="text-lg font-semibold mb-4 flex items-center">
|
135 |
+
<i class="fas fa-bolt mr-2 text-secondary-500"></i> Quick Actions
|
136 |
+
</h3>
|
137 |
+
<button class="w-full mb-3 px-4 py-2 bg-secondary-500 hover:bg-secondary-600 text-white rounded-lg font-medium transition flex items-center justify-center">
|
138 |
+
<i class="fas fa-wand-magic-sparkles mr-2"></i> Generate All
|
139 |
+
</button>
|
140 |
+
<button class="w-full px-4 py-2 border border-secondary-500 text-secondary-500 hover:bg-secondary-50 dark:hover:bg-gray-700 rounded-lg font-medium transition flex items-center justify-center">
|
141 |
+
<i class="fas fa-rotate mr-2"></i> Regenerate
|
142 |
+
</button>
|
143 |
+
</div>
|
144 |
+
</aside>
|
145 |
+
|
146 |
+
<!-- Main Panel -->
|
147 |
+
<div class="w-full lg:w-3/4">
|
148 |
+
<!-- Input Panel -->
|
149 |
+
<section id="input-panel" class="bg-white dark:bg-gray-800 rounded-xl shadow-lg p-6 mb-8 fade-in">
|
150 |
+
<div class="flex justify-between items-center mb-6">
|
151 |
+
<h2 class="text-2xl font-bold flex items-center">
|
152 |
+
<i class="fas fa-upload mr-3 text-primary-500"></i> Input Your Idea
|
153 |
+
</h2>
|
154 |
+
<div class="flex space-x-2">
|
155 |
+
<button class="px-3 py-1 text-sm bg-gray-100 dark:bg-gray-700 rounded-lg">
|
156 |
+
<i class="fas fa-keyboard mr-1"></i> Text
|
157 |
+
</button>
|
158 |
+
<button class="px-3 py-1 text-sm bg-gray-100 dark:bg-gray-700 rounded-lg">
|
159 |
+
<i class="fas fa-microphone mr-1"></i> Audio
|
160 |
+
</button>
|
161 |
+
<button class="px-3 py-1 text-sm bg-gray-100 dark:bg-gray-700 rounded-lg">
|
162 |
+
<i class="fas fa-video mr-1"></i> Video
|
163 |
+
</button>
|
164 |
+
<button class="px-3 py-1 text-sm bg-gray-100 dark:bg-gray-700 rounded-lg">
|
165 |
+
<i class="fas fa-link mr-1"></i> URL
|
166 |
+
</button>
|
167 |
+
</div>
|
168 |
+
</div>
|
169 |
+
|
170 |
+
<div class="mb-6">
|
171 |
+
<textarea class="w-full h-64 p-4 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:text-white" placeholder="Paste your raw idea, meeting notes, or any content you want to transform into viral material..."></textarea>
|
172 |
+
</div>
|
173 |
+
|
174 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-6">
|
175 |
+
<div class="border-2 border-dashed border-gray-300 dark:border-gray-600 rounded-lg p-8 text-center cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-700 transition">
|
176 |
+
<i class="fas fa-microphone text-4xl mb-3 text-gray-400"></i>
|
177 |
+
<p class="font-medium">Upload Audio</p>
|
178 |
+
<p class="text-sm text-gray-500">MP3, WAV, etc.</p>
|
179 |
+
</div>
|
180 |
+
<div class="border-2 border-dashed border-gray-300 dark:border-gray-600 rounded-lg p-8 text-center cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-700 transition">
|
181 |
+
<i class="fas fa-video text-4xl mb-3 text-gray-400"></i>
|
182 |
+
<p class="font-medium">Upload Video</p>
|
183 |
+
<p class="text-sm text-gray-500">MP4, MOV, etc.</p>
|
184 |
+
</div>
|
185 |
+
</div>
|
186 |
+
|
187 |
+
<div class="flex justify-between items-center">
|
188 |
+
<div class="flex items-center">
|
189 |
+
<input type="checkbox" id="demo-mode" class="mr-2 h-4 w-4">
|
190 |
+
<label for="demo-mode" class="text-sm">Demo Mode (3 free generations)</label>
|
191 |
+
</div>
|
192 |
+
<button class="px-6 py-3 bg-primary-500 hover:bg-primary-600 text-white rounded-lg font-medium transition flex items-center">
|
193 |
+
<i class="fas fa-wand-magic-sparkles mr-2"></i> Generate Content
|
194 |
+
</button>
|
195 |
+
</div>
|
196 |
+
</section>
|
197 |
+
|
198 |
+
<!-- Scripts Panel (hidden by default) -->
|
199 |
+
<section id="scripts-panel" class="hidden bg-white dark:bg-gray-800 rounded-xl shadow-lg p-6 mb-8 fade-in">
|
200 |
+
<h2 class="text-2xl font-bold mb-6 flex items-center">
|
201 |
+
<i class="fas fa-file-alt mr-3 text-primary-500"></i> Generated Scripts
|
202 |
+
</h2>
|
203 |
+
|
204 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
205 |
+
<!-- LinkedIn Post -->
|
206 |
+
<div class="content-preview bg-gray-50 dark:bg-gray-700 rounded-xl p-5 border border-gray-200 dark:border-gray-600">
|
207 |
+
<div class="flex justify-between items-start mb-3">
|
208 |
+
<h3 class="font-bold text-lg flex items-center">
|
209 |
+
<i class="fab fa-linkedin mr-2 text-blue-600"></i> LinkedIn Post
|
210 |
+
</h3>
|
211 |
+
<div class="flex space-x-2">
|
212 |
+
<button class="p-1 text-gray-500 hover:text-primary-500">
|
213 |
+
<i class="fas fa-copy"></i>
|
214 |
+
</button>
|
215 |
+
<button class="p-1 text-gray-500 hover:text-primary-500">
|
216 |
+
<i class="fas fa-redo"></i>
|
217 |
+
</button>
|
218 |
+
</div>
|
219 |
+
</div>
|
220 |
+
<div class="prose dark:prose-invert max-w-none">
|
221 |
+
<h4>The Hidden Productivity Killer No One Talks About</h4>
|
222 |
+
<p>Last week, I discovered something shocking about my work habits...</p>
|
223 |
+
<p>After tracking my time for 30 days, I realized I was losing 2 hours daily to "quick checks" that weren't quick at all.</p>
|
224 |
+
<p>Here's what I learned and how I fixed it:</p>
|
225 |
+
<ul>
|
226 |
+
<li>The psychology behind task switching</li>
|
227 |
+
<li>3 simple changes that saved me 10+ hours/week</li>
|
228 |
+
<li>How to measure your own "attention tax"</li>
|
229 |
+
</ul>
|
230 |
+
<p>This isn't about working harder—it's about working smarter. What's your biggest productivity leak?</p>
|
231 |
+
<p>#Productivity #TimeManagement #WorkSmarter</p>
|
232 |
+
</div>
|
233 |
+
</div>
|
234 |
+
|
235 |
+
<!-- TikTok Script -->
|
236 |
+
<div class="content-preview bg-gray-50 dark:bg-gray-700 rounded-xl p-5 border border-gray-200 dark:border-gray-600">
|
237 |
+
<div class="flex justify-between items-start mb-3">
|
238 |
+
<h3 class="font-bold text-lg flex items-center">
|
239 |
+
<i class="fab fa-tiktok mr-2 text-black dark:text-white"></i> TikTok Script
|
240 |
+
</h3>
|
241 |
+
<div class="flex space-x-2">
|
242 |
+
<button class="p-1 text-gray-500 hover:text-primary-500">
|
243 |
+
<i class="fas fa-copy"></i>
|
244 |
+
</button>
|
245 |
+
<button class="p-1 text-gray-500 hover:text-primary-500">
|
246 |
+
<i class="fas fa-redo"></i>
|
247 |
+
</button>
|
248 |
+
</div>
|
249 |
+
</div>
|
250 |
+
<div class="prose dark:prose-invert max-w-none">
|
251 |
+
<p>[Opening shot: You looking shocked at your phone]</p>
|
252 |
+
<p>"I just wasted 2 HOURS of my day without realizing it!"</p>
|
253 |
+
<p>[Cut to time tracking app showing scattered activity]</p>
|
254 |
+
<p>"These 'quick checks' add up FAST. Here's what I did:"</p>
|
255 |
+
<p>[3 quick cuts showing solutions]</p>
|
256 |
+
<p>1. Batch checking (show calendar blocks)<br>
|
257 |
+
2. Airplane mode deep work<br>
|
258 |
+
3. The 5-minute rule</p>
|
259 |
+
<p>[Final shot: You looking at watch smiling] "Saved 10+ hours this week! Try it!"</p>
|
260 |
+
</div>
|
261 |
+
</div>
|
262 |
+
|
263 |
+
<!-- Twitter Thread -->
|
264 |
+
<div class="content-preview bg-gray-50 dark:bg-gray-700 rounded-xl p-5 border border-gray-200 dark:border-gray-600">
|
265 |
+
<div class="flex justify-between items-start mb-3">
|
266 |
+
<h3 class="font-bold text-lg flex items-center">
|
267 |
+
<i class="fab fa-twitter mr-2 text-blue-400"></i> Twitter Thread
|
268 |
+
</h3>
|
269 |
+
<div class="flex space-x-2">
|
270 |
+
<button class="p-1 text-gray-500 hover:text-primary-500">
|
271 |
+
<i class="fas fa-copy"></i>
|
272 |
+
</button>
|
273 |
+
<button class="p-1 text-gray-500 hover:text-primary-500">
|
274 |
+
<i class="fas fa-redo"></i>
|
275 |
+
</button>
|
276 |
+
</div>
|
277 |
+
</div>
|
278 |
+
<div class="prose dark:prose-invert max-w-none">
|
279 |
+
<p>1/ I tracked my work habits for 30 days and discovered a silent productivity killer stealing 2 hours of my day.</p>
|
280 |
+
<p>Here's how I fixed it ↓</p>
|
281 |
+
<p>2/ The culprit? "Quick checks" that weren't quick:</p>
|
282 |
+
<p>- Email peek = 12 min avg<br>
|
283 |
+
- Slack "just seeing" = 8 min<br>
|
284 |
+
- Social scroll = 15 min</p>
|
285 |
+
<p>3/ The fix? Batch processing:</p>
|
286 |
+
<p>- 3 designated check times/day<br>
|
287 |
+
- Phone in another room<br>
|
288 |
+
- 5-min rule for small tasks</p>
|
289 |
+
<p>4/ Results? 10+ hours/week back!</p>
|
290 |
+
</div>
|
291 |
+
</div>
|
292 |
+
|
293 |
+
<!-- YouTube Shorts -->
|
294 |
+
<div class="content-preview bg-gray-50 dark:bg-gray-700 rounded-xl p-5 border border-gray-200 dark:border-gray-600">
|
295 |
+
<div class="flex justify-between items-start mb-3">
|
296 |
+
<h3 class="font-bold text-lg flex items-center">
|
297 |
+
<i class="fab fa-youtube mr-2 text-red-600"></i> YouTube Shorts
|
298 |
+
</h3>
|
299 |
+
<div class="flex space-x-2">
|
300 |
+
<button class="p-1 text-gray-500 hover:text-primary-500">
|
301 |
+
<i class="fas fa-copy"></i>
|
302 |
+
</button>
|
303 |
+
<button class="p-1 text-gray-500 hover:text-primary-500">
|
304 |
+
<i class="fas fa-redo"></i>
|
305 |
+
</button>
|
306 |
+
</div>
|
307 |
+
</div>
|
308 |
+
<div class="prose dark:prose-invert max-w-none">
|
309 |
+
<p>[Opening: Timer counting up to 2:00 hours]</p>
|
310 |
+
<p>"This is how much time I was losing EVERY DAY to 'quick checks'"</p>
|
311 |
+
<p>[Cut to you frustrated at desk]</p>
|
312 |
+
<p>"Here's the 3-step system that gave me 10+ hours back this week:"</p>
|
313 |
+
<p>[Step 1: Show batching on calendar]<br>
|
314 |
+
[Step 2: Show phone in drawer]<br>
|
315 |
+
[Step 3: Show 5-min rule in action]</p>
|
316 |
+
<p>[Final: Side-by-side before/after productivity stats]</p>
|
317 |
+
<p>"Which tip will you try first? Comment below!"</p>
|
318 |
+
</div>
|
319 |
+
</div>
|
320 |
+
</div>
|
321 |
+
</section>
|
322 |
+
|
323 |
+
<!-- Video Panel (hidden by default) -->
|
324 |
+
<section id="video-panel" class="hidden bg-white dark:bg-gray-800 rounded-xl shadow-lg p-6 mb-8 fade-in">
|
325 |
+
<h2 class="text-2xl font-bold mb-6 flex items-center">
|
326 |
+
<i class="fas fa-video mr-3 text-primary-500"></i> AI-Generated Video Preview
|
327 |
+
</h2>
|
328 |
+
|
329 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
|
330 |
+
<div class="lg:col-span-2">
|
331 |
+
<div class="video-container bg-black rounded-xl overflow-hidden relative">
|
332 |
+
<div class="absolute inset-0 flex items-center justify-center">
|
333 |
+
<i class="fas fa-play text-4xl text-white opacity-70"></i>
|
334 |
+
</div>
|
335 |
+
<img src="https://images.unsplash.com/photo-1611162616475-465b1b775a0a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1074&q=80" alt="Video thumbnail" class="w-full h-full object-cover">
|
336 |
+
</div>
|
337 |
+
|
338 |
+
<div class="mt-4 flex justify-between items-center">
|
339 |
+
<div>
|
340 |
+
<h3 class="font-medium">Productivity Hacks Video</h3>
|
341 |
+
<p class="text-sm text-gray-500">Generated 2 minutes ago</p>
|
342 |
+
</div>
|
343 |
+
<div class="flex space-x-2">
|
344 |
+
<button class="p-2 bg-gray-100 dark:bg-gray-700 rounded-full">
|
345 |
+
<i class="fas fa-volume-up"></i>
|
346 |
+
</button>
|
347 |
+
<button class="p-2 bg-gray-100 dark:bg-gray-700 rounded-full">
|
348 |
+
<i class="fas fa-captioning"></i>
|
349 |
+
</button>
|
350 |
+
</div>
|
351 |
+
</div>
|
352 |
+
</div>
|
353 |
+
|
354 |
+
<div>
|
355 |
+
<h3 class="font-bold mb-3">Video Customization</h3>
|
356 |
+
|
357 |
+
<div class="mb-4">
|
358 |
+
<label class="block text-sm font-medium mb-1">Avatar Style</label>
|
359 |
+
<select class="w-full p-2 border border-gray-300 dark:border-gray-600 rounded-lg dark:bg-gray-700">
|
360 |
+
<option>Professional (Suit)</option>
|
361 |
+
<option>Casual (T-shirt)</option>
|
362 |
+
<option>Animated Character</option>
|
363 |
+
<option>No Avatar (B-roll only)</option>
|
364 |
+
</select>
|
365 |
+
</div>
|
366 |
+
|
367 |
+
<div class="mb-4">
|
368 |
+
<label class="block text-sm font-medium mb-1">Voice Style</label>
|
369 |
+
<select class="w-full p-2 border border-gray-300 dark:border-gray-600 rounded-lg dark:bg-gray-700">
|
370 |
+
<option>Male - Warm & Authoritative</option>
|
371 |
+
<option>Female - Energetic & Friendly</option>
|
372 |
+
<option>Male - Deep & Serious</option>
|
373 |
+
<option>Female - Calm & Professional</option>
|
374 |
+
</select>
|
375 |
+
</div>
|
376 |
+
|
377 |
+
<div class="mb-4">
|
378 |
+
<label class="block text-sm font-medium mb-1">Background Music</label>
|
379 |
+
<select class="w-full p-2 border border-gray-300 dark:border-gray-600 rounded-lg dark:bg-gray-700">
|
380 |
+
<option>Upbeat Corporate</option>
|
381 |
+
<option>Chill Lo-fi</option>
|
382 |
+
<option>No Music</option>
|
383 |
+
<option>Custom Upload</option>
|
384 |
+
</select>
|
385 |
+
</div>
|
386 |
+
|
387 |
+
<div class="mb-4">
|
388 |
+
<label class="block text-sm font-medium mb-1">Video Length</label>
|
389 |
+
<div class="flex items-center space-x-2">
|
390 |
+
<input type="range" min="15" max="60" value="30" class="w-full">
|
391 |
+
<span class="text-sm w-10">30s</span>
|
392 |
+
</div>
|
393 |
+
</div>
|
394 |
+
|
395 |
+
<button class="w-full px-4 py-2 bg-primary-500 hover:bg-primary-600 text-white rounded-lg font-medium transition">
|
396 |
+
<i class="fas fa-sync-alt mr-2"></i> Regenerate Video
|
397 |
+
</button>
|
398 |
+
</div>
|
399 |
+
</div>
|
400 |
+
</section>
|
401 |
+
|
402 |
+
<!-- Virality Panel (hidden by default) -->
|
403 |
+
<section id="viral-panel" class="hidden bg-white dark:bg-gray-800 rounded-xl shadow-lg p-6 mb-8 fade-in">
|
404 |
+
<h2 class="text-2xl font-bold mb-6 flex items-center">
|
405 |
+
<i class="fas fa-fire mr-3 text-primary-500"></i> Virality Score
|
406 |
+
</h2>
|
407 |
+
|
408 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
|
409 |
+
<!-- Overall Score -->
|
410 |
+
<div class="bg-gradient-to-br from-primary-500 to-primary-700 text-white rounded-xl p-6 text-center">
|
411 |
+
<div class="text-sm mb-1">Overall Virality Score</div>
|
412 |
+
<div class="text-5xl font-bold mb-2">87/100</div>
|
413 |
+
<div class="h-2 bg-white/20 rounded-full mb-3">
|
414 |
+
<div class="h-2 bg-white rounded-full" style="width: 87%"></div>
|
415 |
+
</div>
|
416 |
+
<div class="text-sm">Top 15% of content we've analyzed</div>
|
417 |
+
</div>
|
418 |
+
|
419 |
+
<!-- Platform Scores -->
|
420 |
+
<div class="bg-gray-50 dark:bg-gray-700 rounded-xl p-6">
|
421 |
+
<h3 class="font-bold mb-4">Platform Scores</h3>
|
422 |
+
<div class="space-y-3">
|
423 |
+
<div>
|
424 |
+
<div class="flex justify-between text-sm mb-1">
|
425 |
+
<span>LinkedIn</span>
|
426 |
+
<span>92/100</span>
|
427 |
+
</div>
|
428 |
+
<div class="h-2 bg-gray-200 dark:bg-gray-600 rounded-full">
|
429 |
+
<div class="h-2 bg-green-500 rounded-full" style="width: 92%"></div>
|
430 |
+
</div>
|
431 |
+
</div>
|
432 |
+
<div>
|
433 |
+
<div class="flex justify-between text-sm mb-1">
|
434 |
+
<span>TikTok</span>
|
435 |
+
<span>85/100</span>
|
436 |
+
</div>
|
437 |
+
<div class="h-2 bg-gray-200 dark:bg-gray-600 rounded-full">
|
438 |
+
<div class="h-2 bg-blue-500 rounded-full" style="width: 85%"></div>
|
439 |
+
</div>
|
440 |
+
</div>
|
441 |
+
<div>
|
442 |
+
<div class="flex justify-between text-sm mb-1">
|
443 |
+
<span>YouTube Shorts</span>
|
444 |
+
<span>81/100</span>
|
445 |
+
</div>
|
446 |
+
<div class="h-2 bg-gray-200 dark:bg-gray-600 rounded-full">
|
447 |
+
<div class="h-2 bg-red-500 rounded-full" style="width: 81%"></div>
|
448 |
+
</div>
|
449 |
+
</div>
|
450 |
+
</div>
|
451 |
+
</div>
|
452 |
+
|
453 |
+
<!-- Strengths -->
|
454 |
+
<div class="bg-gray-50 dark:bg-gray-700 rounded-xl p-6">
|
455 |
+
<h3 class="font-bold mb-4">Content Strengths</h3>
|
456 |
+
<div class="space-y-3">
|
457 |
+
<div class="flex items-center">
|
458 |
+
<div class="w-8 h-8 rounded-full bg-green-100 dark:bg-green-900 flex items-center justify-center mr-3">
|
459 |
+
<i class="fas fa-check text-green-500"></i>
|
460 |
+
</div>
|
461 |
+
<span>Strong Hook (4.8/5)</span>
|
462 |
+
</div>
|
463 |
+
<div class="flex items-center">
|
464 |
+
<div class="w-8 h-8 rounded-full bg-green-100 dark:bg-green-900 flex items-center justify-center mr-3">
|
465 |
+
<i class="fas fa-check text-green-500"></i>
|
466 |
+
</div>
|
467 |
+
<span>Emotional Appeal (4.6/5)</span>
|
468 |
+
</div>
|
469 |
+
<div class="flex items-center">
|
470 |
+
<div class="w-8 h-8 rounded-full bg-green-100 dark:bg-green-900 flex items-center justify-center mr-3">
|
471 |
+
<i class="fas fa-check text-green-500"></i>
|
472 |
+
</div>
|
473 |
+
<span>Clear CTA (4.5/5)</span>
|
474 |
+
</div>
|
475 |
+
<div class="flex items-center">
|
476 |
+
<div class="w-8 h-8 rounded-full bg-yellow-100 dark:bg-yellow-900 flex items-center justify-center mr-3">
|
477 |
+
<i class="fas fa-info-circle text-yellow-500"></i>
|
478 |
+
</div>
|
479 |
+
<span>Could use more data points</span>
|
480 |
+
</div>
|
481 |
+
</div>
|
482 |
+
</div>
|
483 |
+
</div>
|
484 |
+
|
485 |
+
<div class="bg-gray-50 dark:bg-gray-700 rounded-xl p-6">
|
486 |
+
<h3 class="font-bold mb-4">AI Recommendations to Improve Virality</h3>
|
487 |
+
<div class="prose dark:prose-invert max-w-none">
|
488 |
+
<ul>
|
489 |
+
<li><strong>Add a surprising statistic:</strong> "Did you know the average knowledge worker loses 2.1 hours daily to task switching?"</li>
|
490 |
+
<li><strong>Make the hook more personal:</strong> Start with "I was shocked when I discovered..." instead of "Last week I found..."</li>
|
491 |
+
<li><strong>Strengthen the CTA:</strong> Instead of "What's your biggest productivity leak?" try "Comment 'HACKS' below and I'll DM you my free time tracking template!"</li>
|
492 |
+
<li><strong>Add a visual metaphor:</strong> Show a leaky bucket animation for the "productivity leaks" concept</li>
|
493 |
+
</ul>
|
494 |
+
</div>
|
495 |
+
</div>
|
496 |
+
</section>
|
497 |
+
|
498 |
+
<!-- Export Panel (hidden by default) -->
|
499 |
+
<section id="export-panel" class="hidden bg-white dark:bg-gray-800 rounded-xl shadow-lg p-6 mb-8 fade-in">
|
500 |
+
<h2 class="text-2xl font-bold mb-6 flex items-center">
|
501 |
+
<i class="fas fa-download mr-3 text-primary-500"></i> Export & Publish
|
502 |
+
</h2>
|
503 |
+
|
504 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
|
505 |
+
<!-- Export Options -->
|
506 |
+
<div class="bg-gray-50 dark:bg-gray-700 rounded-xl p-6">
|
507 |
+
<h3 class="font-bold mb-4">Export Options</h3>
|
508 |
+
<div class="space-y-3">
|
509 |
+
<label class="flex items-center p-3 border border-gray-200 dark:border-gray-600 rounded-lg cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-600">
|
510 |
+
<input type="checkbox" class="mr-3 h-4 w-4">
|
511 |
+
<div>
|
512 |
+
<div class="font-medium">Video File (.mp4)</div>
|
513 |
+
<div class="text-sm text-gray-500">1080p with watermark</div>
|
514 |
+
</div>
|
515 |
+
</label>
|
516 |
+
<label class="flex items-center p-3 border border-gray-200 dark:border-gray-600 rounded-lg cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-600">
|
517 |
+
<input type="checkbox" class="mr-3 h-4 w-4">
|
518 |
+
<div>
|
519 |
+
<div class="font-medium">All Scripts (.zip)</div>
|
520 |
+
<div class="text-sm text-gray-500">LinkedIn, TikTok, Twitter, YouTube</div>
|
521 |
+
</div>
|
522 |
+
</label>
|
523 |
+
<label class="flex items-center p-3 border border-gray-200 dark:border-gray-600 rounded-lg cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-600">
|
524 |
+
<input type="checkbox" class="mr-3 h-4 w-4">
|
525 |
+
<div>
|
526 |
+
<div class="font-medium">Subtitles (.srt)</div>
|
527 |
+
<div class="text-sm text-gray-500">For video editing</div>
|
528 |
+
</div>
|
529 |
+
</label>
|
530 |
+
<label class="flex items-center p-3 border border-gray-200 dark:border-gray-600 rounded-lg cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-600">
|
531 |
+
<input type="checkbox" class="mr-3 h-4 w-4">
|
532 |
+
<div>
|
533 |
+
<div class="font-medium">Brand Kit</div>
|
534 |
+
<div class="text-sm text-gray-500">Your logo, colors, and fonts</div>
|
535 |
+
</div>
|
536 |
+
</label>
|
537 |
+
</div>
|
538 |
+
|
539 |
+
<button class="w-full mt-4 px-4 py-3 bg-primary-500 hover:bg-primary-600 text-white rounded-lg font-medium transition flex items-center justify-center">
|
540 |
+
<i class="fas fa-file-export mr-2"></i> Export Selected
|
541 |
+
</button>
|
542 |
+
</div>
|
543 |
+
|
544 |
+
<!-- Publish Options -->
|
545 |
+
<div class="bg-gray-50 dark:bg-gray-700 rounded-xl p-6">
|
546 |
+
<h3 class="font-bold mb-4">Publish Directly</h3>
|
547 |
+
<div class="space-y-3">
|
548 |
+
<button class="w-full flex items-center p-3 border border-gray-200 dark:border-gray-600 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-600">
|
549 |
+
<div class="w-8 h-8 rounded-full bg-blue-600 text-white flex items-center justify-center mr-3">
|
550 |
+
<i class="fab fa-linkedin-in"></i>
|
551 |
+
</div>
|
552 |
+
<div>
|
553 |
+
<div class="font-medium">Post to LinkedIn</div>
|
554 |
+
<div class="text-sm text-gray-500">With generated image</div>
|
555 |
+
</div>
|
556 |
+
</button>
|
557 |
+
<button class="w-full flex items-center p-3 border border-gray-200 dark:border-gray-600 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-600">
|
558 |
+
<div class="w-8 h-8 rounded-full bg-black dark:bg-white text-white dark:text-black flex items-center justify-center mr-3">
|
559 |
+
<i class="fab fa-tiktok"></i>
|
560 |
+
</div>
|
561 |
+
<div>
|
562 |
+
<div class="font-medium">Upload to TikTok</div>
|
563 |
+
<div class="text-sm text-gray-500">With trending hashtags</div>
|
564 |
+
</div>
|
565 |
+
</button>
|
566 |
+
<button class="w-full flex items-center p-3 border border-gray-200 dark:border-gray-600 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-600">
|
567 |
+
<div class="w-8 h-8 rounded-full bg-red-600 text-white flex items-center justify-center mr-3">
|
568 |
+
<i class="fab fa-youtube"></i>
|
569 |
+
</div>
|
570 |
+
<div>
|
571 |
+
<div class="font-medium">Upload to YouTube Shorts</div>
|
572 |
+
<div class="text-sm text-gray-500">Optimized description</div>
|
573 |
+
</div>
|
574 |
+
</button>
|
575 |
+
<button class="w-full flex items-center p-3 border border-gray-200 dark:border-gray-600 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-600">
|
576 |
+
<div class="w-8 h-8 rounded-full bg-blue-400 text-white flex items-center justify-center mr-3">
|
577 |
+
<i class="fab fa-twitter"></i>
|
578 |
+
</div>
|
579 |
+
<div>
|
580 |
+
<div class="font-medium">Post Twitter Thread</div>
|
581 |
+
<div class="text-sm text-gray-500">With auto-threading</div>
|
582 |
+
</div>
|
583 |
+
</button>
|
584 |
+
</div>
|
585 |
+
|
586 |
+
<div class="mt-4 p-3 bg-yellow-50 dark:bg-yellow-900 rounded-lg text-sm">
|
587 |
+
<i class="fas fa-exclamation-triangle text-yellow-500 mr-2"></i>
|
588 |
+
Demo mode limited to 3 exports. <a href="#" class="text-primary-500 hover:underline">Upgrade to remove limits</a>.
|
589 |
+
</div>
|
590 |
+
</div>
|
591 |
+
</div>
|
592 |
+
|
593 |
+
<div class="bg-gray-50 dark:bg-gray-700 rounded-xl p-6">
|
594 |
+
<h3 class="font-bold mb-4">Schedule Posts</h3>
|
595 |
+
<div class="flex flex-col md:flex-row gap-4">
|
596 |
+
<div class="flex-grow">
|
597 |
+
<label class="block text-sm font-medium mb-1">Select Platforms</label>
|
598 |
+
<select multiple class="w-full p-2 border border-gray-300 dark:border-gray-600 rounded-lg h-32 dark:bg-gray-700">
|
599 |
+
<option>LinkedIn Post</option>
|
600 |
+
<option>TikTok Video</option>
|
601 |
+
<option>YouTube Shorts</option>
|
602 |
+
<option>Twitter Thread</option>
|
603 |
+
<option>Instagram Reels</option>
|
604 |
+
</select>
|
605 |
+
</div>
|
606 |
+
<div>
|
607 |
+
<label class="block text-sm font-medium mb-1">Date & Time</label>
|
608 |
+
<input type="datetime-local" class="w-full p-2 border border-gray-300 dark:border-gray-600 rounded-lg dark:bg-gray-700">
|
609 |
+
</div>
|
610 |
+
<div class="flex items-end">
|
611 |
+
<button class="px-4 py-2 bg-primary-500 hover:bg-primary-600 text-white rounded-lg font-medium transition h-10">
|
612 |
+
Schedule
|
613 |
+
</button>
|
614 |
+
</div>
|
615 |
+
</div>
|
616 |
+
</div>
|
617 |
+
</section>
|
618 |
+
</div>
|
619 |
+
</div>
|
620 |
+
</main>
|
621 |
+
|
622 |
+
<!-- Footer -->
|
623 |
+
<footer class="bg-gray-100 dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700">
|
624 |
+
<div class="container mx-auto px-4 py-8">
|
625 |
+
<div class="flex flex-col md:flex-row justify-between items-center">
|
626 |
+
<div class="flex items-center space-x-2 mb-4 md:mb-0">
|
627 |
+
<i class="fas fa-rocket text-xl"></i>
|
628 |
+
<span class="font-bold">ViralityPilot</span>
|
629 |
+
</div>
|
630 |
+
<div class="flex space-x-6">
|
631 |
+
<a href="#" class="hover:text-primary-500">Pricing</a>
|
632 |
+
<a href="#" class="hover:text-primary-500">API</a>
|
633 |
+
<a href="#" class="hover:text-primary-500">Blog</a>
|
634 |
+
<a href="#" class="hover:text-primary-500">Contact</a>
|
635 |
+
</div>
|
636 |
+
</div>
|
637 |
+
<div class="mt-8 pt-8 border-t border-gray-200 dark:border-gray-700 text-center text-sm text-gray-500">
|
638 |
+
<p>© 2025 ViralityPilot. All rights reserved. Demo mode limited to 3 generations.</p>
|
639 |
+
</div>
|
640 |
+
</div>
|
641 |
+
</footer>
|
642 |
+
</div>
|
643 |
+
|
644 |
+
<script>
|
645 |
+
// Theme toggle
|
646 |
+
const themeToggle = document.getElementById('theme-toggle');
|
647 |
+
const html = document.documentElement;
|
648 |
+
|
649 |
+
if (localStorage.getItem('theme') === 'dark' || (!localStorage.getItem('theme') && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
650 |
+
html.classList.add('dark');
|
651 |
+
} else {
|
652 |
+
html.classList.remove('dark');
|
653 |
+
}
|
654 |
+
|
655 |
+
themeToggle.addEventListener('click', () => {
|
656 |
+
html.classList.toggle('dark');
|
657 |
+
localStorage.setItem('theme', html.classList.contains('dark') ? 'dark' : 'light');
|
658 |
+
});
|
659 |
+
|
660 |
+
// Tab switching
|
661 |
+
const tabs = ['input', 'scripts', 'video', 'viral', 'export'];
|
662 |
+
|
663 |
+
tabs.forEach(tab => {
|
664 |
+
const tabBtn = document.getElementById(`${tab}-tab`);
|
665 |
+
const panel = document.getElementById(`${tab}-panel`);
|
666 |
+
|
667 |
+
tabBtn.addEventListener('click', () => {
|
668 |
+
// Hide all panels
|
669 |
+
tabs.forEach(t => {
|
670 |
+
document.getElementById(`${t}-panel`).classList.add('hidden');
|
671 |
+
document.getElementById(`${t}-tab`).classList.remove('bg-primary-100', 'dark:bg-gray-700');
|
672 |
+
document.getElementById(`${t}-tab`).classList.add('hover:bg-gray-100', 'dark:hover:bg-gray-700');
|
673 |
+
});
|
674 |
+
|
675 |
+
// Show selected panel
|
676 |
+
panel.classList.remove('hidden');
|
677 |
+
tabBtn.classList.add('bg-primary-100', 'dark:bg-gray-700');
|
678 |
+
tabBtn.classList.remove('hover:bg-gray-100', 'dark:hover:bg-gray-700');
|
679 |
+
});
|
680 |
+
});
|
681 |
+
|
682 |
+
// Initialize with input panel visible
|
683 |
+
document.getElementById('input-panel').classList.remove('hidden');
|
684 |
+
document.getElementById('input-tab').classList.add('bg-primary-100', 'dark:bg-gray-700');
|
685 |
+
document.getElementById('input-tab').classList.remove('hover:bg-gray-100', 'dark:hover:bg-gray-700');
|
686 |
+
|
687 |
+
// Demo content generation
|
688 |
+
document.querySelector('textarea').value = `I've been tracking my work habits for the past month and discovered that I'm losing about 2 hours every day to what I thought were "quick checks" - glancing at email, Slack, social media, etc. These micro-distractions add up to a huge productivity drain. I implemented three simple changes that gave me back over 10 hours per week: 1) Batch processing communications instead of constant checking, 2) Putting my phone in another room during focus time, and 3) The 5-minute rule for small tasks. The results have been transformative - I'm getting more done in less time with less stress.`;
|
689 |
+
</script>
|
690 |
+
<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=mathurinacheisoft/viralitypilot" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
691 |
+
</html>
|
prompts.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Nom de l’app : ViralityPilot But : Créer une application web où un utilisateur peut uploader une idée brute (texte, audio, vidéo), et générer automatiquement plusieurs formats de contenu viral adaptés à LinkedIn, TikTok, YouTube Shorts, avec rendu vidéo (avatar, b-roll, voix IA). 🎯 Objectif Tu es un développeur IA chargé de construire une web app SaaS en React avec Tailwind, pilotée par GPT-4, qui permet aux utilisateurs de : Entrer une idée brute (texte, audio, transcription, lien, résumé de réunion…). Générer automatiquement : un post LinkedIn optimisé pour l’engagement (hook → histoire → insight), un script de vidéo courte (TikTok / YouTube Shorts) avec effet de suspense, un carrousel LinkedIn ou un thread X en plusieurs bullet points. Créer une vidéo IA automatiquement : choix entre avatar IA, voix IA + stock footage, ou sous-titres animés. Évaluer la viralité du contenu généré (score basé sur punchlines, émotion, CTA). Exporter ou publier directement (via API ou téléchargement). 🧱 Fonctionnalités clés de la web app Upload : Texte libre, lien web, audio ou vidéo Génération IA : GPT pour structure et ton du contenu Style narratif adapté à chaque plateforme Génération vidéo : Avatar IA (API HeyGen ou équivalent) Voix IA (API ElevenLabs ou Whisper pour TTS) Vidéo finale avec sous-titres animés Score de viralité IA (note sur 100 avec explication) Preview des différents contenus générés Export formats : .mp4, .txt, publication directe 📐 Interface utilisateur (UI/UX) Une page unique avec sidebar ou onglets : Input (Upload ou texte) Résumés & Scripts générés Vidéo générée (preview) Score viralité Export & publication UI design : Moderne, aéré, Tailwind avec ombres douces Icônes claires (upload, magic wand, video, fire/viral score, download) Support mode sombre Responsive mobile ⚙️ Technologies à intégrer Frontend : React + Tailwind Backend : Node.js + FastAPI (ou 100% serverless avec Vercel functions) IA : OpenAI GPT-4 (idée → script), Whisper (transcription), ElevenLabs (voix IA), D-ID ou HeyGen (avatar IA), Pexels/Unsplash API (stock vidéo) Storage : Supabase ou AWS S3 Auth (optionnel) : Magic link avec Clerk ou Auth0 Video processing : FFmpeg or WebRTC-based processing 🧪 Mode test (demo) Permettre de tester l’app sans inscription, avec limite de 3 générations maximum + watermark sur vidéo.
|