Download index.html from Rebaone/ai: direct link, hf CLI and curl.
- Browser
- Download file 32.6 kB
-
https://huggingface.co/spaces/Rebaone/ai/resolve/main/index.html
- Command line
-
hf download hf://spaces/Rebaone/ai/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Rebaone/ai/resolve/main/index.html
32.6 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Orion AI - Your Digital Life Manager</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%); | |
| } | |
| .chat-container { | |
| height: calc(100vh - 200px); | |
| } | |
| .phone-preview { | |
| transform: perspective(1000px) rotateY(15deg); | |
| box-shadow: 20px 20px 60px rgba(0,0,0,0.3); | |
| } | |
| .feature-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 25px rgba(0,0,0,0.1); | |
| } | |
| .pulse { | |
| animation: pulse 2s infinite; | |
| } | |
| @keyframes pulse { | |
| 0% { box-shadow: 0 0 0 0 rgba(101, 163, 255, 0.7); } | |
| 70% { box-shadow: 0 0 0 10px rgba(101, 163, 255, 0); } | |
| 100% { box-shadow: 0 0 0 0 rgba(101, 163, 255, 0); } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-100 font-sans"> | |
| <!-- Header --> | |
| <header class="gradient-bg text-white"> | |
| <div class="container mx-auto px-4 py-6"> | |
| <div class="flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <i class="fas fa-robot text-3xl"></i> | |
| <h1 class="text-2xl font-bold">Orion AI</h1> | |
| </div> | |
| <nav class="hidden md:block"> | |
| <ul class="flex space-x-8"> | |
| <li><a href="#features" class="hover:text-gray-200 transition">Features</a></li> | |
| <li><a href="#how-it-works" class="hover:text-gray-200 transition">How It Works</a></li> | |
| <li><a href="#security" class="hover:text-gray-200 transition">Security</a></li> | |
| </ul> | |
| </nav> | |
| <button class="md:hidden"> | |
| <i class="fas fa-bars text-2xl"></i> | |
| </button> | |
| </div> | |
| <div class="flex flex-col md:flex-row items-center justify-between pt-12 pb-16"> | |
| <div class="md:w-1/2 mb-10 md:mb-0"> | |
| <h2 class="text-4xl md:text-5xl font-bold mb-4">Your Personal AI Phone Manager</h2> | |
| <p class="text-xl mb-6">Orion AI integrates deeply with your device to automate tasks, optimize performance, and securely manage every aspect of your digital life.</p> | |
| <div class="flex space-x-4"> | |
| <button id="connect-btn" class="bg-white text-indigo-700 px-6 py-3 rounded-full font-semibold hover:bg-gray-100 transition pulse">Connect Your Device</button> | |
| <button class="border border-white text-white px-6 py-3 rounded-full font-semibold hover:bg-white hover:text-indigo-700 transition">Learn More</button> | |
| </div> | |
| </div> | |
| <div class="md:w-1/2 flex justify-center"> | |
| <div class="relative phone-preview bg-gray-800 rounded-3xl p-4 w-64 h-96 border-8 border-gray-900"> | |
| <div class="absolute top-4 left-4 right-4 h-8 bg-gray-900 rounded-t-lg"></div> | |
| <div class="h-full flex flex-col bg-gray-900 rounded-lg overflow-hidden"> | |
| <div class="flex-1 p-4 bg-gradient-to-b from-gray-800 to-gray-900"> | |
| <div class="text-white text-sm mb-4 text-center">Orion AI is ready to connect</div> | |
| <div class="bg-indigo-800 rounded-lg p-3 text-white text-xs mb-2">Would you like me to optimize your battery settings?</div> | |
| <div class="bg-gray-700 rounded-lg p-3 text-white text-xs ml-8 mb-2">You have 3 unread important emails</div> | |
| <div class="bg-indigo-800 rounded-lg p-3 text-white text-xs">Your storage is 85% full. Should I clean up?</div> | |
| </div> | |
| <div class="bg-gray-800 p-3 flex justify-between"> | |
| <i class="fas fa-microphone text-white"></i> | |
| <i class="fas fa-th text-white"></i> | |
| <i class="fas fa-cog text-white"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Connection Modal --> | |
| <div id="connection-modal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden"> | |
| <div class="bg-white rounded-xl p-8 max-w-md w-full mx-4"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h3 class="text-2xl font-bold">Device Connection</h3> | |
| <button id="close-modal" class="text-gray-500 hover:text-gray-700"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| </div> | |
| <div class="mb-6"> | |
| <p class="mb-4">To enable full phone management, Orion AI requires the following permissions:</p> | |
| <ul class="space-y-2"> | |
| <li class="flex items-center"><i class="fas fa-check-circle text-green-500 mr-2"></i> Device administration</li> | |
| <li class="flex items-center"><i class="fas fa-check-circle text-green-500 mr-2"></i> Accessibility services</li> | |
| <li class="flex items-center"><i class="fas fa-check-circle text-green-500 mr-2"></i> Usage data access</li> | |
| <li class="flex items-center"><i class="fas fa-check-circle text-green-500 mr-2"></i> Notification access</li> | |
| </ul> | |
| </div> | |
| <div class="bg-gray-100 p-4 rounded-lg mb-6"> | |
| <div class="flex items-center mb-2"> | |
| <div class="w-6 h-6 bg-indigo-500 rounded-full flex items-center justify-center mr-2"> | |
| <i class="fas fa-lock text-white text-xs"></i> | |
| </div> | |
| <span class="font-semibold">End-to-end encrypted</span> | |
| </div> | |
| <p class="text-sm text-gray-600">All data remains on your device. We never store your personal information on our servers.</p> | |
| </div> | |
| <button id="confirm-connect" class="w-full bg-indigo-600 text-white py-3 rounded-lg font-semibold hover:bg-indigo-700 transition">Grant Permissions & Connect</button> | |
| </div> | |
| </div> | |
| <!-- Features Section --> | |
| <section id="features" class="py-16 bg-white"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-bold text-center mb-12">Powerful Phone Automation Features</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <div class="feature-card bg-gray-50 rounded-xl p-6 transition duration-300"> | |
| <div class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center mb-4"> | |
| <i class="fas fa-magic text-indigo-600"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">Smart Automation</h3> | |
| <p class="text-gray-600">Automatically organizes your apps, cleans storage, and optimizes settings based on your usage patterns.</p> | |
| </div> | |
| <div class="feature-card bg-gray-50 rounded-xl p-6 transition duration-300"> | |
| <div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mb-4"> | |
| <i class="fas fa-battery-three-quarters text-green-600"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">Battery Optimization</h3> | |
| <p class="text-gray-600">Extends battery life by managing background processes and adjusting settings based on your routine.</p> | |
| </div> | |
| <div class="feature-card bg-gray-50 rounded-xl p-6 transition duration-300"> | |
| <div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center mb-4"> | |
| <i class="fas fa-shield-alt text-blue-600"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">Security Management</h3> | |
| <p class="text-gray-600">Monitors for suspicious activity, manages app permissions, and alerts you to potential security risks.</p> | |
| </div> | |
| <div class="feature-card bg-gray-50 rounded-xl p-6 transition duration-300"> | |
| <div class="w-12 h-12 bg-purple-100 rounded-full flex items-center justify-center mb-4"> | |
| <i class="fas fa-envelope text-purple-600"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">Notification Control</h3> | |
| <p class="text-gray-600">Filters and prioritizes notifications, silencing unimportant ones and highlighting what matters.</p> | |
| </div> | |
| <div class="feature-card bg-gray-50 rounded-xl p-6 transition duration-300"> | |
| <div class="w-12 h-12 bg-yellow-100 rounded-full flex items-center justify-center mb-4"> | |
| <i class="fas fa-network-wired text-yellow-600"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">Network Management</h3> | |
| <p class="text-gray-600">Automatically switches between WiFi and mobile data for optimal speed and cost efficiency.</p> | |
| </div> | |
| <div class="feature-card bg-gray-50 rounded-xl p-6 transition duration-300"> | |
| <div class="w-12 h-12 bg-red-100 rounded-full flex items-center justify-center mb-4"> | |
| <i class="fas fa-calendar-check text-red-600"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">Schedule Automation</h3> | |
| <p class="text-gray-600">Executes tasks on schedule - like turning on Do Not Disturb during meetings or backing up photos nightly.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- How It Works Section --> | |
| <section id="how-it-works" class="py-16 bg-gray-50"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-bold text-center mb-12">How Orion AI Works</h2> | |
| <div class="flex flex-col md:flex-row items-center mb-12"> | |
| <div class="md:w-1/2 mb-8 md:mb-0 md:pr-8"> | |
| <h3 class="text-2xl font-semibold mb-4">1. Deep Device Integration</h3> | |
| <p class="text-gray-600 mb-4">Orion uses advanced Android/iOS APIs to access system functions without rooting or jailbreaking your device.</p> | |
| <ul class="space-y-2"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-indigo-500 mt-1 mr-2"></i> | |
| <span>Monitors system resources in real-time</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-indigo-500 mt-1 mr-2"></i> | |
| <span>Interacts with apps and settings programmatically</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-indigo-500 mt-1 mr-2"></i> | |
| <span>Safely executes commands with user oversight</span> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="md:w-1/2 bg-gray-200 rounded-xl p-6 flex justify-center"> | |
| <div class="relative phone-preview bg-gray-800 rounded-3xl p-4 w-64 h-96 border-8 border-gray-900"> | |
| <div class="absolute top-4 left-4 right-4 h-8 bg-gray-900 rounded-t-lg"></div> | |
| <div class="h-full flex flex-col bg-gray-900 rounded-lg overflow-hidden"> | |
| <div class="p-3 border-b border-gray-800 flex items-center"> | |
| <div class="w-8 h-8 bg-indigo-600 rounded-full flex items-center justify-center text-white mr-2"> | |
| <i class="fas fa-robot"></i> | |
| </div> | |
| <div> | |
| <div class="text-white font-semibold">Permissions Dashboard</div> | |
| <div class="text-gray-400 text-xs">Manage what Orion can access</div> | |
| </div> | |
| </div> | |
| <div class="flex-1 overflow-y-auto p-4"> | |
| <div class="bg-gray-800 rounded-lg p-3 text-white text-sm mb-3"> | |
| <div class="flex justify-between items-center mb-1"> | |
| <span>Device Settings</span> | |
| <label class="relative inline-flex items-center cursor-pointer"> | |
| <input type="checkbox" value="" class="sr-only peer" checked> | |
| <div class="w-11 h-6 bg-indigo-600 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all"></div> | |
| </label> | |
| </div> | |
| <p class="text-xs text-gray-400">Modify system settings like brightness, volume, etc.</p> | |
| </div> | |
| <div class="bg-gray-800 rounded-lg p-3 text-white text-sm mb-3"> | |
| <div class="flex justify-between items-center mb-1"> | |
| <span>App Management</span> | |
| <label class="relative inline-flex items-center cursor-pointer"> | |
| <input type="checkbox" value="" class="sr-only peer" checked> | |
| <div class="w-11 h-6 bg-indigo-600 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all"></div> | |
| </label> | |
| </div> | |
| <p class="text-xs text-gray-400">Install, update, and organize applications</p> | |
| </div> | |
| <div class="bg-gray-800 rounded-lg p-3 text-white text-sm"> | |
| <div class="flex justify-between items-center mb-1"> | |
| <span>Personal Data</span> | |
| <label class="relative inline-flex items-center cursor-pointer"> | |
| <input type="checkbox" value="" class="sr-only peer"> | |
| <div class="w-11 h-6 bg-gray-600 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all"></div> | |
| </label> | |
| </div> | |
| <p class="text-xs text-gray-400">Access contacts, messages, and media</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex flex-col md:flex-row-reverse items-center"> | |
| <div class="md:w-1/2 mb-8 md:mb-0 md:pl-8"> | |
| <h3 class="text-2xl font-semibold mb-4">2. Voice & Chat Interface</h3> | |
| <p class="text-gray-600 mb-4">Control your phone completely hands-free with natural language commands or through the chat interface.</p> | |
| <ul class="space-y-2"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-indigo-500 mt-1 mr-2"></i> | |
| <span>"Orion, clear my gallery duplicates"</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-indigo-500 mt-1 mr-2"></i> | |
| <span>"Setup Do Not Disturb during my meetings"</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-indigo-500 mt-1 mr-2"></i> | |
| <span>"Remind me to call mom when I leave work"</span> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="md:w-1/2 bg-gray-200 rounded-xl p-6 flex justify-center"> | |
| <div class="w-full max-w-md bg-white rounded-lg shadow-md overflow-hidden"> | |
| <div class="bg-indigo-600 text-white p-4"> | |
| <h4 class="font-semibold">Orion AI Assistant</h4> | |
| </div> | |
| <div id="chat-messages" class="chat-container overflow-y-auto p-4 space-y-4"> | |
| <div class="flex justify-start"> | |
| <div class="bg-gray-100 p-3 rounded-lg max-w-xs"> | |
| <p class="text-sm">Hello! I'm Orion, your AI phone manager. What would you like me to do today?</p> | |
| </div> | |
| </div> | |
| <div class="flex justify-end"> | |
| <div class="bg-indigo-600 text-white p-3 rounded-lg max-w-xs"> | |
| <p class="text-sm">Help me free up storage space</p> | |
| </div> | |
| </div> | |
| <div class="flex justify-start"> | |
| <div class="bg-gray-100 p-3 rounded-lg max-w-xs"> | |
| <p class="text-sm mb-2">I found 1.2GB of cache files and 850MB of duplicate photos. Should I proceed with cleanup?</p> | |
| <div class="flex space-x-2"> | |
| <button class="bg-indigo-600 text-white px-3 py-1 rounded text-xs">Yes</button> | |
| <button class="bg-gray-300 text-gray-700 px-3 py-1 rounded text-xs">No</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-200 p-3"> | |
| <div class="flex"> | |
| <input type="text" placeholder="Type your command..." class="flex-1 border border-gray-300 rounded-l-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| <button class="bg-indigo-600 text-white px-4 py-2 rounded-r-lg hover:bg-indigo-700 transition"> | |
| <i class="fas fa-paper-plane"></i> | |
| </button> | |
| </div> | |
| <div class="mt-2 flex justify-center"> | |
| <button class="flex items-center text-indigo-600"> | |
| <i class="fas fa-microphone mr-1"></i> | |
| <span class="text-sm">Voice Command</span> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Security Section --> | |
| <section id="security" class="py-16 bg-indigo-50"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-bold text-center mb-4">Security & Privacy First</h2> | |
| <p class="text-center text-gray-600 max-w-2xl mx-auto mb-12">Orion is designed with military-grade encryption and privacy protections to keep your data safe.</p> | |
| <div class="flex flex-col md:flex-row gap-8"> | |
| <div class="md:w-1/3 bg-white rounded-xl p-6 shadow-sm"> | |
| <div class="text-indigo-600 text-4xl mb-4"> | |
| <i class="fas fa-lock"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">On-Device Processing</h3> | |
| <p class="text-gray-600">All AI processing happens directly on your phone. Your data never leaves your device unless you explicitly share it.</p> | |
| </div> | |
| <div class="md:w-1/3 bg-white rounded-xl p-6 shadow-sm"> | |
| <div class="text-indigo-600 text-4xl mb-4"> | |
| <i class="fas fa-shield-alt"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">Granular Permissions</h3> | |
| <p class="text-gray-600">You control exactly what Orion can access. Revoke permissions anytime or set time-limited access for sensitive tasks.</p> | |
| </div> | |
| <div class="md:w-1/3 bg-white rounded-xl p-6 shadow-sm"> | |
| <div class="text-indigo-600 text-4xl mb-4"> | |
| <i class="fas fa-eye-slash"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">Zero Data Collection</h3> | |
| <p class="text-gray-600">We don't collect usage data, personal information, or anything about how you use your device. Complete transparency.</p> | |
| </div> | |
| </div> | |
| <div class="mt-12 bg-white rounded-xl p-8 max-w-4xl mx-auto shadow-sm"> | |
| <div class="flex flex-col md:flex-row items-center"> | |
| <div class="md:w-1/2 mb-6 md:mb-0 md:pr-8"> | |
| <h3 class="text-2xl font-semibold mb-4">Open Source Core</h3> | |
| <p class="text-gray-600 mb-4">Orion's core management engine is open source, allowing security experts to audit its safety and functionality.</p> | |
| <button class="bg-indigo-600 text-white px-6 py-2 rounded-lg hover:bg-indigo-700 transition flex items-center"> | |
| <i class="fab fa-github mr-2"></i> | |
| <span>View on GitHub</span> | |
| </button> | |
| </div> | |
| <div class="md:w-1/2 flex justify-center"> | |
| <img src="https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Security" class="rounded-lg w-full max-w-xs"> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Try It Section --> | |
| <section class="gradient-bg text-white py-16"> | |
| <div class="container mx-auto px-4 text-center"> | |
| <h2 class="text-3xl font-bold mb-6">Ready to revolutionize how you use your phone?</h2> | |
| <p class="text-xl mb-8 max-w-2xl mx-auto">Orion AI is currently in beta. Join the waitlist for early access.</p> | |
| <div class="max-w-md mx-auto flex"> | |
| <input type="email" placeholder="Your email address" class="flex-1 px-4 py-3 rounded-l-lg text-gray-900 focus:outline-none"> | |
| <button class="bg-white text-indigo-700 px-6 py-3 rounded-r-lg font-semibold hover:bg-gray-100 transition">Join Waitlist</button> | |
| </div> | |
| <div class="mt-6 flex items-center justify-center"> | |
| <i class="fas fa-check-circle text-green-400 mr-2"></i> | |
| <span>Works on Android & iOS (Beta)</span> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-gray-900 text-gray-400 py-12"> | |
| <div class="container mx-auto px-4"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <div class="flex items-center mb-4"> | |
| <i class="fas fa-robot text-2xl text-white mr-2"></i> | |
| <span class="text-xl font-semibold text-white">Orion AI</span> | |
| </div> | |
| <p class="mb-4">Your personal AI phone manager, making your digital life simpler and more secure.</p> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="hover:text-white transition"><i class="fab fa-twitter"></i></a> | |
| <a href="#" class="hover:text-white transition"><i class="fab fa-instagram"></i></a> | |
| <a href="#" class="hover:text-white transition"><i class="fab fa-github"></i></a> | |
| <a href="#" class="hover:text-white transition"><i class="fab fa-linkedin"></i></a> | |
| </div> | |
| </div> | |
| <div> | |
| <h4 class="text-white font-semibold mb-4">Features</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="hover:text-white transition">Device Automation</a></li> | |
| <li><a href="#" class="hover:text-white transition">Security Control</a></li> | |
| <li><a href="#" class="hover:text-white transition">Storage Management</a></li> | |
| <li><a href="#" class="hover:text-white transition">Battery Optimization</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-white font-semibold mb-4">Company</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="hover:text-white transition">About Us</a></li> | |
| <li><a href="#" class="hover:text-white transition">Careers</a></li> | |
| <li><a href="#" class="hover:text-white transition">Privacy Policy</a></li> | |
| <li><a href="#" class="hover:text-white transition">Terms of Service</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-white font-semibold mb-4">Contact</h4> | |
| <ul class="space-y-2"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-envelope mt-1 mr-2"></i> | |
| <span>support@orion-ai.com</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-map-marker-alt mt-1 mr-2"></i> | |
| <span>San Francisco, CA</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-12 pt-8 text-sm text-center"> | |
| <p>© 2023 Orion AI Technologies. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Modal functionality | |
| const connectBtn = document.getElementById('connect-btn'); | |
| const closeModal = document.getElementById('close-modal'); | |
| const confirmConnect = document.getElementById('confirm-connect'); | |
| const connectionModal = document.getElementById('connection-modal'); | |
| connectBtn.addEventListener('click', () => { | |
| connectionModal.classList.remove('hidden'); | |
| }); | |
| closeModal.addEventListener('click', () => { | |
| connectionModal.classList.add('hidden'); | |
| }); | |
| confirmConnect.addEventListener('click', () => { | |
| connectionModal.classList.add('hidden'); | |
| alert('Your device is now connected to Orion AI! Click the Orion icon in your notifications to begin.'); | |
| }); | |
| // Chat functionality | |
| const chatInput = document.querySelector('#chat-messages + div input'); | |
| const chatSendBtn = document.querySelector('#chat-messages + div button'); | |
| function addUserMessage(message) { | |
| const messagesContainer = document.getElementById('chat-messages'); | |
| const messageDiv = document.createElement('div'); | |
| messageDiv.className = 'flex justify-end'; | |
| messageDiv.innerHTML = ` | |
| <div class="bg-indigo-600 text-white p-3 rounded-lg max-w-xs"> | |
| <p class="text-sm">${message}</p> | |
| </div> | |
| `; | |
| messagesContainer.appendChild(messageDiv); | |
| messagesContainer.scrollTop = messagesContainer.scrollHeight; | |
| // Simulate AI response after a delay | |
| setTimeout(() => { | |
| addAiResponse(message); | |
| }, 1000); | |
| } | |
| function addAiResponse(userMessage) { | |
| const messagesContainer = document.getElementById('chat-messages'); | |
| const messageDiv = document.createElement('div'); | |
| messageDiv.className = 'flex justify-start'; | |
| let responseText = "I can help with that! Would you like me to proceed?"; | |
| let actions = ''; | |
| if (userMessage.toLowerCase().includes('storage') || userMessage.toLowerCase().includes('space')) { | |
| responseText = "I found 1.8GB of files that can be safely removed (cache and duplicates). Should I clean them up?"; | |
| actions = `<div class="flex space-x-2 mt-2"> | |
| <button class="bg-indigo-600 text-white px-3 py-1 rounded text-xs">Yes, clean up</button> | |
| <button class="bg-gray-300 text-gray-700 px-3 py-1 rounded text-xs">Show me first</button> | |
| </div>`; | |
| } else if (userMessage.toLowerCase().includes('battery')) { | |
| responseText = "Your battery health is good (94%). I can optimize settings to extend daily usage by ~20%. Should I apply the optimizations?"; | |
| actions = `<div class="flex space-x-2 mt-2"> | |
| <button class="bg-indigo-600 text-white px-3 py-1 rounded text-xs">Optimize</button> | |
| <button class="bg-gray-300 text-gray-700 px-3 py-1 rounded text-xs">Learn more</button> | |
| </div>`; | |
| } | |
| messageDiv.innerHTML = ` | |
| <div class="bg-gray-100 p-3 rounded-lg max-w-xs"> | |
| <p class="text-sm">${responseText}</p> | |
| ${actions} | |
| </div> | |
| `; | |
| messagesContainer.appendChild(messageDiv); | |
| messagesContainer.scrollTop = messagesContainer.scrollHeight; | |
| } | |
| chatSendBtn.addEventListener('click', () => { | |
| if (chatInput.value.trim() !== '') { | |
| addUserMessage(chatInput.value); | |
| chatInput.value = ''; | |
| } | |
| }); | |
| chatInput.addEventListener('keypress', (e) => { | |
| if (e.key === 'Enter' && chatInput.value.trim() !== '') { | |
| addUserMessage(chatInput.value); | |
| chatInput.value = ''; | |
| } | |
| }); | |
| </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/ai" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |