Download index.html from hadidadi/replit-infinity-ai-eidle: direct link, hf CLI and curl.
- Browser
- Download file 42.2 kB
-
https://huggingface.co/spaces/hadidadi/replit-infinity-ai-eidle/resolve/main/index.html
- Command line
-
hf download hf://spaces/hadidadi/replit-infinity-ai-eidle/index.html
-
curl -L -o index.html https://huggingface.co/spaces/hadidadi/replit-infinity-ai-eidle/resolve/main/index.html
42.2 kB
| <html lang="ar" dir="ltr"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Replit Infinity - Unlimited AI Agent</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/lucide@latest"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.44.0/min/vs/loader.min.js"></script> | |
| <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet"> | |
| <style> | |
| * { | |
| font-family: 'Inter', sans-serif; | |
| } | |
| .font-mono { | |
| font-family: 'JetBrains Mono', monospace; | |
| } | |
| /* Custom Scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| height: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #1e1e2e; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #4b5563; | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #6b7280; | |
| } | |
| /* Replit Colors */ | |
| .bg-replit-dark { background-color: #0e1525; } | |
| .bg-replit-panel { background-color: #1c2333; } | |
| .bg-replit-sidebar { background-color: #131a2b; } | |
| .bg-replit-hover { background-color: #2b3245; } | |
| .text-replit-accent { color: #f5a623; } | |
| .bg-replit-accent { background-color: #f5a623; } | |
| .border-replit { border-color: #2b3245; } | |
| /* Agent Glow Effect */ | |
| .agent-glow { | |
| box-shadow: 0 0 30px rgba(245, 166, 35, 0.3); | |
| } | |
| /* Code Editor Container */ | |
| #editor-container { | |
| height: calc(100vh - 140px); | |
| } | |
| /* Terminal */ | |
| .terminal-cursor::after { | |
| content: '▋'; | |
| animation: blink 1s infinite; | |
| color: #f5a623; | |
| } | |
| @keyframes blink { | |
| 0%, 50% { opacity: 1; } | |
| 51%, 100% { opacity: 0; } | |
| } | |
| /* Agent Chat Animation */ | |
| .message-appear { | |
| animation: slideIn 0.3s ease-out; | |
| } | |
| @keyframes slideIn { | |
| from { opacity: 0; transform: translateY(10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| /* Loading Animation */ | |
| .typing-dot { | |
| animation: typing 1.4s infinite ease-in-out both; | |
| } | |
| .typing-dot:nth-child(1) { animation-delay: -0.32s; } | |
| .typing-dot:nth-child(2) { animation-delay: -0.16s; } | |
| @keyframes typing { | |
| 0%, 80%, 100% { transform: scale(0); } | |
| 40% { transform: scale(1); } | |
| } | |
| /* Gradient Text */ | |
| .gradient-text { | |
| background: linear-gradient(135deg, #f5a623 0%, #e8488a 50%, #6b46c1 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| /* Split Pane */ | |
| .resizer { | |
| cursor: col-resize; | |
| background: #2b3245; | |
| width: 4px; | |
| transition: background 0.2s; | |
| } | |
| .resizer:hover { | |
| background: #f5a623; | |
| } | |
| /* File Tree */ | |
| .file-item:hover { | |
| background-color: #2b3245; | |
| } | |
| .file-active { | |
| background-color: #2b3245; | |
| border-left: 3px solid #f5a623; | |
| } | |
| /* Run Button Pulse */ | |
| @keyframes pulse-glow { | |
| 0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); } | |
| 50% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } | |
| } | |
| .run-btn-pulse { | |
| animation: pulse-glow 2s infinite; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-replit-dark text-gray-300 overflow-hidden h-screen"> | |
| <!-- Top Navigation --> | |
| <header class="h-14 bg-replit-panel border-b border-replit flex items-center justify-between px-4 select-none"> | |
| <div class="flex items-center gap-4"> | |
| <div class="flex items-center gap-2"> | |
| <div class="w-8 h-8 rounded-lg bg-gradient-to-br from-orange-400 to-pink-500 flex items-center justify-center"> | |
| <i data-lucide="code-2" class="w-5 h-5 text-white"></i> | |
| </div> | |
| <span class="font-bold text-white text-lg tracking-tight">Replit<span class="gradient-text">Infinity</span></span> | |
| </div> | |
| <div class="h-6 w-px bg-gray-600 mx-2"></div> | |
| <div class="flex items-center gap-2 bg-replit-sidebar rounded-md px-3 py-1.5 border border-replit"> | |
| <i data-lucide="folder" class="w-4 h-4 text-gray-400"></i> | |
| <span class="text-sm text-gray-300 font-medium">my-awesome-project</span> | |
| <i data-lucide="chevron-down" class="w-4 h-4 text-gray-500"></i> | |
| </div> | |
| <div class="flex items-center gap-2"> | |
| <button class="p-2 hover:bg-replit-hover rounded-md transition-colors" title="Undo"> | |
| <i data-lucide="undo-2" class="w-4 h-4"></i> | |
| </button> | |
| <button class="p-2 hover:bg-replit-hover rounded-md transition-colors" title="Redo"> | |
| <i data-lucide="redo-2" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="flex items-center gap-3"> | |
| <div class="flex items-center gap-2 px-3 py-1.5 bg-green-500/10 border border-green-500/30 rounded-md"> | |
| <div class="w-2 h-2 bg-green-500 rounded-full animate-pulse"></div> | |
| <span class="text-xs font-medium text-green-400">● Unlimited</span> | |
| </div> | |
| <button id="agent-toggle" class="flex items-center gap-2 px-4 py-1.5 bg-gradient-to-r from-orange-500 to-pink-500 hover:from-orange-600 hover:to-pink-600 text-white rounded-md text-sm font-medium transition-all agent-glow"> | |
| <i data-lucide="sparkles" class="w-4 h-4"></i> | |
| <span>Super Agent</span> | |
| </button> | |
| <button class="flex items-center gap-2 px-4 py-1.5 bg-green-600 hover:bg-green-700 text-white rounded-md text-sm font-medium transition-colors run-btn-pulse" onclick="runCode()"> | |
| <i data-lucide="play" class="w-4 h-4 fill-current"></i> | |
| <span>Run</span> | |
| </button> | |
| <div class="h-6 w-px bg-gray-600 mx-1"></div> | |
| <button class="p-2 hover:bg-replit-hover rounded-md transition-colors"> | |
| <i data-lucide="share-2" class="w-4 h-4"></i> | |
| </button> | |
| <button class="p-2 hover:bg-replit-hover rounded-md transition-colors"> | |
| <i data-lucide="settings" class="w-4 h-4"></i> | |
| </button> | |
| <div class="w-8 h-8 rounded-full bg-gradient-to-r from-blue-500 to-purple-500 flex items-center justify-center text-white text-xs font-bold cursor-pointer"> | |
| UN | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Layout --> | |
| <div class="flex h-[calc(100vh-56px)]"> | |
| <!-- Left Sidebar - File Explorer --> | |
| <aside class="w-64 bg-replit-sidebar border-r border-replit flex flex-col"> | |
| <div class="p-3 border-b border-replit"> | |
| <div class="flex items-center justify-between mb-2"> | |
| <span class="text-xs font-semibold text-gray-500 uppercase tracking-wider">Files</span> | |
| <div class="flex gap-1"> | |
| <button class="p-1 hover:bg-replit-hover rounded" title="New File" onclick="createNewFile()"> | |
| <i data-lucide="file-plus" class="w-4 h-4 text-gray-400"></i> | |
| </button> | |
| <button class="p-1 hover:bg-replit-hover rounded" title="New Folder"> | |
| <i data-lucide="folder-plus" class="w-4 h-4 text-gray-400"></i> | |
| </button> | |
| <button class="p-1 hover:bg-replit-hover rounded" title="Upload"> | |
| <i data-lucide="upload" class="w-4 h-4 text-gray-400"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="relative"> | |
| <i data-lucide="search" class="w-4 h-4 absolute left-2 top-1/2 -translate-y-1/2 text-gray-500"></i> | |
| <input type="text" placeholder="Search files..." class="w-full bg-replit-dark border border-replit rounded-md pl-8 pr-3 py-1.5 text-sm focus:outline-none focus:border-orange-500 transition-colors"> | |
| </div> | |
| </div> | |
| <div class="flex-1 overflow-y-auto py-2" id="file-tree"> | |
| <div class="file-item flex items-center gap-2 px-3 py-1.5 cursor-pointer text-sm file-active" onclick="openFile('index.html', 'html')"> | |
| <i data-lucide="file-code" class="w-4 h-4 text-orange-400"></i> | |
| <span class="text-gray-300">index.html</span> | |
| </div> | |
| <div class="file-item flex items-center gap-2 px-3 py-1.5 cursor-pointer text-sm" onclick="openFile('style.css', 'css')"> | |
| <i data-lucide="file-type" class="w-4 h-4 text-blue-400"></i> | |
| <span class="text-gray-300">style.css</span> | |
| </div> | |
| <div class="file-item flex items-center gap-2 px-3 py-1.5 cursor-pointer text-sm" onclick="openFile('script.js', 'javascript')"> | |
| <i data-lucide="file-json" class="w-4 h-4 text-yellow-400"></i> | |
| <span class="text-gray-300">script.js</span> | |
| </div> | |
| <div class="file-item flex items-center gap-2 px-3 py-1.5 cursor-pointer text-sm" onclick="openFile('app.py', 'python')"> | |
| <i data-lucide="file-code-2" class="w-4 h-4 text-green-400"></i> | |
| <span class="text-gray-300">app.py</span> | |
| </div> | |
| <div class="file-item flex items-center gap-2 px-3 py-1.5 cursor-pointer text-sm" onclick="openFile('README.md', 'markdown')"> | |
| <i data-lucide="file-text" class="w-4 h-4 text-gray-400"></i> | |
| <span class="text-gray-300">README.md</span> | |
| </div> | |
| </div> | |
| <div class="p-3 border-t border-replit"> | |
| <div class="flex items-center gap-2 text-xs text-gray-500 mb-2"> | |
| <i data-lucide="git-branch" class="w-3 h-3"></i> | |
| <span>main</span> | |
| <span class="text-gray-600">•</span> | |
| <span>2 changes</span> | |
| </div> | |
| </div> | |
| </aside> | |
| <!-- Center - Editor Area --> | |
| <main class="flex-1 flex flex-col bg-replit-dark min-w-0"> | |
| <!-- Tabs --> | |
| <div class="flex items-center bg-replit-panel border-b border-replit overflow-x-auto" id="tabs-container"> | |
| <div class="flex items-center gap-2 px-4 py-2 bg-replit-dark border-t-2 border-orange-500 text-sm min-w-fit cursor-pointer group"> | |
| <i data-lucide="file-code" class="w-4 h-4 text-orange-400"></i> | |
| <span class="text-gray-300">index.html</span> | |
| <button class="opacity-0 group-hover:opacity-100 hover:text-red-400 transition-opacity ml-1"> | |
| <i data-lucide="x" class="w-3 h-3"></i> | |
| </button> | |
| </div> | |
| <div class="flex items-center gap-2 px-4 py-2 text-sm min-w-fit cursor-pointer hover:bg-replit-hover group border-t-2 border-transparent"> | |
| <i data-lucide="file-type" class="w-4 h-4 text-blue-400"></i> | |
| <span class="text-gray-400">style.css</span> | |
| <button class="opacity-0 group-hover:opacity-100 hover:text-red-400 transition-opacity ml-1"> | |
| <i data-lucide="x" class="w-3 h-3"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Editor --> | |
| <div id="editor-container" class="relative"></div> | |
| <!-- Bottom Panel - Terminal & Output --> | |
| <div class="h-48 bg-replit-panel border-t border-replit flex flex-col"> | |
| <div class="flex items-center justify-between px-4 py-2 bg-replit-sidebar border-b border-replit"> | |
| <div class="flex items-center gap-4 text-sm"> | |
| <button class="flex items-center gap-2 text-orange-400 font-medium border-b-2 border-orange-400 pb-2 -mb-2.5"> | |
| <i data-lucide="terminal" class="w-4 h-4"></i> | |
| Console | |
| </button> | |
| <button class="flex items-center gap-2 text-gray-400 hover:text-gray-300 pb-2 -mb-2.5"> | |
| <i data-lucide="globe" class="w-4 h-4"></i> | |
| Output | |
| </button> | |
| <button class="flex items-center gap-2 text-gray-400 hover:text-gray-300 pb-2 -mb-2.5"> | |
| <i data-lucide="bug" class="w-4 h-4"></i> | |
| Debug | |
| </button> | |
| </div> | |
| <div class="flex items-center gap-2"> | |
| <button class="p-1.5 hover:bg-replit-hover rounded" onclick="clearTerminal()"> | |
| <i data-lucide="trash-2" class="w-4 h-4 text-gray-400"></i> | |
| </button> | |
| <button class="p-1.5 hover:bg-replit-hover rounded" onclick="toggleTerminalSize()"> | |
| <i data-lucide="maximize-2" class="w-4 h-4 text-gray-400"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div id="terminal" class="flex-1 p-4 font-mono text-sm overflow-y-auto bg-black"> | |
| <div class="text-green-400 mb-1">➜ ~/my-awesome-project <span class="text-gray-500">main</span></div> | |
| <div class="text-gray-300 terminal-cursor" id="terminal-input"></div> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Right Sidebar - AI Agent --> | |
| <aside id="agent-panel" class="w-96 bg-replit-panel border-l border-replit flex flex-col transition-all duration-300"> | |
| <div class="p-4 border-b border-replit bg-gradient-to-r from-orange-500/10 to-pink-500/10"> | |
| <div class="flex items-center justify-between mb-2"> | |
| <div class="flex items-center gap-2"> | |
| <div class="w-8 h-8 rounded-lg bg-gradient-to-r from-orange-500 to-pink-500 flex items-center justify-center"> | |
| <i data-lucide="bot" class="w-5 h-5 text-white"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-semibold text-white text-sm">Infinity Agent</h3> | |
| <p class="text-xs text-gray-400">GPT-5 Ultra Creative</p> | |
| </div> | |
| </div> | |
| <div class="flex gap-1"> | |
| <button class="p-1.5 hover:bg-replit-hover rounded-md transition-colors" title="Settings"> | |
| <i data-lucide="settings-2" class="w-4 h-4 text-gray-400"></i> | |
| </button> | |
| <button class="p-1.5 hover:bg-replit-hover rounded-md transition-colors" onclick="toggleAgentPanel()"> | |
| <i data-lucide="panel-right-close" class="w-4 h-4 text-gray-400"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="flex gap-2 mt-3"> | |
| <button class="flex-1 px-3 py-1.5 bg-replit-hover hover:bg-replit-dark border border-replit rounded-md text-xs font-medium transition-colors flex items-center justify-center gap-1" onclick="agentAction('explain')"> | |
| <i data-lucide="book-open" class="w-3 h-3"></i> | |
| Explain | |
| </button> | |
| <button class="flex-1 px-3 py-1.5 bg-replit-hover hover:bg-replit-dark border border-replit rounded-md text-xs font-medium transition-colors flex items-center justify-center gap-1" onclick="agentAction('debug')"> | |
| <i data-lucide="bug" class="w-3 h-3"></i> | |
| Debug | |
| </button> | |
| <button class="flex-1 px-3 py-1.5 bg-replit-hover hover:bg-replit-dark border border-replit rounded-md text-xs font-medium transition-colors flex items-center justify-center gap-1" onclick="agentAction('optimize')"> | |
| <i data-lucide="zap" class="w-3 h-3"></i> | |
| Optimize | |
| </button> | |
| </div> | |
| </div> | |
| <div id="chat-messages" class="flex-1 overflow-y-auto p-4 space-y-4"> | |
| <div class="flex gap-3 message-appear"> | |
| <div class="w-8 h-8 rounded-lg bg-gradient-to-r from-orange-500 to-pink-500 flex-shrink-0 flex items-center justify-center"> | |
| <i data-lucide="sparkles" class="w-4 h-4 text-white"></i> | |
| </div> | |
| <div class="flex-1"> | |
| <div class="bg-replit-sidebar rounded-lg p-3 text-sm text-gray-300 border border-replit"> | |
| <p class="mb-2">👋 <strong class="text-orange-400">Welcome to Infinity Agent!</strong></p> | |
| <p class="text-gray-400">I'm your super-intelligent coding companion. I can:</p> | |
| <ul class="mt-2 space-y-1 text-xs text-gray-500 list-disc list-inside"> | |
| <li>Write entire applications from scratch</li> | |
| <li>Debug complex issues instantly</li> | |
| <li>Optimize performance beyond human limits</li> | |
| <li>Explain code like a senior developer</li> | |
| <li>Generate creative solutions & UI designs</li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex gap-3 message-appear"> | |
| <div class="w-8 h-8 rounded-full bg-gray-600 flex-shrink-0 flex items-center justify-center"> | |
| <span class="text-xs font-bold text-white">UN</span> | |
| </div> | |
| <div class="flex-1 bg-replit-hover rounded-lg p-3 text-sm text-gray-300"> | |
| Create a beautiful dashboard for me | |
| </div> | |
| </div> | |
| <div class="flex gap-3 message-appear"> | |
| <div class="w-8 h-8 rounded-lg bg-gradient-to-r from-orange-500 to-pink-500 flex-shrink-0 flex items-center justify-center"> | |
| <i data-lucide="sparkles" class="w-4 h-4 text-white"></i> | |
| </div> | |
| <div class="flex-1"> | |
| <div class="bg-replit-sidebar rounded-lg p-3 text-sm text-gray-300 border border-replit"> | |
| <p class="mb-2">🎨 <strong class="text-orange-400">Creating a stunning dashboard...</strong></p> | |
| <div class="bg-black rounded-md p-2 font-mono text-xs text-green-400 mb-2"> | |
| > Generating components...<br> | |
| > Applying modern design patterns...<br> | |
| > Optimizing for performance...<br> | |
| <span class="text-orange-400">> Done! ✨</span> | |
| </div> | |
| <p class="text-xs text-gray-400">I've created a responsive dashboard with dark mode, charts, and real-time data. Check the new files in your explorer!</p> | |
| </div> | |
| <div class="flex gap-2 mt-2"> | |
| <button class="px-3 py-1 bg-orange-500/20 text-orange-400 rounded text-xs font-medium hover:bg-orange-500/30 transition-colors">Apply Changes</button> | |
| <button class="px-3 py-1 bg-replit-hover text-gray-400 rounded text-xs font-medium hover:bg-replit-dark transition-colors">Modify</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-4 border-t border-replit bg-replit-sidebar"> | |
| <div class="relative"> | |
| <textarea | |
| id="agent-input" | |
| rows="3" | |
| placeholder="Ask me to build anything... (e.g., 'Create a React app with authentication')" | |
| class="w-full bg-replit-dark border border-replit rounded-lg px-4 py-3 pr-12 text-sm focus:outline-none focus:border-orange-500 resize-none transition-colors" | |
| ></textarea> | |
| <button | |
| onclick="sendAgentMessage()" | |
| class="absolute bottom-3 right-3 p-2 bg-gradient-to-r from-orange-500 to-pink-500 hover:from-orange-600 hover:to-pink-600 text-white rounded-lg transition-all disabled:opacity-50 disabled:cursor-not-allowed" | |
| id="send-btn" | |
| > | |
| <i data-lucide="send" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| <div class="flex items-center justify-between mt-2 text-xs text-gray-500"> | |
| <span class="flex items-center gap-1"> | |
| <i data-lucide="zap" class="w-3 h-3 text-orange-400"></i> | |
| Ultra Mode Active | |
| </span> | |
| <span>Shift + Enter for new line</span> | |
| </div> | |
| </div> | |
| </aside> | |
| <!-- Collapsed Agent Button --> | |
| <button | |
| id="collapsed-agent-btn" | |
| onclick="toggleAgentPanel()" | |
| class="hidden fixed right-4 bottom-4 w-12 h-12 bg-gradient-to-r from-orange-500 to-pink-500 rounded-full shadow-lg flex items-center justify-center text-white hover:scale-110 transition-transform z-50" | |
| > | |
| <i data-lucide="bot" class="w-6 h-6"></i> | |
| </button> | |
| </div> | |
| <script> | |
| </script> | |
| <script src="https://deepsite.hf.co/deepsite-badge.js"></script> | |
| </body> | |
| </html> |