Spaces:
Running
Running
File size: 30,995 Bytes
204fe62 |
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 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Android & AI News Feed</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>
.loader {
border: 4px solid #f3f3f3;
border-top: 4px solid #3498db;
border-radius: 50%;
width: 30px;
height: 30px;
animation: spin 1s linear infinite;
margin: 20px auto;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.video-container {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.tab-active {
border-bottom: 3px solid #3b82f6;
font-weight: 600;
color: #3b82f6;
}
.post-divider {
border: none;
height: 1px;
background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
}
.reddit-post:hover {
transform: translateY(-2px);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.video-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
</style>
</head>
<body class="bg-gray-50 min-h-screen">
<header class="bg-white shadow-sm sticky top-0 z-10">
<div class="container mx-auto px-4 py-4">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2">
<i class="fab fa-android text-3xl text-green-500"></i>
<i class="fas fa-robot text-3xl text-blue-500"></i>
<h1 class="text-2xl font-bold text-gray-800">Android & AI News</h1>
</div>
<div class="flex space-x-4">
<button class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-full text-sm font-medium transition">
<i class="fas fa-cog mr-1"></i> Settings
</button>
<button class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-full text-sm font-medium transition">
<i class="fas fa-user-plus mr-1"></i> Sign In
</button>
</div>
</div>
</div>
</header>
<main class="container mx-auto px-4 py-8">
<div class="flex flex-col md:flex-row gap-8">
<!-- Left sidebar with filters -->
<aside class="w-full md:w-64 flex-shrink-0">
<div class="bg-white rounded-lg shadow p-4 sticky top-24">
<h2 class="text-lg font-semibold mb-4 text-gray-800">Filters</h2>
<div class="mb-6">
<h3 class="text-sm font-medium text-gray-700 mb-2">Content Type</h3>
<div class="space-y-2">
<label class="flex items-center">
<input type="checkbox" class="rounded text-blue-500" checked>
<span class="ml-2 text-gray-700">Videos</span>
</label>
<label class="flex items-center">
<input type="checkbox" class="rounded text-blue-500" checked>
<span class="ml-2 text-gray-700">Articles</span>
</label>
<label class="flex items-center">
<input type="checkbox" class="rounded text-blue-500">
<span class="ml-2 text-gray-700">Discussions</span>
</label>
</div>
</div>
<div class="mb-6">
<h3 class="text-sm font-medium text-gray-700 mb-2">Topics</h3>
<div class="space-y-2">
<label class="flex items-center">
<input type="checkbox" class="rounded text-blue-500" checked>
<span class="ml-2 text-gray-700">Android OS</span>
</label>
<label class="flex items-center">
<input type="checkbox" class="rounded text-blue-500" checked>
<span class="ml-2 text-gray-700">AI Research</span>
</label>
<label class="flex items-center">
<input type="checkbox" class="rounded text-blue-500">
<span class="ml-2 text-gray-700">Hardware</span>
</label>
<label class="flex items-center">
<input type="checkbox" class="rounded text-blue-500">
<span class="ml-2 text-gray-700">Apps</span>
</label>
<label class="flex items-center">
<input type="checkbox" class="rounded text-blue-500">
<span class="ml-2 text-gray-700">Ethics</span>
</label>
</div>
</div>
<div class="mb-6">
<h3 class="text-sm font-medium text-gray-700 mb-2">Time Range</h3>
<select class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-sm">
<option>Last 24 hours</option>
<option selected>Last week</option>
<option>Last month</option>
<option>Last year</option>
</select>
</div>
<button class="w-full bg-blue-500 hover:bg-blue-600 text-white py-2 rounded-md text-sm font-medium transition">
Apply Filters
</button>
</div>
</aside>
<!-- Main content area -->
<div class="flex-1">
<!-- Tabs -->
<div class="bg-white rounded-lg shadow mb-6">
<div class="border-b border-gray-200">
<nav class="flex -mb-px">
<button id="all-tab" class="tab-active py-4 px-6 text-center border-transparent text-sm font-medium">
All Content
</button>
<button id="youtube-tab" class="py-4 px-6 text-center border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 text-sm font-medium">
<i class="fab fa-youtube mr-1 text-red-500"></i> Videos
</button>
<button id="reddit-tab" class="py-4 px-6 text-center border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 text-sm font-medium">
<i class="fab fa-reddit mr-1 text-orange-500"></i> Discussions
</button>
</nav>
</div>
</div>
<!-- Feed content -->
<div id="feed-content">
<!-- YouTube videos -->
<div id="youtube-feed" class="space-y-6">
<div class="video-card bg-white rounded-lg shadow overflow-hidden transition duration-300">
<div class="video-container">
<iframe src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<div class="p-4">
<h3 class="text-lg font-semibold text-gray-800 mb-2">Android 14 Preview: All New AI Features</h3>
<p class="text-gray-600 text-sm mb-3">Google just announced Android 14 with groundbreaking AI integration. Here's everything you need to know about the new features.</p>
<div class="flex items-center text-sm text-gray-500">
<span class="flex items-center mr-4">
<i class="fas fa-eye mr-1"></i> 245K views
</span>
<span class="flex items-center">
<i class="far fa-clock mr-1"></i> 2 days ago
</span>
</div>
</div>
</div>
<div class="video-card bg-white rounded-lg shadow overflow-hidden transition duration-300">
<div class="video-container">
<iframe src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<div class="p-4">
<h3 class="text-lg font-semibold text-gray-800 mb-2">How ChatGPT is Changing Android Development</h3>
<p class="text-gray-600 text-sm mb-3">Developers are using AI tools like ChatGPT to accelerate Android app development. See real-world examples and learn how you can implement these techniques.</p>
<div class="flex items-center text-sm text-gray-500">
<span class="flex items-center mr-4">
<i class="fas fa-eye mr-1"></i> 189K views
</span>
<span class="flex items-center">
<i class="far fa-clock mr-1"></i> 1 week ago
</span>
</div>
</div>
</div>
<div class="video-card bg-white rounded-lg shadow overflow-hidden transition duration-300">
<div class="video-container">
<iframe src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<div class="p-4">
<h3 class="text-lg font-semibold text-gray-800 mb-2">The Future of AI on Mobile: Tensor Processing Units Explained</h3>
<p class="text-gray-600 text-sm mb-3">Google's custom Tensor chips are bringing desktop-level AI processing to mobile devices. We break down what this means for the future of smartphones.</p>
<div class="flex items-center text-sm text-gray-500">
<span class="flex items-center mr-4">
<i class="fas fa-eye mr-1"></i> 312K views
</span>
<span class="flex items-center">
<i class="far fa-clock mr-1"></i> 3 weeks ago
</span>
</div>
</div>
</div>
</div>
<!-- Reddit posts -->
<div id="reddit-feed" class="mt-8 space-y-4">
<div class="reddit-post bg-white rounded-lg shadow p-4 transition duration-300">
<div class="flex items-start">
<div class="flex flex-col items-center mr-3">
<button class="text-gray-400 hover:text-blue-500">
<i class="fas fa-arrow-up"></i>
</button>
<span class="text-xs font-medium my-1">4.2k</span>
<button class="text-gray-400 hover:text-blue-500">
<i class="fas fa-arrow-down"></i>
</button>
</div>
<div class="flex-1">
<div class="flex items-center text-xs text-gray-500 mb-1">
<span class="font-medium text-gray-700">r/Android</span>
<span class="mx-1">•</span>
<span>Posted by u/tech_enthusiast</span>
<span class="mx-1">•</span>
<span>2 days ago</span>
</div>
<h3 class="text-lg font-semibold text-gray-800 mb-2">Android 14 Beta 3 Released - Major AI Improvements</h3>
<p class="text-gray-700 text-sm mb-3">Google has just pushed Android 14 Beta 3 to Pixel devices with significant enhancements to on-device machine learning capabilities. The new update includes...</p>
<div class="flex space-x-4 text-xs text-gray-500">
<button class="flex items-center hover:text-gray-700">
<i class="far fa-comment mr-1"></i> 342 comments
</button>
<button class="flex items-center hover:text-gray-700">
<i class="fas fa-share mr-1"></i> Share
</button>
<button class="flex items-center hover:text-gray-700">
<i class="far fa-bookmark mr-1"></i> Save
</button>
</div>
</div>
</div>
</div>
<div class="reddit-post bg-white rounded-lg shadow p-4 transition duration-300">
<div class="flex items-start">
<div class="flex flex-col items-center mr-3">
<button class="text-gray-400 hover:text-blue-500">
<i class="fas fa-arrow-up"></i>
</button>
<span class="text-xs font-medium my-1">8.7k</span>
<button class="text-gray-400 hover:text-blue-500">
<i class="fas fa-arrow-down"></i>
</button>
</div>
<div class="flex-1">
<div class="flex items-center text-xs text-gray-500 mb-1">
<span class="font-medium text-orange-500">r/MachineLearning</span>
<span class="mx-1">•</span>
<span>Posted by u/ai_researcher</span>
<span class="mx-1">•</span>
<span>5 days ago</span>
</div>
<h3 class="text-lg font-semibold text-gray-800 mb-2">[P] Running LLMs on Android: A Comprehensive Guide</h3>
<p class="text-gray-700 text-sm mb-3">After months of experimentation, I've successfully optimized several large language models to run efficiently on Android devices. Here's everything I learned about quantization, pruning, and hardware acceleration...</p>
<div class="flex space-x-4 text-xs text-gray-500">
<button class="flex items-center hover:text-gray-700">
<i class="far fa-comment mr-1"></i> 587 comments
</button>
<button class="flex items-center hover:text-gray-700">
<i class="fas fa-share mr-1"></i> Share
</button>
<button class="flex items-center hover:text-gray-700">
<i class="far fa-bookmark mr-1"></i> Save
</button>
</div>
</div>
</div>
</div>
<div class="reddit-post bg-white rounded-lg shadow p-4 transition duration-300">
<div class="flex items-start">
<div class="flex flex-col items-center mr-3">
<button class="text-gray-400 hover:text-blue-500">
<i class="fas fa-arrow-up"></i>
</button>
<span class="text-xs font-medium my-1">12.4k</span>
<button class="text-gray-400 hover:text-blue-500">
<i class="fas fa-arrow-down"></i>
</button>
</div>
<div class="flex-1">
<div class="flex items-center text-xs text-gray-500 mb-1">
<span class="font-medium text-gray-700">r/AndroidDev</span>
<span class="mx-1">•</span>
<span>Posted by u/senior_dev</span>
<span class="mx-1">•</span>
<span>1 week ago</span>
</div>
<h3 class="text-lg font-semibold text-gray-800 mb-2">Google announces ML Kit updates with new on-device text-to-image generation</h3>
<p class="text-gray-700 text-sm mb-3">At I/O yesterday, Google unveiled major updates to ML Kit including stable diffusion models that can run entirely on-device. This opens up incredible possibilities for Android apps that need generative AI capabilities without cloud dependencies...</p>
<div class="flex space-x-4 text-xs text-gray-500">
<button class="flex items-center hover:text-gray-700">
<i class="far fa-comment mr-1"></i> 892 comments
</button>
<button class="flex items-center hover:text-gray-700">
<i class="fas fa-share mr-1"></i> Share
</button>
<button class="flex items-center hover:text-gray-700">
<i class="far fa-bookmark mr-1"></i> Save
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Loading indicator -->
<div id="loading-indicator" class="py-8 hidden">
<div class="loader"></div>
</div>
</div>
</div>
</div>
</main>
<footer class="bg-gray-100 border-t border-gray-200 py-8 mt-12">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="mb-4 md:mb-0">
<div class="flex items-center space-x-2">
<i class="fab fa-android text-2xl text-green-500"></i>
<i class="fas fa-robot text-2xl text-blue-500"></i>
<span class="text-lg font-semibold text-gray-800">Android & AI News</span>
</div>
<p class="text-gray-600 text-sm mt-2">Your source for the latest in Android and Artificial Intelligence</p>
</div>
<div class="flex space-x-6">
<a href="#" class="text-gray-600 hover:text-gray-900">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="text-gray-600 hover:text-gray-900">
<i class="fab fa-github"></i>
</a>
<a href="#" class="text-gray-600 hover:text-gray-900">
<i class="fab fa-linkedin"></i>
</a>
<a href="#" class="text-gray-600 hover:text-gray-900">
<i class="fab fa-youtube"></i>
</a>
<a href="#" class="text-gray-600 hover:text-gray-900">
<i class="fab fa-reddit"></i>
</a>
</div>
</div>
<div class="border-t border-gray-200 mt-8 pt-8 text-center text-sm text-gray-500">
<p>© 2023 Android & AI News. All rights reserved. Content aggregated from YouTube and Reddit.</p>
</div>
</div>
</footer>
<script>
</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=Letcool/androidnews" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |