Download index.html from Rebaone/allena: direct link, hf CLI and curl.
- Browser
- Download file 15.3 kB
-
https://huggingface.co/spaces/Rebaone/allena/resolve/main/index.html
- Command line
-
hf download hf://spaces/Rebaone/allena/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Rebaone/allena/resolve/main/index.html
15.3 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Allena - Your Advanced AI Assistant</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, #667eea 0%, #764ba2 100%); | |
| } | |
| .pulse-animation { | |
| animation: pulse 2s infinite; | |
| } | |
| @keyframes pulse { | |
| 0% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7); } | |
| 70% { box-shadow: 0 0 0 15px rgba(102, 126, 234, 0); } | |
| 100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0); } | |
| } | |
| .typing { | |
| border-right: 2px solid #fff; | |
| animation: blink 1s step-end infinite; | |
| } | |
| @keyframes blink { | |
| from, to { border-color: transparent } | |
| 50% { border-color: #fff } | |
| } | |
| .message-box { | |
| max-height: 400px; | |
| overflow-y: auto; | |
| scrollbar-width: thin; | |
| } | |
| .message-box::-webkit-scrollbar { | |
| width: 5px; | |
| } | |
| .message-box::-webkit-scrollbar-track { | |
| background: rgba(255,255,255,0.1); | |
| } | |
| .message-box::-webkit-scrollbar-thumb { | |
| background: rgba(255,255,255,0.2); | |
| border-radius: 10px; | |
| } | |
| </style> | |
| </head> | |
| <body class="min-h-screen gradient-bg text-white"> | |
| <div class="container mx-auto px-4 py-10 max-w-3xl"> | |
| <!-- Header --> | |
| <header class="flex flex-col items-center mb-10"> | |
| <div class="relative"> | |
| <div class="w-24 h-24 rounded-full bg-white bg-opacity-20 flex items-center justify-center pulse-animation"> | |
| <i class="fas fa-robot text-4xl"></i> | |
| </div> | |
| <div class="absolute -bottom-2 -right-2 bg-yellow-400 text-purple-900 rounded-full w-8 h-8 flex items-center justify-center"> | |
| <i class="fas fa-bolt"></i> | |
| </div> | |
| </div> | |
| <h1 class="text-3xl md:text-4xl font-bold mt-4">Allena</h1> | |
| <p class="text-center text-opacity-80 mt-2">Your next-generation AI assistant</p> | |
| </header> | |
| <!-- Features Showcase --> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-10"> | |
| <div class="bg-white bg-opacity-10 rounded-xl p-4"> | |
| <div class="w-12 h-12 bg-white bg-opacity-20 rounded-full flex items-center justify-center mb-3"> | |
| <i class="fas fa-mobile-alt"></i> | |
| </div> | |
| <h3 class="font-bold">Phone Management</h3> | |
| <p class="text-sm text-white text-opacity-80 mt-1">Full control over calls, messages, apps and device settings</p> | |
| </div> | |
| <div class="bg-white bg-opacity-10 rounded-xl p-4"> | |
| <div class="w-12 h-12 bg-white bg-opacity-20 rounded-full flex items-center justify-center mb-3"> | |
| <i class="fas fa-shield-alt"></i> | |
| </div> | |
| <h3 class="font-bold">Auto-Security</h3> | |
| <p class="text-sm text-white text-opacity-80 mt-1">Real-time threat detection and automatic vulnerability fixes</p> | |
| </div> | |
| <div class="bg-white bg-opacity-10 rounded-xl p-4"> | |
| <div class="w-12 h-12 bg-white bg-opacity-20 rounded-full flex items-center justify-center mb-3"> | |
| <i class="fas fa-cogs"></i> | |
| </div> | |
| <h3 class="font-bold">Total Automation</h3> | |
| <p class="text-sm text-white text-opacity-80 mt-1">Self-optimizing performance and battery management</p> | |
| </div> | |
| </div> | |
| <!-- Chat Interface --> | |
| <div class="bg-black bg-opacity-30 backdrop-blur-lg rounded-xl overflow-hidden"> | |
| <!-- Message History --> | |
| <div class="message-box p-4 h-64"> | |
| <div class="flex mb-4"> | |
| <div class="flex-shrink-0 w-8 h-8 rounded-full bg-purple-500 flex items-center justify-center mr-2"> | |
| <i class="fas fa-robot text-sm"></i> | |
| </div> | |
| <div class="bg-white bg-opacity-10 rounded-lg px-4 py-2"> | |
| <p>Hi! I'm Allena, your phone management AI. ✨</p> | |
| <p>I'll fully optimize and secure your device automatically.</p> | |
| <p class="mt-1 text-xs text-white text-opacity-60 flex items-center"> | |
| <span class="w-2 h-2 bg-green-400 rounded-full mr-1"></span> | |
| <span class="typing">Connected to Device</span> | |
| </p> | |
| </div> | |
| </div> | |
| <!-- Messages will appear here --> | |
| <div id="messageContainer"></div> | |
| </div> | |
| <!-- Input Area --> | |
| <div class="border-t border-white border-opacity-10 p-4"> | |
| <div class="flex items-center"> | |
| <input type="text" id="userInput" | |
| class="flex-grow bg-white bg-opacity-10 border border-white border-opacity-20 rounded-full py-2 px-4 focus:outline-none focus:ring-2 focus:ring-purple-300" | |
| placeholder="Ask Allena anything..."> | |
| <button id="sendButton" class="ml-3 w-10 h-10 rounded-full bg-purple-500 flex items-center justify-center hover:bg-purple-400 transition"> | |
| <i class="fas fa-paper-plane"></i> | |
| </button> | |
| </div> | |
| <div class="flex justify-center space-x-4 mt-3 text-xs text-white text-opacity-60"> | |
| <span>Try:</span> | |
| <button class="quick-command hover:text-purple-300 transition">"Optimize my phone"</button> | |
| <button class="quick-command hover:text-purple-300 transition">"Block spam calls"</button> | |
| <button class="quick-command hover:text-purple-300 transition">"Show battery usage"</button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Capabilities Section --> | |
| <div class="mt-10 grid grid-cols-1 md:grid-cols-2 gap-4"> | |
| <div class="bg-black bg-opacity-30 p-6 rounded-xl"> | |
| <h3 class="font-bold text-lg mb-3 flex items-center"> | |
| <i class="fas fa-star mr-2 text-purple-300"></i> | |
| Why Allena is Better | |
| </h3> | |
| <ul class="space-y-3"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-400 mr-2 mt-1"></i> | |
| <span>Multi-context memory for continuous conversations</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-400 mr-2 mt-1"></i> | |
| <span>Emotional intelligence to understand your mood</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-400 mr-2 mt-1"></i> | |
| <span>Offline capabilities for sensitive requests</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-400 mr-2 mt-1"></i> | |
| <span>Continuous learning from each interaction</span> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="bg-black bg-opacity-30 p-6 rounded-xl"> | |
| <h3 class="font-bold text-lg mb-3 flex items-center"> | |
| <i class="fas fa-magic mr-2 text-purple-300"></i> | |
| Special Features | |
| </h3> | |
| <div class="grid grid-cols-2 gap-3"> | |
| <div class="bg-white bg-opacity-10 rounded-lg p-3 text-center"> | |
| <i class="fas fa-sync-alt block text-2xl mb-1"></i> | |
| <span class="text-xs">Auto-Sync</span> | |
| </div> | |
| <div class="bg-white bg-opacity-10 rounded-lg p-3 text-center"> | |
| <i class="fas fa-bell block text-2xl mb-1"></i> | |
| <span class="text-xs">Smart Notifications</span> | |
| </div> | |
| <div class="bg-white bg-opacity-10 rounded-lg p-3 text-center"> | |
| <i class="fas fa-battery-full block text-2xl mb-1"></i> | |
| <span class="text-xs">Battery AI</span> | |
| </div> | |
| <div class="bg-white bg-opacity-10 rounded-lg p-3 text-center"> | |
| <i class="fas fa-network-wired block text-2xl mb-1"></i> | |
| <span class="text-xs">Network Control</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Footer --> | |
| <footer class="mt-10 text-center text-xs text-white text-opacity-50"> | |
| <p>© 2023 Allena AI Technologies | Your privacy is our priority</p> | |
| <div class="flex justify-center space-x-4 mt-2"> | |
| <a href="#" class="hover:text-purple-300 transition">Terms</a> | |
| <a href="#" class="hover:text-purple-300 transition">Privacy</a> | |
| <a href="#" class="hover:text-purple-300 transition">About</a> | |
| </div> | |
| </footer> | |
| </div> | |
| <script> | |
| document.addEventListener('DOMContentLoaded', function() { | |
| const userInput = document.getElementById('userInput'); | |
| const sendButton = document.getElementById('sendButton'); | |
| const messageContainer = document.getElementById('messageContainer'); | |
| const quickCommands = document.querySelectorAll('.quick-command'); | |
| // Predefined responses for demo purposes | |
| const responses = { | |
| "hello": "Hi there! Your phone is running optimally with 87% battery remaining. 😊", | |
| "hi": "Hello! I've already blocked 3 spam calls today for you.", | |
| "optimize": "Optimizing your phone now... Closing background apps and boosting performance!", | |
| "block spam": "Spam call blocking activated. I'll screen all incoming calls automatically.", | |
| "battery": "Battery Analysis: 7h 32m remaining. Top consumers: Screen (42%), YouTube (23%)", | |
| "default": "I can manage calls, messages, apps, settings, and optimize performance automatically!" | |
| }; | |
| // Function to add a message to the chat | |
| function addMessage(sender, text) { | |
| const messageDiv = document.createElement('div'); | |
| messageDiv.className = `flex mb-4 ${sender === 'user' ? 'justify-end' : ''}`; | |
| messageDiv.innerHTML = ` | |
| <div class="flex ${sender === 'user' ? 'flex-row-reverse' : ''}"> | |
| <div class="flex-shrink-0 w-8 h-8 rounded-full ${sender === 'user' ? 'bg-blue-500' : 'bg-purple-500'} flex items-center justify-center ${sender === 'user' ? 'ml-2' : 'mr-2'}"> | |
| <i class="fas ${sender === 'user' ? 'fa-user' : 'fa-robot'} text-sm"></i> | |
| </div> | |
| <div class="bg-white bg-opacity-10 rounded-lg px-4 py-2 max-w-xs md:max-w-md"> | |
| <p>${text}</p> | |
| </div> | |
| </div> | |
| `; | |
| messageContainer.appendChild(messageDiv); | |
| // Scroll to bottom | |
| messageContainer.scrollTop = messageContainer.scrollHeight; | |
| } | |
| // Function to handle user input | |
| function handleUserInput() { | |
| const text = userInput.value.trim().toLowerCase(); | |
| if (!text) return; | |
| addMessage('user', text); | |
| userInput.value = ''; | |
| // Simulate typing indicator | |
| const typingIndicator = document.createElement('div'); | |
| typingIndicator.className = 'flex mb-4'; | |
| typingIndicator.innerHTML = ` | |
| <div class="flex-shrink-0 w-8 h-8 rounded-full bg-purple-500 flex items-center justify-center mr-2"> | |
| <i class="fas fa-robot text-sm"></i> | |
| </div> | |
| <div class="bg-white bg-opacity-10 rounded-lg px-4 py-2"> | |
| <i class="fas fa-ellipsis-h"></i> | |
| </div> | |
| `; | |
| messageContainer.appendChild(typingIndicator); | |
| messageContainer.scrollTop = messageContainer.scrollHeight; | |
| // Simulate API delay | |
| setTimeout(() => { | |
| // Remove typing indicator | |
| messageContainer.removeChild(typingIndicator); | |
| // Find response (very simplified for demo) | |
| let response = ''; | |
| if (text.includes('hello') || text.includes('hi')) { | |
| response = responses.hello; | |
| } else if (text.includes('remind')) { | |
| response = responses.reminder; | |
| } else if (text.includes('jazz') || text.includes('music')) { | |
| response = responses['play jazz music']; | |
| } else if (text.includes('joke')) { | |
| response = responses['tell a joke']; | |
| } else { | |
| response = responses.default; | |
| } | |
| addMessage('allena', response); | |
| }, 1000 + Math.random() * 1000); | |
| } | |
| // Event listeners | |
| sendButton.addEventListener('click', handleUserInput); | |
| userInput.addEventListener('keypress', function(e) { | |
| if (e.key === 'Enter') { | |
| handleUserInput(); | |
| } | |
| }); | |
| quickCommands.forEach(button => { | |
| button.addEventListener('click', function() { | |
| userInput.value = button.textContent.replace(/"/g, ''); | |
| handleUserInput(); | |
| }); | |
| }); | |
| }); | |
| </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=Rebaone/allena" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |