Download index.html from abjj/abjify: direct link, hf CLI and curl.
- Browser
- Download file 18.5 kB
-
https://huggingface.co/spaces/abjj/abjify/resolve/main/index.html
- Command line
-
hf download hf://spaces/abjj/abjify/index.html
-
curl -L -o index.html https://huggingface.co/spaces/abjj/abjify/resolve/main/index.html
18.5 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
| <title>DoodleTune - YouTube Music Player</title> | |
| <meta name="theme-color" content="#FF1C1C"> | |
| <meta name="mobile-web-app-capable" content="yes"> | |
| <meta name="apple-mobile-web-app-capable" content="yes"> | |
| <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> | |
| <link rel="manifest" href="/manifest.json"> | |
| <link rel="icon" type="image/png" href="/icons/icon-192x192.png"> | |
| <meta name="tech-stack" content="Kotlin,Android Jetpack,NewPipeExtractor v0.23.3,ExoPlayer v2.19.1,ViewModel,LiveData,Room DB,Material3,ConstraintLayout,Lottie"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link href="https://fonts.googleapis.com/css2?family=Comic+Neue:wght@700&family=Poppins:wght@400;600&display=swap" rel="stylesheet"> | |
| <link rel="apple-touch-startup-image" href="/splash.png"> | |
| <style> | |
| html, body { | |
| touch-action: manipulation; | |
| -webkit-tap-highlight-color: transparent; | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { transform: scale(1); } | |
| 50% { transform: scale(1.05); } | |
| } | |
| @keyframes float { | |
| 0%, 100% { transform: translateY(0); } | |
| 50% { transform: translateY(-10px); } | |
| } | |
| .doodle-border { | |
| border: 3px dashed #FF1C1C; | |
| border-radius: 15px; | |
| } | |
| .doodle-button { | |
| transition: all 0.3s ease; | |
| } | |
| .doodle-button:hover { | |
| transform: rotate(5deg) scale(1.1); | |
| } | |
| .visualizer-bar { | |
| animation: float 1.5s infinite ease-in-out; | |
| animation-delay: calc(var(--i) * 0.1s); | |
| } | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #FF1C1C 0%, #000000 100%); | |
| } | |
| .comic-font { | |
| font-family: 'Comic Neue', cursive; | |
| } | |
| .poppins-font { | |
| font-family: 'Poppins', sans-serif; | |
| } | |
| .hand-drawn { | |
| position: relative; | |
| } | |
| .hand-drawn::after { | |
| content: ""; | |
| position: absolute; | |
| top: -5px; | |
| left: -5px; | |
| right: -5px; | |
| bottom: -5px; | |
| border: 2px dashed rgba(255, 28, 28, 0.5); | |
| border-radius: 20px; | |
| pointer-events: none; | |
| } | |
| </style> | |
| </head> | |
| <body class="gradient-bg min-h-screen text-white poppins-font overflow-x-hidden"> | |
| <!-- Main App Container --> | |
| <div class="container mx-auto px-4 py-6 max-w-md"> | |
| <!-- Header --> | |
| <header class="flex justify-between items-center mb-8"> | |
| <h1 class="text-3xl font-bold comic-font">Doodle<span class="text-red-500">Tune</span></h1> | |
| <div class="flex space-x-4"> | |
| <button class="doodle-button bg-black bg-opacity-30 p-2 rounded-full"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" /> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" /> | |
| </svg> | |
| </button> | |
| <button class="doodle-button bg-black bg-opacity-30 p-2 rounded-full"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" /> | |
| </svg> | |
| </button> | |
| </div> | |
| </header> | |
| <!-- Main Content Area --> | |
| <main class="mb-24"> | |
| <!-- Search Section --> | |
| <div class="mb-8"> | |
| <div class="relative"> | |
| <input id="searchInput" type="text" placeholder="Search YouTube music..." | |
| class="w-full bg-black bg-opacity-30 text-white px-6 py-3 rounded-full border-2 border-red-500 focus:outline-none focus:ring-2 focus:ring-red-500 poppins-font"> | |
| <button class="absolute right-3 top-3 text-red-500" onclick="handleSearch()"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" /> | |
| </svg> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Featured Playlists --> | |
| <div class="mb-8"> | |
| <h2 class="text-xl font-bold mb-4 comic-font">Featured Playlists</h2> | |
| <div class="grid grid-cols-2 gap-4"> | |
| <div class="bg-black bg-opacity-30 p-4 rounded-xl doodle-border hand-drawn"> | |
| <div class="h-24 bg-gradient-to-br from-red-500 to-black rounded-lg mb-2 flex items-center justify-center"> | |
| <span class="text-4xl">๐ธ</span> | |
| </div> | |
| <h3 class="font-semibold">Rock Classics</h3> | |
| <p class="text-sm text-gray-300">50 songs</p> | |
| </div> | |
| <div class="bg-black bg-opacity-30 p-4 rounded-xl doodle-border hand-drawn"> | |
| <div class="h-24 bg-gradient-to-br from-red-500 to-black rounded-lg mb-2 flex items-center justify-center"> | |
| <span class="text-4xl">๐ง</span> | |
| </div> | |
| <h3 class="font-semibold">Chill Vibes</h3> | |
| <p class="text-sm text-gray-300">35 songs</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recently Played --> | |
| <div class="mb-8"> | |
| <h2 class="text-xl font-bold mb-4 comic-font">Recently Played</h2> | |
| <div class="space-y-3"> | |
| <div class="flex items-center bg-black bg-opacity-20 p-3 rounded-lg doodle-border"> | |
| <div class="w-12 h-12 bg-gradient-to-br from-red-500 to-black rounded-lg mr-3 flex items-center justify-center"> | |
| <span class="text-xl">๐ต</span> | |
| </div> | |
| <div class="flex-1"> | |
| <h3 class="font-semibold">Bohemian Rhapsody</h3> | |
| <p class="text-sm text-gray-300">Queen</p> | |
| </div> | |
| <button class="text-red-500" onclick="AndroidInterface.playVideo('QUEEN_VIDEO_ID')"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z" /> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /> | |
| </svg> | |
| </button> | |
| </div> | |
| <div class="flex items-center bg-black bg-opacity-20 p-3 rounded-lg doodle-border"> | |
| <div class="w-12 h-12 bg-gradient-to-br from-red-500 to-black rounded-lg mr-3 flex items-center justify-center"> | |
| <span class="text-xl">๐ค</span> | |
| </div> | |
| <div class="flex-1"> | |
| <h3 class="font-semibold">Blinding Lights</h3> | |
| <p class="text-sm text-gray-300">The Weeknd</p> | |
| </div> | |
| <button class="text-red-500"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z" /> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /> | |
| </svg> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Now Playing Expanded (Hidden by default) --> | |
| <div id="nowPlayingExpanded" class="fixed inset-0 bg-black bg-opacity-90 z-50 hidden flex flex-col items-center justify-center p-6"> | |
| <button id="closePlayer" class="absolute top-6 right-6 text-white text-2xl">โ</button> | |
| <div class="w-64 h-64 bg-gradient-to-br from-red-500 to-black rounded-2xl mb-8 flex items-center justify-center shadow-lg animate-pulse"> | |
| <span class="text-8xl">๐ต</span> | |
| </div> | |
| <h2 class="text-2xl font-bold mb-1 comic-font">Bohemian Rhapsody</h2> | |
| <p class="text-lg text-gray-300 mb-8">Queen</p> | |
| <!-- Lottie Visualizer --> | |
| <div class="w-full h-20 mb-8 flex items-center justify-center"> | |
| <div class="text-center"> | |
| <span class="text-xs text-gray-400">Lottie Animation Visualizer</span> | |
| <div class="w-full h-12 bg-black bg-opacity-30 rounded-full flex items-center justify-center"> | |
| <span class="text-red-500">๐ต</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Progress Bar --> | |
| <div class="w-full mb-4"> | |
| <div class="relative pt-1"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <span class="text-xs text-gray-400">1:23</span> | |
| </div> | |
| <div> | |
| <span class="text-xs text-gray-400">5:55</span> | |
| </div> | |
| </div> | |
| <div class="overflow-hidden h-2 mb-4 text-xs flex rounded bg-black bg-opacity-30"> | |
| <div style="width: 25%" class="shadow-none flex flex-col text-center whitespace-nowrap text-white justify-center bg-red-500"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Controls --> | |
| <div class="flex items-center justify-center space-x-8"> | |
| <button class="doodle-button text-white text-2xl">๐</button> | |
| <button class="doodle-button text-white text-2xl">โฎ</button> | |
| <button class="doodle-button bg-red-500 p-4 rounded-full text-white text-2xl animate-pulse">โธ</button> | |
| <button class="doodle-button text-white text-2xl">โญ</button> | |
| <button class="doodle-button text-white text-2xl">๐</button> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Bottom Navigation --> | |
| <nav class="fixed bottom-0 left-0 right-0 bg-black bg-opacity-70 backdrop-blur-md border-t border-red-900"> | |
| <div class="flex justify-around items-center p-3"> | |
| <button class="doodle-button text-white p-2 rounded-full"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" /> | |
| </svg> | |
| </button> | |
| <button class="doodle-button text-white p-2 rounded-full"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" /> | |
| </svg> | |
| </button> | |
| <button class="doodle-button text-white p-2 rounded-full"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z" /> | |
| </svg> | |
| </button> | |
| <button class="doodle-button text-white p-2 rounded-full"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 12h.01M12 12h.01M19 12h.01M6 12a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0z" /> | |
| </svg> | |
| </button> | |
| </div> | |
| </nav> | |
| <!-- Mini Player --> | |
| <div id="miniPlayer" class="fixed bottom-16 left-0 right-0 bg-black bg-opacity-70 backdrop-blur-md border-t border-red-900 p-3 flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <div class="w-12 h-12 bg-gradient-to-br from-red-500 to-black rounded-lg mr-3 flex items-center justify-center"> | |
| <span class="text-xl">๐ต</span> | |
| </div> | |
| <div> | |
| <h3 class="font-semibold text-sm">Bohemian Rhapsody</h3> | |
| <p class="text-xs text-gray-300">Queen</p> | |
| </div> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <button class="text-white"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z" /> | |
| </svg> | |
| </button> | |
| <button id="expandPlayer" class="text-white"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4" /> | |
| </svg> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| // Android WebView interface | |
| const AndroidInterface = { | |
| playVideo: function(videoId) { | |
| if (window.AndroidPlayer) { | |
| AndroidPlayer.playVideo(videoId); | |
| } else { | |
| console.log("Android interface not available"); | |
| } | |
| }, | |
| searchYouTube: function(query) { | |
| if (window.AndroidSearch) { | |
| AndroidSearch.performSearch(query); | |
| } else { | |
| console.log("Android search interface not available"); | |
| } | |
| } | |
| }; | |
| // Register Service Worker | |
| if ('serviceWorker' in navigator) { | |
| window.addEventListener('load', () => { | |
| navigator.serviceWorker.register('/sw.js') | |
| .then(registration => { | |
| console.log('ServiceWorker registration successful'); | |
| }) | |
| .catch(err => { | |
| console.log('ServiceWorker registration failed: ', err); | |
| }); | |
| }); | |
| } | |
| // Toggle expanded player view | |
| document.getElementById('expandPlayer').addEventListener('click', function() { | |
| document.getElementById('nowPlayingExpanded').classList.remove('hidden'); | |
| document.getElementById('nowPlayingExpanded').classList.add('flex'); | |
| }); | |
| document.getElementById('closePlayer').addEventListener('click', function() { | |
| document.getElementById('nowPlayingExpanded').classList.add('hidden'); | |
| document.getElementById('nowPlayingExpanded').classList.remove('flex'); | |
| }); | |
| function handleSearch() { | |
| const query = document.getElementById('searchInput').value; | |
| AndroidInterface.searchYouTube(query); | |
| } | |
| </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=abjj/abjify" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |