File size: 24,440 Bytes
82386df |
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 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Social Growth AI Agent</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, #6e8efb, #a777e3);
}
.card-hover {
transition: all 0.3s ease;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(167, 119, 227, 0.7);
}
70% {
box-shadow: 0 0 0 10px rgba(167, 119, 227, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(167, 119, 227, 0);
}
}
.thread-line {
position: relative;
padding-left: 2rem;
}
.thread-line:before {
content: "";
position: absolute;
left: 0.5rem;
top: 0;
bottom: 0;
width: 2px;
background-color: #a777e3;
}
</style>
</head>
<body class="bg-gray-50 min-h-screen">
<div class="gradient-bg text-white py-6 px-4 shadow-lg">
<div class="container mx-auto flex justify-between items-center">
<div class="flex items-center space-x-3">
<i class="fas fa-robot text-3xl"></i>
<h1 class="text-2xl font-bold">Social Growth AI Agent</h1>
</div>
<div class="flex items-center space-x-4">
<button class="bg-white text-purple-600 px-4 py-2 rounded-full font-semibold hover:bg-gray-100 transition">
<i class="fas fa-cog mr-2"></i>Settings
</button>
<div class="w-10 h-10 rounded-full bg-white flex items-center justify-center text-purple-600 font-bold">
AI
</div>
</div>
</div>
</div>
<div class="container mx-auto px-4 py-8">
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<!-- Reddit Scraper Card -->
<div class="bg-white rounded-xl shadow-md overflow-hidden card-hover">
<div class="p-6">
<div class="flex items-center justify-between mb-4">
<h2 class="text-xl font-bold text-gray-800">
<i class="fab fa-reddit text-red-500 mr-2"></i> Reddit Scraper
</h2>
<span class="bg-green-100 text-green-800 text-xs font-medium px-2.5 py-0.5 rounded-full">
Active
</span>
</div>
<p class="text-gray-600 mb-4">
Scraping trending topics about "How to grow on Instagram" from r/Instagram, r/SocialMediaMarketing, and r/DigitalMarketing.
</p>
<div class="mb-4">
<div class="flex justify-between text-sm text-gray-500 mb-1">
<span>Last Scraped</span>
<span>2 minutes ago</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-purple-600 h-2.5 rounded-full" style="width: 85%"></div>
</div>
</div>
<div class="space-y-3">
<div class="flex items-start">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-red-100 flex items-center justify-center text-red-500">
<i class="fab fa-reddit"></i>
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">From r/Instagram</p>
<p class="text-sm text-gray-500">"The algorithm favors engagement over everything else - focus on comments!"</p>
</div>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-red-100 flex items-center justify-center text-red-500">
<i class="fab fa-reddit"></i>
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">From r/SocialMediaMarketing</p>
<p class="text-sm text-gray-500">"Consistent posting at optimal times increased my reach by 300%"</p>
</div>
</div>
</div>
<button class="mt-4 w-full bg-purple-600 hover:bg-purple-700 text-white py-2 px-4 rounded-lg transition flex items-center justify-center">
<i class="fas fa-sync-alt mr-2"></i> Run Scraper Now
</button>
</div>
</div>
<!-- Content Generator Card -->
<div class="bg-white rounded-xl shadow-md overflow-hidden card-hover">
<div class="p-6">
<div class="flex items-center justify-between mb-4">
<h2 class="text-xl font-bold text-gray-800">
<i class="fas fa-magic text-purple-500 mr-2"></i> Content Generator
</h2>
<span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded-full">
Processing
</span>
</div>
<p class="text-gray-600 mb-4">
Generating Twitter threads from scraped Reddit data about Instagram growth strategies.
</p>
<div class="mb-4">
<div class="flex justify-between text-sm text-gray-500 mb-1">
<span>Threads Generated</span>
<span>3 today</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-blue-500 h-2.5 rounded-full" style="width: 60%"></div>
</div>
</div>
<div class="space-y-4">
<div class="bg-gray-50 p-4 rounded-lg">
<h3 class="font-medium text-gray-800 mb-2">Latest Generated Thread</h3>
<div class="space-y-3">
<div class="thread-line">
<p class="text-sm text-gray-700">1/5 Instagram growth isn't about luck - it's about strategy. Here are 5 proven tactics from top creators:</p>
</div>
<div class="thread-line">
<p class="text-sm text-gray-700">2/5 Engagement > Followers. The algorithm prioritizes accounts that spark conversations. Reply to every comment in the first hour.</p>
</div>
<div class="thread-line">
<p class="text-sm text-gray-700">3/5 Consistency beats perfection. Posting 3x/week at optimal times (check your insights) grows accounts faster than sporadic viral posts.</p>
</div>
</div>
</div>
</div>
<button class="mt-4 w-full bg-blue-500 hover:bg-blue-600 text-white py-2 px-4 rounded-lg transition flex items-center justify-center">
<i class="fas fa-plus mr-2"></i> Generate New Thread
</button>
</div>
</div>
<!-- Twitter Poster Card -->
<div class="bg-white rounded-xl shadow-md overflow-hidden card-hover">
<div class="p-6">
<div class="flex items-center justify-between mb-4">
<h2 class="text-xl font-bold text-gray-800">
<i class="fab fa-twitter text-blue-400 mr-2"></i> Twitter Poster
</h2>
<span class="bg-green-100 text-green-800 text-xs font-medium px-2.5 py-0.5 rounded-full">
Connected
</span>
</div>
<p class="text-gray-600 mb-4">
Automatically posts generated threads to your Twitter account at optimal times.
</p>
<div class="mb-4">
<div class="flex justify-between text-sm text-gray-500 mb-1">
<span>Next Scheduled Post</span>
<span>in 2 hours</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-blue-400 h-2.5 rounded-full" style="width: 30%"></div>
</div>
</div>
<div class="space-y-3">
<div class="flex items-center p-3 bg-gray-50 rounded-lg">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center text-blue-500">
<i class="fab fa-twitter"></i>
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Last Posted</p>
<p class="text-sm text-gray-500">"5 Instagram growth hacks that actually work..." - 3 hours ago</p>
</div>
</div>
<div class="flex items-center p-3 bg-gray-50 rounded-lg">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center text-blue-500">
<i class="fas fa-chart-line"></i>
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Performance</p>
<p class="text-sm text-gray-500">Average 142 retweets per thread</p>
</div>
</div>
</div>
<button class="mt-4 w-full bg-blue-400 hover:bg-blue-500 text-white py-2 px-4 rounded-lg transition flex items-center justify-center">
<i class="fas fa-paper-plane mr-2"></i> Post Now
</button>
</div>
</div>
</div>
<!-- Analytics Section -->
<div class="mt-12 bg-white rounded-xl shadow-md overflow-hidden">
<div class="p-6">
<h2 class="text-xl font-bold text-gray-800 mb-6 flex items-center">
<i class="fas fa-chart-bar text-purple-500 mr-2"></i> Performance Analytics
</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-6">
<div class="bg-purple-50 p-4 rounded-lg">
<div class="flex items-center justify-between">
<h3 class="text-gray-600 font-medium">Reddit Posts Analyzed</h3>
<i class="fas fa-reddit text-red-500"></i>
</div>
<p class="text-3xl font-bold text-purple-600 mt-2">1,248</p>
<p class="text-sm text-gray-500 mt-1">+12% this week</p>
</div>
<div class="bg-blue-50 p-4 rounded-lg">
<div class="flex items-center justify-between">
<h3 class="text-gray-600 font-medium">Twitter Threads Created</h3>
<i class="fas fa-magic text-blue-500"></i>
</div>
<p class="text-3xl font-bold text-blue-600 mt-2">87</p>
<p class="text-sm text-gray-500 mt-1">+5 this week</p>
</div>
<div class="bg-green-50 p-4 rounded-lg">
<div class="flex items-center justify-between">
<h3 class="text-gray-600 font-medium">Avg. Twitter Engagement</h3>
<i class="fab fa-twitter text-green-500"></i>
</div>
<p class="text-3xl font-bold text-green-600 mt-2">312</p>
<p class="text-sm text-gray-500 mt-1">likes per thread</p>
</div>
</div>
<div class="border-t pt-6">
<h3 class="text-lg font-semibold text-gray-800 mb-4">Recent Twitter Thread Performance</h3>
<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">Thread Topic</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date Posted</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Likes</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Retweets</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Replies</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Instagram algorithm secrets</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2 hours ago</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">287</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">56</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">34</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Content calendar tips</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">1 day ago</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">412</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">78</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">29</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Hashtag strategy</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2 days ago</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">356</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">92</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">41</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- Settings Modal (hidden by default) -->
<div id="settingsModal" class="fixed inset-0 bg-gray-600 bg-opacity-50 flex items-center justify-center hidden">
<div class="bg-white rounded-lg shadow-xl max-w-md w-full p-6">
<div class="flex justify-between items-center mb-4">
<h3 class="text-lg font-bold text-gray-800">Agent Settings</h3>
<button id="closeModal" class="text-gray-500 hover:text-gray-700">
<i class="fas fa-times"></i>
</button>
</div>
<div class="space-y-4">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Reddit Subreddits</label>
<input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-md" value="r/Instagram, r/SocialMediaMarketing, r/DigitalMarketing">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Search Keywords</label>
<input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-md" value="grow on instagram, instagram growth, increase followers">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Posting Schedule</label>
<select class="w-full px-3 py-2 border border-gray-300 rounded-md">
<option>Every 6 hours</option>
<option selected>Every 12 hours</option>
<option>Daily</option>
<option>Every 2 days</option>
</select>
</div>
<div class="pt-4 border-t">
<button class="w-full bg-purple-600 hover:bg-purple-700 text-white py-2 px-4 rounded-md transition">
Save Settings
</button>
</div>
</div>
</div>
</div>
</div>
<script>
// Simple interactivity for the dashboard
document.addEventListener('DOMContentLoaded', function() {
// Settings modal toggle
const settingsBtn = document.querySelector('button:has(.fa-cog)');
const closeModal = document.getElementById('closeModal');
const modal = document.getElementById('settingsModal');
settingsBtn.addEventListener('click', () => {
modal.classList.remove('hidden');
});
closeModal.addEventListener('click', () => {
modal.classList.add('hidden');
});
// Simulate scraping when clicking the scraper button
const scraperBtn = document.querySelector('button:has(.fa-sync-alt)');
scraperBtn.addEventListener('click', function() {
const originalText = this.innerHTML;
this.innerHTML = '<i class="fas fa-circle-notch fa-spin mr-2"></i> Scraping...';
this.classList.add('opacity-75');
setTimeout(() => {
this.innerHTML = originalText;
this.classList.remove('opacity-75');
// Show a temporary success message
const success = document.createElement('div');
success.className = 'fixed bottom-4 right-4 bg-green-500 text-white px-4 py-2 rounded-lg shadow-lg';
success.innerHTML = '<i class="fas fa-check-circle mr-2"></i> Successfully scraped 15 new Reddit posts!';
document.body.appendChild(success);
setTimeout(() => {
success.remove();
}, 3000);
}, 2000);
});
// Simulate thread generation
const generateBtn = document.querySelector('button:has(.fa-plus)');
generateBtn.addEventListener('click', function() {
const originalText = this.innerHTML;
this.innerHTML = '<i class="fas fa-circle-notch fa-spin mr-2"></i> Generating...';
this.classList.add('opacity-75');
setTimeout(() => {
this.innerHTML = originalText;
this.classList.remove('opacity-75');
// Update the latest thread preview
const threadContainer = document.querySelector('.bg-gray-50.p-4.rounded-lg');
threadContainer.innerHTML = `
<h3 class="font-medium text-gray-800 mb-2">New Generated Thread</h3>
<div class="space-y-3">
<div class="thread-line">
<p class="text-sm text-gray-700">1/6 Most people use Instagram hashtags wrong. Here's how to actually get discovered:</p>
</div>
<div class="thread-line">
<p class="text-sm text-gray-700">2/6 Stop using the same 30 hashtags on every post. Instagram sees this as spam. Instead, create 5-10 hashtag sets for different content types.</p>
</div>
<div class="thread-line">
<p class="text-sm text-gray-700">3/6 Mix hashtag sizes: 3-5 large (1M+ posts), 5-7 medium (100k-1M), 3-5 small (<100k). This gives you visibility at multiple levels.</p>
</div>
</div>
`;
}, 1500);
});
// Simulate posting to Twitter
const postBtn = document.querySelector('button:has(.fa-paper-plane)');
postBtn.addEventListener('click', function() {
const originalText = this.innerHTML;
this.innerHTML = '<i class="fas fa-circle-notch fa-spin mr-2"></i> Posting...';
this.classList.add('opacity-75');
setTimeout(() => {
this.innerHTML = originalText;
this.classList.remove('opacity-75');
// Show a temporary success message
const success = document.createElement('div');
success.className = 'fixed bottom-4 right-4 bg-blue-500 text-white px-4 py-2 rounded-lg shadow-lg';
success.innerHTML = '<i class="fab fa-twitter mr-2"></i> Thread successfully posted to Twitter!';
document.body.appendChild(success);
setTimeout(() => {
success.remove();
}, 3000);
}, 2500);
});
});
</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=javier55/test" style="color: #fff;text-decoration: underline;" target="_blank" >🧬 Remix</a></p></body>
</html> |