Download index.html from MarcRyan/elevate: direct link, hf CLI and curl.
- Browser
- Download file 23.6 kB
-
https://huggingface.co/spaces/MarcRyan/elevate/resolve/main/index.html
- Command line
-
hf download hf://spaces/MarcRyan/elevate/index.html
-
curl -L -o index.html https://huggingface.co/spaces/MarcRyan/elevate/resolve/main/index.html
23.6 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Multi-Terminal AI Development Studio</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> | |
| /* All previous styles remain the same */ | |
| .terminal { | |
| font-family: 'Courier New', monospace; | |
| background: linear-gradient(135deg, #1e1e2e 0%, #2d2d42 100%); | |
| box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); | |
| border-radius: 8px; | |
| overflow: hidden; | |
| transition: all 0.3s ease; | |
| height: 100%; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .terminal-header { | |
| background: linear-gradient(90deg, #3a3a52 0%, #2a2a3a 100%); | |
| padding: 8px 12px; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| border-bottom: 1px solid #4a4a6a; | |
| } | |
| .terminal-viewport { | |
| flex-grow: 1; | |
| overflow-y: auto; | |
| scrollbar-width: thin; | |
| scrollbar-color: #4a4a6a #2a2a3a; | |
| padding: 12px; | |
| background-color: rgba(0, 0, 0, 0.2); | |
| height: calc(100% - 60px); | |
| } | |
| .terminal-viewport::-webkit-scrollbar { | |
| width: 6px; | |
| } | |
| .terminal-viewport::-webkit-scrollbar-track { | |
| background: #2a2a3a; | |
| } | |
| .terminal-viewport::-webkit-scrollbar-thumb { | |
| background-color: #4a4a6a; | |
| border-radius: 3px; | |
| } | |
| .terminal-input-area { | |
| padding: 10px; | |
| background: #2a2a3a; | |
| border-top: 1px solid #4a4a6a; | |
| } | |
| .command-line { | |
| display: flex; | |
| align-items: center; | |
| } | |
| .prompt { | |
| color: #50fa7b; | |
| margin-right: 8px; | |
| font-weight: bold; | |
| } | |
| .command-input { | |
| background: transparent; | |
| border: none; | |
| color: #f8f8f2; | |
| outline: none; | |
| flex-grow: 1; | |
| font-family: 'Courier New', monospace; | |
| font-size: 14px; | |
| caret-color: #50fa7b; | |
| } | |
| .output { | |
| white-space: pre-wrap; | |
| margin-bottom: 8px; | |
| line-height: 1.4; | |
| font-size: 14px; | |
| animation: fadeIn 0.3s ease-out; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(5px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .success { | |
| color: #50fa7b; | |
| } | |
| .error { | |
| color: #ff5555; | |
| } | |
| .info { | |
| color: #8be9fd; | |
| } | |
| .warning { | |
| color: #f1fa8c; | |
| } | |
| .card { | |
| background: linear-gradient(145deg, #2d3748, #1a202c); | |
| border-radius: 12px; | |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); | |
| transition: all 0.3s ease; | |
| height: 300px; | |
| overflow: hidden; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .card:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| } | |
| .card-header { | |
| background: linear-gradient(90deg, #3a3a52 0%, #2a2a3a 100%); | |
| padding: 12px 16px; | |
| font-weight: 600; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| border-bottom: 1px solid #4a4a6a; | |
| } | |
| .llm-response { | |
| border-left: 3px solid; | |
| padding-left: 10px; | |
| margin: 10px 0; | |
| animation: fadeIn 0.3s ease-out; | |
| } | |
| .llm-1 { border-color: #ff5555; } | |
| .llm-2 { border-color: #50fa7b; } | |
| .llm-3 { border-color: #8be9fd; } | |
| .typing { | |
| display: inline-block; | |
| } | |
| .typing-dot { | |
| width: 8px; | |
| height: 8px; | |
| border-radius: 50%; | |
| background-color: #8be9fd; | |
| display: inline-block; | |
| margin-right: 3px; | |
| animation: typing 1.4s infinite ease-in-out; | |
| } | |
| .typing-dot:nth-child(1) { animation-delay: 0s; } | |
| .typing-dot:nth-child(2) { animation-delay: 0.2s; } | |
| .typing-dot:nth-child(3) { animation-delay: 0.4s; } | |
| @keyframes typing { | |
| 0%, 60%, 100% { transform: translateY(0); } | |
| 30% { transform: translateY(-5px); } | |
| } | |
| .terminal-controls { | |
| display: flex; | |
| gap: 6px; | |
| } | |
| .terminal-btn { | |
| width: 20px; | |
| height: 20px; | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 10px; | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| } | |
| .terminal-btn:hover { | |
| transform: scale(1.1); | |
| } | |
| .close-btn { | |
| background-color: #ff5f56; | |
| } | |
| .minimize-btn { | |
| background-color: #ffbd2e; | |
| } | |
| .maximize-btn { | |
| background-color: #27c93f; | |
| } | |
| .blinking-cursor { | |
| animation: blink 1s infinite; | |
| } | |
| @keyframes blink { | |
| 0%, 100% { opacity: 1; } | |
| 50% { opacity: 0; } | |
| } | |
| .preview-card { | |
| background: white; | |
| border-radius: 12px; | |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); | |
| transition: all 0.3s ease; | |
| height: 600px; | |
| overflow: hidden; | |
| display: flex; | |
| flex-direction: column; | |
| grid-column: span 2; | |
| } | |
| .preview-header { | |
| background: linear-gradient(90deg, #3a3a52 0%, #2a2a3a 100%); | |
| padding: 12px 16px; | |
| font-weight: 600; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| border-bottom: 1px solid #4a4a6a; | |
| color: white; | |
| } | |
| .preview-iframe { | |
| flex-grow: 1; | |
| border: none; | |
| background: white; | |
| } | |
| .preview-controls { | |
| display: flex; | |
| gap: 8px; | |
| padding: 8px; | |
| background: #2a2a3a; | |
| border-top: 1px solid #4a4a6a; | |
| } | |
| .preview-btn { | |
| padding: 4px 8px; | |
| border-radius: 4px; | |
| background: #3a3a52; | |
| color: white; | |
| font-size: 12px; | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| } | |
| .preview-btn:hover { | |
| background: #4a4a6a; | |
| } | |
| .preview-url { | |
| flex-grow: 1; | |
| background: #2a2a3a; | |
| border: 1px solid #4a4a6a; | |
| border-radius: 4px; | |
| padding: 4px 8px; | |
| color: white; | |
| font-family: 'Courier New', monospace; | |
| font-size: 12px; | |
| } | |
| .terminal-grid { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 1rem; | |
| } | |
| .preview-container { | |
| grid-column: span 2; | |
| } | |
| .generated-image { | |
| max-width: 100%; | |
| max-height: 200px; | |
| border-radius: 4px; | |
| margin-top: 10px; | |
| border: 1px solid #4a4a6a; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-900 text-gray-100 min-h-screen p-6"> | |
| <div class="container mx-auto"> | |
| <div class="flex flex-col lg:flex-row gap-8"> | |
| <!-- Left content area --> | |
| <div class="w-full lg:w-1/2"> | |
| <div class="flex justify-between items-center mb-8"> | |
| <h1 class="text-3xl font-bold text-transparent bg-clip-text bg-gradient-to-r from-green-400 to-blue-500"> | |
| <i class="fas fa-terminal mr-2"></i>AI Development Studio | |
| </h1> | |
| <div class="flex space-x-2"> | |
| <button id="new-terminal" class="px-4 py-2 bg-green-600 hover:bg-green-700 rounded-md transition flex items-center"> | |
| <i class="fas fa-plus mr-2"></i> New Terminal | |
| </button> | |
| <button id="clear-all" class="px-4 py-2 bg-red-600 hover:bg-red-700 rounded-md transition flex items-center"> | |
| <i class="fas fa-trash mr-2"></i> Clear All | |
| </button> | |
| </div> | |
| </div> | |
| <!-- New LLM Query Card --> | |
| <div class="bg-gray-800 rounded-xl p-6 mb-6"> | |
| <h2 class="text-xl font-semibold mb-4 text-purple-400">Multi-LLM Query</h2> | |
| <div class="mb-4"> | |
| <label for="llm-query" class="block text-sm font-medium mb-2">Enter your prompt:</label> | |
| <div class="flex"> | |
| <input type="text" id="llm-query" class="flex-grow px-4 py-2 bg-gray-700 border border-gray-600 rounded-l-md focus:outline-none focus:ring-2 focus:ring-purple-500" placeholder="Ask something to multiple LLMs..."> | |
| <button id="send-query" class="px-4 py-2 bg-purple-600 hover:bg-purple-700 rounded-r-md transition"> | |
| <i class="fas fa-paper-plane mr-2"></i>Send | |
| </button> | |
| </div> | |
| </div> | |
| <div id="llm-responses" class="bg-gray-700 rounded-lg p-4 min-h-32 max-h-64 overflow-y-auto"> | |
| <p class="text-gray-400 italic">Responses from LLMs will appear here...</p> | |
| </div> | |
| </div> | |
| <div class="bg-gray-800 rounded-xl p-6 mb-6"> | |
| <h2 class="text-xl font-semibold mb-4 text-green-400">Welcome to AI Dev Studio</h2> | |
| <p class="mb-4">This interface provides you with four terminal instances on the right side of your screen. Terminal 1 runs deepcoder:1.5b AI to generate HTML/CSS/JS code which is rendered live in the preview panel.</p> | |
| <div class="bg-gray-700 rounded-lg p-4"> | |
| <h3 class="font-medium mb-2 text-blue-400">Available Commands:</h3> | |
| <ul class="list-disc pl-5 space-y-1"> | |
| <li><span class="text-green-400">help</span> - Show available commands</li> | |
| <li><span class="text-green-400">clear</span> - Clear terminal history</li> | |
| <li><span class="text-green-400">echo</span> - Print text to terminal</li> | |
| <li><span class="text-green-400">date</span> - Show current date/time</li> | |
| <li><span class="text-green-400">neofetch</span> - Display system info</li> | |
| <li><span class="text-green-400">theme</span> - Change terminal colors</li> | |
| <li><span class="text-green-400">build</span> - Generate HTML page (Terminal 1 only)</li> | |
| <li><span class="text-green-400">preview</span> - Update live preview</li> | |
| <li><span class="text-green-400">generate-image</span> - Generate AI image (Terminal 2 only)</li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-4"> | |
| <div class="bg-gray-800 rounded-xl p-4"> | |
| <h3 class="font-medium mb-2 text-purple-400">Terminal Stats</h3> | |
| <p>Active terminals: <span id="terminal-count" class="text-green-400">4</span></p> | |
| <p>Max terminals: <span class="text-blue-400">4</span></p> | |
| </div> | |
| <div class="bg-gray-800 rounded-xl p-4"> | |
| <h3 class="font-medium mb-2 text-yellow-400">System Info</h3> | |
| <p>Browser: <span class="text-blue-400" id="browser-info">Loading...</span></p> | |
| <p>Resolution: <span class="text-blue-400" id="resolution-info">Loading...</span></p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Right cards area with terminals --> | |
| <div class="w-full lg:w-1/2"> | |
| <!-- Preview Card (XXL size) --> | |
| <div class="preview-card mb-6"> | |
| <div class="preview-header"> | |
| <span class="flex items-center"> | |
| <i class="fas fa-globe mr-2 text-blue-400"></i> | |
| Live Preview | |
| </span> | |
| <div class="terminal-controls"> | |
| <div class="terminal-btn minimize-btn" data-preview="1"> | |
| <i class="fas fa-minus"></i> | |
| </div> | |
| <div class="terminal-btn close-btn" data-preview="1"> | |
| <i class="fas fa-times"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="preview-controls"> | |
| <span class="preview-btn" id="refresh-preview"> | |
| <i class="fas fa-sync-alt mr-1"></i> Refresh | |
| </span> | |
| <span class="preview-btn" id="open-preview"> | |
| <i class="fas fa-external-link-alt mr-1"></i> Open | |
| </span> | |
| <input type="text" class="preview-url" id="preview-url" value="about:blank" readonly> | |
| </div> | |
| <iframe id="preview-iframe" class="preview-iframe" src="about:blank"></iframe> | |
| </div> | |
| <!-- Terminal Grid --> | |
| <div class="terminal-grid"> | |
| <div class="card"> | |
| <div class="card-header"> | |
| <span class="flex items-center"> | |
| <i class="fas fa-terminal mr-2 text-green-400"></i> | |
| Terminal 1 (deepcoder:1.5b) | |
| </span> | |
| <div class="terminal-controls"> | |
| <div class="terminal-btn minimize-btn" data-terminal="1"> | |
| <i class="fas fa-minus"></i> | |
| </div> | |
| <div class="terminal-btn close-btn" data-terminal="1"> | |
| <i class="fas fa-times"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="terminal-container h-full" id="terminal-1-container"> | |
| <div class="terminal"> | |
| <div class="terminal-viewport" id="terminal-1-viewport"></div> | |
| <div class="terminal-input-area"> | |
| <div class="command-line"> | |
| <span class="prompt">user@deepcoder:~$</span> | |
| <input type="text" class="command-input" id="terminal-1-input" autocomplete="off"> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="card"> | |
| <div class="card-header"> | |
| <span class="flex items-center"> | |
| <i class="fas fa-brain mr-2 text-red-400"></i> | |
| Terminal 2 (LLaMA-7B + SD) | |
| </span> | |
| <div class="terminal-controls"> | |
| <div class="terminal-btn minimize-btn" data-terminal="2"> | |
| <i class="fas fa-minus"></i> | |
| </div> | |
| <div class="terminal-btn close-btn" data-terminal="2"> | |
| <i class="fas fa-times"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="terminal-container h-full" id="terminal-2-container"> | |
| <div class="terminal"> | |
| <div class="terminal-viewport" id="terminal-2-viewport"></div> | |
| <div class="terminal-input-area"> | |
| <div class="command-line"> | |
| <span class="prompt">user@llama-sd:~$</span> | |
| <input type="text" class="command-input" id="terminal-2-input" autocomplete="off"> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="card"> | |
| <div class="card-header"> | |
| <span class="flex items-center"> | |
| <i class="fas fa-brain mr-2 text-green-400"></i> | |
| Terminal 3 (LLaMA-13B) | |
| </span> | |
| <div class="terminal-controls"> | |
| <div class="terminal-btn minimize-btn" data-terminal="3"> | |
| <i class="fas fa-minus"></i> | |
| </div> | |
| <div class="terminal-btn close-btn" data-terminal="3"> | |
| <i class="fas fa-times"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="terminal-container h-full" id="terminal-3-container"> | |
| <div class="terminal"> | |
| <div class="terminal-viewport" id="terminal-3-viewport"></div> | |
| <div class="terminal-input-area"> | |
| <div class="command-line"> | |
| <span class="prompt">user@llama-13b:~$</span> | |
| <input type="text" class="command-input" id="terminal-3-input" autocomplete="off"> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="card"> | |
| <div class="card-header"> | |
| <span class="flex items-center"> | |
| <i class="fas fa-brain mr-2 text-blue-400"></i> | |
| Terminal 4 (LLaMA-70B) | |
| </span> | |
| <div class="terminal-controls"> | |
| <div class="terminal-btn minimize-btn" data-terminal="4"> | |
| <i class="fas fa-minus"></i> | |
| </div> | |
| <div class="terminal-btn close-btn" data-terminal="4"> | |
| <i class="fas fa-times"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="terminal-container h-full" id="terminal-4-container"> | |
| <div class="terminal"> | |
| <div class="terminal-viewport" id="terminal-4-viewport"></div> | |
| <div class="terminal-input-area"> | |
| <div class="command-line"> | |
| <span class="prompt">user@llama-70b:~$</span> | |
| <input type="text" class="command-input" id="terminal-4-input" autocomplete="off"> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // DOM elements | |
| const terminalViewports = [ | |
| document.getElementById('terminal-1-viewport'), | |
| document.getElementById('terminal-2-viewport'), | |
| document.getElementById('terminal-3-viewport'), | |
| document.getElementById('terminal-4-viewport') | |
| ]; | |
| const terminalInputs = [ | |
| document.getElementById('terminal-1-input'), | |
| document.getElementById('terminal-2-input'), | |
| document.getElementById('terminal-3-input'), | |
| document.getElementById('terminal-4-input') | |
| ]; | |
| const newTerminalBtn = document.getElementById('new-terminal'); | |
| const clearAllBtn = document.getElementById('clear-all'); | |
| const terminalCountDisplay = document.getElementById('terminal-count'); | |
| const browserInfoDisplay = document.getElementById('browser-info'); | |
| const resolutionInfoDisplay = document.getElementById('resolution-info'); | |
| const llmQueryInput = document.getElementById('llm-query'); | |
| const sendQueryBtn = document.getElementById('send-query'); | |
| const llmResponsesContainer = document.getElementById('llm-responses'); | |
| const previewIframe = document.getElementById('preview-iframe'); | |
| const refreshPreviewBtn = document.getElementById('refresh-preview'); | |
| const openPreviewBtn = document.getElementById('open-preview'); | |
| const previewUrlInput = document.getElementById('preview-url'); | |
| // System info | |
| browserInfoDisplay.textContent = navigator.userAgent.split(')')[0].split('(')[1]; | |
| resolutionInfoDisplay.textContent = `${window.innerWidth} × ${window.innerHeight}`; | |
| // Terminal initialization | |
| let terminalCount = 4; | |
| const maxTerminals = 4; | |
| let currentHtml = '<!DOCTYPE html><html><head><title>New Project</title></head><body><h1>Hello World!</h1><p>Generated by deepcoder:1.5b</p><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=MarcRyan/elevate" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body></html> |