Spaces:
Running
Running
undefined - Initial Deployment
Browse files- README.md +6 -4
- index.html +379 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
colorTo: yellow
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: glitched-terminal
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: purple
|
| 5 |
colorTo: yellow
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,379 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>QTerm-4730 :: Quantum Linux Terminal</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
@import url('https://fonts.googleapis.com/css2?family=Major+Mono+Display&family=Share+Tech+Mono&display=swap');
|
| 11 |
+
|
| 12 |
+
body {
|
| 13 |
+
font-family: 'Share Tech Mono', monospace;
|
| 14 |
+
background-color: #0a0a12;
|
| 15 |
+
color: #0af;
|
| 16 |
+
overflow: hidden;
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
.terminal {
|
| 20 |
+
background: rgba(5, 5, 20, 0.8);
|
| 21 |
+
border: 1px solid rgba(0, 170, 255, 0.3);
|
| 22 |
+
box-shadow: 0 0 30px rgba(0, 170, 255, 0.2);
|
| 23 |
+
position: relative;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
.terminal::before {
|
| 27 |
+
content: "";
|
| 28 |
+
position: absolute;
|
| 29 |
+
top: 0;
|
| 30 |
+
left: 0;
|
| 31 |
+
right: 0;
|
| 32 |
+
bottom: 0;
|
| 33 |
+
background:
|
| 34 |
+
linear-gradient(90deg, rgba(0, 170, 255, 0.1) 1px, transparent 1px),
|
| 35 |
+
linear-gradient(rgba(0, 170, 255, 0.1) 1px, transparent 1px);
|
| 36 |
+
background-size: 10px 10px;
|
| 37 |
+
pointer-events: none;
|
| 38 |
+
opacity: 0.3;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.glitch {
|
| 42 |
+
position: relative;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
.glitch::before, .glitch::after {
|
| 46 |
+
content: attr(data-text);
|
| 47 |
+
position: absolute;
|
| 48 |
+
top: 0;
|
| 49 |
+
left: 0;
|
| 50 |
+
width: 100%;
|
| 51 |
+
height: 100%;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
.glitch::before {
|
| 55 |
+
color: #f0f;
|
| 56 |
+
z-index: -1;
|
| 57 |
+
animation: glitch-effect 3s infinite;
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
.glitch::after {
|
| 61 |
+
color: #0f0;
|
| 62 |
+
z-index: -2;
|
| 63 |
+
animation: glitch-effect 2s infinite reverse;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
@keyframes glitch-effect {
|
| 67 |
+
0% { transform: translate(0); }
|
| 68 |
+
20% { transform: translate(-3px, 3px); }
|
| 69 |
+
40% { transform: translate(-3px, -3px); }
|
| 70 |
+
60% { transform: translate(3px, 3px); }
|
| 71 |
+
80% { transform: translate(3px, -3px); }
|
| 72 |
+
100% { transform: translate(0); }
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
.scanline {
|
| 76 |
+
position: absolute;
|
| 77 |
+
top: 0;
|
| 78 |
+
left: 0;
|
| 79 |
+
right: 0;
|
| 80 |
+
height: 100%;
|
| 81 |
+
background: linear-gradient(
|
| 82 |
+
to bottom,
|
| 83 |
+
transparent 0%,
|
| 84 |
+
rgba(0, 170, 255, 0.05) 50%,
|
| 85 |
+
transparent 100%
|
| 86 |
+
);
|
| 87 |
+
background-size: 100% 8px;
|
| 88 |
+
pointer-events: none;
|
| 89 |
+
animation: scanline 8s linear infinite;
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
@keyframes scanline {
|
| 93 |
+
0% { transform: translateY(-100%); }
|
| 94 |
+
100% { transform: translateY(100%); }
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
.quantum-pulse {
|
| 98 |
+
animation: quantum-pulse 4s infinite alternate;
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
@keyframes quantum-pulse {
|
| 102 |
+
0% { box-shadow: 0 0 5px rgba(0, 170, 255, 0.5); }
|
| 103 |
+
100% { box-shadow: 0 0 20px rgba(0, 170, 255, 0.8); }
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
.cursor {
|
| 107 |
+
animation: blink 1s infinite;
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
@keyframes blink {
|
| 111 |
+
0%, 100% { opacity: 1; }
|
| 112 |
+
50% { opacity: 0; }
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
.command-output {
|
| 116 |
+
border-left: 2px solid rgba(0, 170, 255, 0.5);
|
| 117 |
+
padding-left: 10px;
|
| 118 |
+
margin: 10px 0;
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
.quantum-particle {
|
| 122 |
+
position: absolute;
|
| 123 |
+
width: 3px;
|
| 124 |
+
height: 3px;
|
| 125 |
+
background-color: rgba(0, 170, 255, 0.7);
|
| 126 |
+
border-radius: 50%;
|
| 127 |
+
pointer-events: none;
|
| 128 |
+
}
|
| 129 |
+
</style>
|
| 130 |
+
</head>
|
| 131 |
+
<body class="min-h-screen flex items-center justify-center p-4">
|
| 132 |
+
<div class="terminal w-full max-w-4xl h-96 md:h-[32rem] rounded-lg overflow-hidden flex flex-col quantum-pulse">
|
| 133 |
+
<!-- Header -->
|
| 134 |
+
<div class="bg-black bg-opacity-50 p-2 flex items-center justify-between border-b border-blue-400 border-opacity-30">
|
| 135 |
+
<div class="flex items-center space-x-2">
|
| 136 |
+
<div class="w-3 h-3 rounded-full bg-red-500"></div>
|
| 137 |
+
<div class="w-3 h-3 rounded-full bg-yellow-500"></div>
|
| 138 |
+
<div class="w-3 h-3 rounded-full bg-green-500"></div>
|
| 139 |
+
</div>
|
| 140 |
+
<div class="text-xs md:text-sm font-mono text-blue-300 glitch" data-text="QTerm-4730 :: Quantum Linux Terminal">
|
| 141 |
+
QTerm-4730 :: Quantum Linux Terminal
|
| 142 |
+
</div>
|
| 143 |
+
<div class="text-xs md:text-sm font-mono text-blue-300">
|
| 144 |
+
<span id="quantum-date">4730.12.31</span> <span id="quantum-time">23:59:59</span>
|
| 145 |
+
</div>
|
| 146 |
+
</div>
|
| 147 |
+
|
| 148 |
+
<!-- Terminal Content -->
|
| 149 |
+
<div class="flex-1 overflow-y-auto p-4 relative" id="terminal-content">
|
| 150 |
+
<div class="scanline"></div>
|
| 151 |
+
|
| 152 |
+
<!-- Initial output -->
|
| 153 |
+
<div class="command-output">
|
| 154 |
+
<p class="text-green-400">QTerm-4730 v12.7.9 (quantum-kernel 47.30.1-xQ)</p>
|
| 155 |
+
<p class="text-blue-300">Quantum Entanglement Protocol: <span class="text-green-400">ACTIVE</span></p>
|
| 156 |
+
<p class="text-blue-300">Superposition Layer: <span class="text-green-400">STABLE</span></p>
|
| 157 |
+
<p class="text-blue-300">Temporal Sync: <span class="text-yellow-400">±0.0007s</span></p>
|
| 158 |
+
<br>
|
| 159 |
+
<p class="text-purple-400">Last login: 4730-12-31 23:59:47 from quantum-entanglement-node-47</p>
|
| 160 |
+
<p class="text-purple-400">Warning: Temporal anomalies detected in sector 47</p>
|
| 161 |
+
</div>
|
| 162 |
+
|
| 163 |
+
<!-- Command prompt -->
|
| 164 |
+
<div class="flex items-center mt-4" id="command-prompt">
|
| 165 |
+
<span class="text-green-400 mr-2">user@quantum-node:~$</span>
|
| 166 |
+
<input type="text" class="bg-transparent border-none outline-none flex-1 text-blue-300 font-mono"
|
| 167 |
+
id="command-input" autocomplete="off" spellcheck="false" autofocus>
|
| 168 |
+
<span class="cursor ml-1">|</span>
|
| 169 |
+
</div>
|
| 170 |
+
|
| 171 |
+
<!-- Command output will be inserted here -->
|
| 172 |
+
<div id="command-output"></div>
|
| 173 |
+
</div>
|
| 174 |
+
|
| 175 |
+
<!-- Footer -->
|
| 176 |
+
<div class="bg-black bg-opacity-50 p-2 text-xs text-blue-300 border-t border-blue-400 border-opacity-30 flex justify-between">
|
| 177 |
+
<div>
|
| 178 |
+
<span class="text-purple-400">STATUS:</span>
|
| 179 |
+
<span class="text-green-400">QUANTUM_READY</span> |
|
| 180 |
+
<span class="text-purple-400">NODES:</span>
|
| 181 |
+
<span class="text-yellow-400">47/∞</span>
|
| 182 |
+
</div>
|
| 183 |
+
<div>
|
| 184 |
+
<span class="text-purple-400">Q-BITS:</span>
|
| 185 |
+
<span class="text-green-400">1.6e+47</span> |
|
| 186 |
+
<span class="text-purple-400">ENTANGLEMENT:</span>
|
| 187 |
+
<span class="text-yellow-400">98.7%</span>
|
| 188 |
+
</div>
|
| 189 |
+
</div>
|
| 190 |
+
</div>
|
| 191 |
+
|
| 192 |
+
<script>
|
| 193 |
+
// Create quantum particles
|
| 194 |
+
function createQuantumParticles() {
|
| 195 |
+
const terminal = document.querySelector('.terminal');
|
| 196 |
+
const particleCount = 30;
|
| 197 |
+
|
| 198 |
+
for (let i = 0; i < particleCount; i++) {
|
| 199 |
+
const particle = document.createElement('div');
|
| 200 |
+
particle.classList.add('quantum-particle');
|
| 201 |
+
|
| 202 |
+
// Random position
|
| 203 |
+
const x = Math.random() * 100;
|
| 204 |
+
const y = Math.random() * 100;
|
| 205 |
+
particle.style.left = `${x}%`;
|
| 206 |
+
particle.style.top = `${y}%`;
|
| 207 |
+
|
| 208 |
+
// Random animation
|
| 209 |
+
const duration = 5 + Math.random() * 10;
|
| 210 |
+
const delay = Math.random() * 5;
|
| 211 |
+
particle.style.animation = `quantumFloat ${duration}s ease-in-out ${delay}s infinite`;
|
| 212 |
+
|
| 213 |
+
// Add to terminal
|
| 214 |
+
terminal.appendChild(particle);
|
| 215 |
+
}
|
| 216 |
+
}
|
| 217 |
+
|
| 218 |
+
// Add quantum float animation
|
| 219 |
+
const style = document.createElement('style');
|
| 220 |
+
style.innerHTML = `
|
| 221 |
+
@keyframes quantumFloat {
|
| 222 |
+
0% { transform: translate(0, 0); opacity: 0; }
|
| 223 |
+
10% { opacity: 0.7; }
|
| 224 |
+
50% { transform: translate(${Math.random() * 100 - 50}px, ${Math.random() * 100 - 50}px); }
|
| 225 |
+
100% { transform: translate(0, 0); opacity: 0; }
|
| 226 |
+
}
|
| 227 |
+
`;
|
| 228 |
+
document.head.appendChild(style);
|
| 229 |
+
|
| 230 |
+
// Update quantum date and time
|
| 231 |
+
function updateQuantumDateTime() {
|
| 232 |
+
const now = new Date();
|
| 233 |
+
const dateElement = document.getElementById('quantum-date');
|
| 234 |
+
const timeElement = document.getElementById('quantum-time');
|
| 235 |
+
|
| 236 |
+
// Future date format: 4730.12.31
|
| 237 |
+
dateElement.textContent = `4730.${String(now.getMonth() + 1).padStart(2, '0')}.${String(now.getDate()).padStart(2, '0')}`;
|
| 238 |
+
|
| 239 |
+
// Time with milliseconds
|
| 240 |
+
timeElement.textContent = `${String(now.getHours()).padStart(2, '0')}:${String(now.getMinutes()).padStart(2, '0')}:${String(now.getSeconds()).padStart(2, '0')}`;
|
| 241 |
+
|
| 242 |
+
// Random glitch effect
|
| 243 |
+
if (Math.random() < 0.1) {
|
| 244 |
+
dateElement.classList.add('glitch');
|
| 245 |
+
timeElement.classList.add('glitch');
|
| 246 |
+
setTimeout(() => {
|
| 247 |
+
dateElement.classList.remove('glitch');
|
| 248 |
+
timeElement.classList.remove('glitch');
|
| 249 |
+
}, 500);
|
| 250 |
+
}
|
| 251 |
+
}
|
| 252 |
+
|
| 253 |
+
// Command processor
|
| 254 |
+
function processCommand(command) {
|
| 255 |
+
const outputDiv = document.getElementById('command-output');
|
| 256 |
+
const promptDiv = document.createElement('div');
|
| 257 |
+
promptDiv.className = 'flex items-center mt-4';
|
| 258 |
+
promptDiv.innerHTML = `
|
| 259 |
+
<span class="text-green-400 mr-2">user@quantum-node:~$</span>
|
| 260 |
+
<span class="text-blue-300">${command}</span>
|
| 261 |
+
`;
|
| 262 |
+
outputDiv.appendChild(promptDiv);
|
| 263 |
+
|
| 264 |
+
// Create response div
|
| 265 |
+
const responseDiv = document.createElement('div');
|
| 266 |
+
responseDiv.className = 'command-output';
|
| 267 |
+
|
| 268 |
+
// Process commands
|
| 269 |
+
command = command.trim().toLowerCase();
|
| 270 |
+
|
| 271 |
+
if (command === 'help' || command === '?') {
|
| 272 |
+
responseDiv.innerHTML = `
|
| 273 |
+
<p class="text-yellow-400">Available commands:</p>
|
| 274 |
+
<p>help - Display this help message</p>
|
| 275 |
+
<p>status - Show quantum system status</p>
|
| 276 |
+
<p>entangle - Initiate quantum entanglement</p>
|
| 277 |
+
<p>superpose - Enter superposition state</p>
|
| 278 |
+
<p>temporal - Check temporal stability</p>
|
| 279 |
+
<p>nodes - List connected quantum nodes</p>
|
| 280 |
+
<p>clear - Clear terminal</p>
|
| 281 |
+
`;
|
| 282 |
+
}
|
| 283 |
+
else if (command === 'status') {
|
| 284 |
+
responseDiv.innerHTML = `
|
| 285 |
+
<p class="text-yellow-400">Quantum System Status:</p>
|
| 286 |
+
<p>Core Temperature: <span class="text-green-400">${(Math.random() * 0.5 + 2.7).toFixed(2)}K</span></p>
|
| 287 |
+
<p>Q-Bit Stability: <span class="text-green-400">${(Math.random() * 5 + 95).toFixed(1)}%</span></p>
|
| 288 |
+
<p>Entanglement Rate: <span class="text-green-400">${(Math.random() * 20 + 80).toFixed(1)}%</span></p>
|
| 289 |
+
<p>Temporal Variance: <span class="text-yellow-400">±${(Math.random() * 0.001).toFixed(4)}s</span></p>
|
| 290 |
+
`;
|
| 291 |
+
}
|
| 292 |
+
else if (command === 'entangle') {
|
| 293 |
+
responseDiv.innerHTML = `
|
| 294 |
+
<p class="text-purple-400">Initiating quantum entanglement protocol...</p>
|
| 295 |
+
<p>Establishing connection with parallel universes...</p>
|
| 296 |
+
<p class="text-green-400">Entanglement successful! Connected to ${Math.floor(Math.random() * 47) + 1} alternate realities.</p>
|
| 297 |
+
`;
|
| 298 |
+
}
|
| 299 |
+
else if (command === 'superpose') {
|
| 300 |
+
responseDiv.innerHTML = `
|
| 301 |
+
<p class="text-purple-400">Entering quantum superposition state...</p>
|
| 302 |
+
<p>Collapsing wavefunction in 3... 2... 1...</p>
|
| 303 |
+
<p class="text-green-400">Superposition achieved! You are now in ${Math.floor(Math.random() * 10) + 2} states simultaneously.</p>
|
| 304 |
+
`;
|
| 305 |
+
}
|
| 306 |
+
else if (command === 'temporal') {
|
| 307 |
+
responseDiv.innerHTML = `
|
| 308 |
+
<p class="text-yellow-400">Temporal Stability Report:</p>
|
| 309 |
+
<p>Local Timeline Integrity: <span class="text-green-400">${(Math.random() * 10 + 90).toFixed(1)}%</span></p>
|
| 310 |
+
<p>Chroniton Particles: <span class="text-yellow-400">${(Math.random() * 1000).toFixed(0)}/cm³</span></p>
|
| 311 |
+
<p>Temporal Anomalies: <span class="text-red-400">${Math.floor(Math.random() * 5)} detected</span></p>
|
| 312 |
+
<p>Recommendation: ${Math.random() > 0.5 ? "No action required" : "Initiate temporal recalibration"}</p>
|
| 313 |
+
`;
|
| 314 |
+
}
|
| 315 |
+
else if (command === 'nodes') {
|
| 316 |
+
const nodeCount = Math.floor(Math.random() * 10) + 5;
|
| 317 |
+
let nodesHTML = `<p class="text-yellow-400">Connected Quantum Nodes (${nodeCount}):</p>`;
|
| 318 |
+
|
| 319 |
+
for (let i = 0; i < nodeCount; i++) {
|
| 320 |
+
const status = Math.random() > 0.2 ? "ONLINE" : "OFFLINE";
|
| 321 |
+
const statusClass = status === "ONLINE" ? "text-green-400" : "text-red-400";
|
| 322 |
+
nodesHTML += `<p>quantum-node-${i} <span class="${statusClass}">${status}</span> ${Math.random().toFixed(4)}Q</p>`;
|
| 323 |
+
}
|
| 324 |
+
|
| 325 |
+
responseDiv.innerHTML = nodesHTML;
|
| 326 |
+
}
|
| 327 |
+
else if (command === 'clear') {
|
| 328 |
+
document.getElementById('command-output').innerHTML = '';
|
| 329 |
+
return;
|
| 330 |
+
}
|
| 331 |
+
else if (command === '') {
|
| 332 |
+
// Do nothing for empty command
|
| 333 |
+
return;
|
| 334 |
+
}
|
| 335 |
+
else {
|
| 336 |
+
responseDiv.innerHTML = `
|
| 337 |
+
<p class="text-red-400">Command not found: ${command}</p>
|
| 338 |
+
<p>Type 'help' for available commands</p>
|
| 339 |
+
`;
|
| 340 |
+
}
|
| 341 |
+
|
| 342 |
+
outputDiv.appendChild(responseDiv);
|
| 343 |
+
|
| 344 |
+
// Random glitch effect
|
| 345 |
+
if (Math.random() < 0.3) {
|
| 346 |
+
responseDiv.classList.add('glitch');
|
| 347 |
+
setTimeout(() => {
|
| 348 |
+
responseDiv.classList.remove('glitch');
|
| 349 |
+
}, 500);
|
| 350 |
+
}
|
| 351 |
+
|
| 352 |
+
// Scroll to bottom
|
| 353 |
+
document.getElementById('terminal-content').scrollTop = document.getElementById('terminal-content').scrollHeight;
|
| 354 |
+
}
|
| 355 |
+
|
| 356 |
+
// Initialize
|
| 357 |
+
document.addEventListener('DOMContentLoaded', () => {
|
| 358 |
+
createQuantumParticles();
|
| 359 |
+
updateQuantumDateTime();
|
| 360 |
+
setInterval(updateQuantumDateTime, 1000);
|
| 361 |
+
|
| 362 |
+
const commandInput = document.getElementById('command-input');
|
| 363 |
+
|
| 364 |
+
commandInput.addEventListener('keydown', (e) => {
|
| 365 |
+
if (e.key === 'Enter') {
|
| 366 |
+
const command = commandInput.value;
|
| 367 |
+
commandInput.value = '';
|
| 368 |
+
processCommand(command);
|
| 369 |
+
}
|
| 370 |
+
});
|
| 371 |
+
|
| 372 |
+
// Focus input when clicking anywhere in terminal
|
| 373 |
+
document.getElementById('terminal-content').addEventListener('click', () => {
|
| 374 |
+
commandInput.focus();
|
| 375 |
+
});
|
| 376 |
+
});
|
| 377 |
+
</script>
|
| 378 |
+
<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=gladiopeace/glitched-terminal" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 379 |
+
</html>
|