joung commited on
Commit
81472c4
·
verified ·
1 Parent(s): 63dd62a

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +531 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Joung Hyun
3
- emoji: 🌖
4
- colorFrom: green
5
- colorTo: indigo
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: joung-hyun
3
+ emoji: 🐳
4
+ colorFrom: pink
5
+ colorTo: purple
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,531 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>ShadowWatch | Cryptic Surveillance</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=Orbitron:wght@400;700&family=Ubuntu+Mono:wght@400;700&display=swap');
11
+
12
+ :root {
13
+ --primary: #0f172a;
14
+ --secondary: #1e293b;
15
+ --accent: #7c3aed;
16
+ --text: #e2e8f0;
17
+ --highlight: #a78bfa;
18
+ }
19
+
20
+ body {
21
+ font-family: 'Ubuntu Mono', monospace;
22
+ background-color: var(--primary);
23
+ color: var(--text);
24
+ overflow-x: hidden;
25
+ }
26
+
27
+ .title-font {
28
+ font-family: 'Orbitron', sans-serif;
29
+ }
30
+
31
+ .glow {
32
+ text-shadow: 0 0 8px var(--highlight);
33
+ }
34
+
35
+ .terminal {
36
+ background-color: rgba(15, 23, 42, 0.7);
37
+ border: 1px solid var(--accent);
38
+ box-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
39
+ }
40
+
41
+ .terminal-header {
42
+ background: linear-gradient(90deg, var(--primary), var(--secondary));
43
+ border-bottom: 1px solid var(--accent);
44
+ }
45
+
46
+ .terminal-body {
47
+ background: rgba(15, 23, 42, 0.5);
48
+ }
49
+
50
+ .typewriter {
51
+ overflow: hidden;
52
+ border-right: .15em solid var(--accent);
53
+ white-space: nowrap;
54
+ animation:
55
+ typing 3.5s steps(40, end),
56
+ blink-caret .75s step-end infinite;
57
+ }
58
+
59
+ @keyframes typing {
60
+ from { width: 0 }
61
+ to { width: 100% }
62
+ }
63
+
64
+ @keyframes blink-caret {
65
+ from, to { border-color: transparent }
66
+ 50% { border-color: var(--accent) }
67
+ }
68
+
69
+ .pulse {
70
+ animation: pulse 2s infinite;
71
+ }
72
+
73
+ @keyframes pulse {
74
+ 0% { opacity: 1; }
75
+ 50% { opacity: 0.5; }
76
+ 100% { opacity: 1; }
77
+ }
78
+
79
+ .scanline {
80
+ position: absolute;
81
+ top: 0;
82
+ left: 0;
83
+ width: 100%;
84
+ height: 100%;
85
+ background: linear-gradient(
86
+ to bottom,
87
+ transparent 0%,
88
+ rgba(124, 58, 237, 0.1) 50%,
89
+ transparent 100%
90
+ );
91
+ animation: scan 8s linear infinite;
92
+ pointer-events: none;
93
+ }
94
+
95
+ @keyframes scan {
96
+ 0% { transform: translateY(-100%); }
97
+ 100% { transform: translateY(100%); }
98
+ }
99
+
100
+ .grid-bg {
101
+ background-image:
102
+ linear-gradient(rgba(124, 58, 237, 0.1) 1px, transparent 1px),
103
+ linear-gradient(90deg, rgba(124, 58, 237, 0.1) 1px, transparent 1px);
104
+ background-size: 20px 20px;
105
+ }
106
+ </style>
107
+ </head>
108
+ <body class="min-h-screen grid-bg">
109
+ <!-- Scanline Effect -->
110
+ <div class="scanline"></div>
111
+
112
+ <!-- Main Container -->
113
+ <div class="container mx-auto px-4 py-8 relative z-10">
114
+ <!-- Header -->
115
+ <header class="flex flex-col md:flex-row justify-between items-center mb-10">
116
+ <div class="flex items-center mb-4 md:mb-0">
117
+ <div class="w-12 h-12 rounded-full bg-purple-600 flex items-center justify-center mr-4">
118
+ <i class="fas fa-eye text-white text-xl"></i>
119
+ </div>
120
+ <h1 class="title-font text-3xl md:text-4xl font-bold text-transparent bg-clip-text bg-gradient-to-r from-purple-400 to-pink-600">
121
+ Shadow<span class="glow">Watch</span>
122
+ </h1>
123
+ </div>
124
+ <div class="flex space-x-4">
125
+ <button class="px-4 py-2 bg-purple-700 hover:bg-purple-600 rounded-md transition-all duration-300 flex items-center">
126
+ <i class="fas fa-user-secret mr-2"></i> Login
127
+ </button>
128
+ <button class="px-4 py-2 bg-gray-800 hover:bg-gray-700 rounded-md transition-all duration-300 flex items-center">
129
+ <i class="fas fa-cog mr-2"></i> Settings
130
+ </button>
131
+ </div>
132
+ </header>
133
+
134
+ <!-- Dashboard Grid -->
135
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8">
136
+ <!-- Status Panel -->
137
+ <div class="terminal rounded-lg overflow-hidden col-span-1">
138
+ <div class="terminal-header p-4 flex justify-between items-center">
139
+ <h2 class="font-bold text-purple-300 flex items-center">
140
+ <i class="fas fa-heart-pulse mr-2"></i> SYSTEM STATUS
141
+ </h2>
142
+ <div class="flex space-x-2">
143
+ <div class="w-3 h-3 rounded-full bg-green-500"></div>
144
+ <div class="w-3 h-3 rounded-full bg-yellow-500"></div>
145
+ <div class="w-3 h-3 rounded-full bg-red-500"></div>
146
+ </div>
147
+ </div>
148
+ <div class="terminal-body p-4">
149
+ <div class="mb-4">
150
+ <div class="flex justify-between mb-1">
151
+ <span class="text-sm text-gray-400">Network Uptime</span>
152
+ <span class="text-sm text-purple-300">99.98%</span>
153
+ </div>
154
+ <div class="w-full bg-gray-800 rounded-full h-2">
155
+ <div class="bg-green-500 h-2 rounded-full" style="width: 99.98%"></div>
156
+ </div>
157
+ </div>
158
+ <div class="mb-4">
159
+ <div class="flex justify-between mb-1">
160
+ <span class="text-sm text-gray-400">Memory Usage</span>
161
+ <span class="text-sm text-purple-300">64%</span>
162
+ </div>
163
+ <div class="w-full bg-gray-800 rounded-full h-2">
164
+ <div class="bg-yellow-500 h-2 rounded-full" style="width: 64%"></div>
165
+ </div>
166
+ </div>
167
+ <div class="mb-4">
168
+ <div class="flex justify-between mb-1">
169
+ <span class="text-sm text-gray-400">CPU Load</span>
170
+ <span class="text-sm text-purple-300">42%</span>
171
+ </div>
172
+ <div class="w-full bg-gray-800 rounded-full h-2">
173
+ <div class="bg-purple-500 h-2 rounded-full" style="width: 42%"></div>
174
+ </div>
175
+ </div>
176
+ <div class="mt-6">
177
+ <div class="flex items-center justify-between py-2 border-b border-gray-700">
178
+ <span class="text-gray-400">Active Nodes</span>
179
+ <span class="font-mono text-purple-300">24</span>
180
+ </div>
181
+ <div class="flex items-center justify-between py-2 border-b border-gray-700">
182
+ <span class="text-gray-400">Threat Level</span>
183
+ <span class="font-mono text-green-400">Low</span>
184
+ </div>
185
+ <div class="flex items-center justify-between py-2">
186
+ <span class="text-gray-400">Last Scan</span>
187
+ <span class="font-mono text-purple-300">2.4s ago</span>
188
+ </div>
189
+ </div>
190
+ </div>
191
+ </div>
192
+
193
+ <!-- Main Terminal -->
194
+ <div class="terminal rounded-lg overflow-hidden col-span-1 lg:col-span-2">
195
+ <div class="terminal-header p-4 flex justify-between items-center">
196
+ <h2 class="font-bold text-purple-300 flex items-center">
197
+ <i class="fas fa-terminal mr-2"></i> COMMAND INTERFACE
198
+ </h2>
199
+ <div class="text-xs text-gray-400">
200
+ <span class="mr-2">v2.4.8</span>
201
+ <span class="text-green-400">CONNECTED</span>
202
+ </div>
203
+ </div>
204
+ <div class="terminal-body p-4 h-96 overflow-y-auto font-mono text-sm" id="terminal-output">
205
+ <div class="mb-4">
206
+ <p class="text-green-400">user@shadowwatch:~$ <span class="typewriter">initialize --security-level=high</span></p>
207
+ <p class="text-gray-400 mt-2">> Initializing ShadowWatch protocols...</p>
208
+ <p class="text-gray-400">> Loading cryptographic modules...</p>
209
+ <p class="text-green-400">> System ready. Security level set to HIGH.</p>
210
+ </div>
211
+ <div class="mb-4">
212
+ <p class="text-green-400">user@shadowwatch:~$ <span class="text-white">scan network --deep</span></p>
213
+ <p class="text-gray-400 mt-2">> Scanning 24 active nodes...</p>
214
+ <p class="text-gray-400">> Analyzing traffic patterns...</p>
215
+ <p class="text-gray-400">> Detecting anomalies...</p>
216
+ <p class="text-green-400">> Scan complete. No critical threats detected.</p>
217
+ </div>
218
+ <div class="mb-4">
219
+ <p class="text-green-400">user@shadowwatch:~$ <span class="text-white" id="terminal-input">_</span></p>
220
+ </div>
221
+ </div>
222
+ </div>
223
+ </div>
224
+
225
+ <!-- Activity Feed -->
226
+ <div class="terminal rounded-lg overflow-hidden mb-8">
227
+ <div class="terminal-header p-4 flex justify-between items-center">
228
+ <h2 class="font-bold text-purple-300 flex items-center">
229
+ <i class="fas fa-list-alt mr-2"></i> ACTIVITY MONITOR
230
+ </h2>
231
+ <div class="flex items-center">
232
+ <span class="text-xs text-gray-400 mr-2">LIVE FEED</span>
233
+ <div class="w-2 h-2 rounded-full bg-red-500 pulse"></div>
234
+ </div>
235
+ </div>
236
+ <div class="terminal-body p-4">
237
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
238
+ <div class="bg-gray-800 bg-opacity-50 p-4 rounded-lg">
239
+ <h3 class="text-purple-300 mb-3 flex items-center">
240
+ <i class="fas fa-shield-halved mr-2"></i> Security Events
241
+ </h3>
242
+ <ul class="space-y-3" id="security-events">
243
+ <li class="flex items-start">
244
+ <div class="w-2 h-2 rounded-full bg-green-500 mt-1.5 mr-2"></div>
245
+ <div>
246
+ <p class="text-sm">Firewall rule updated</p>
247
+ <p class="text-xs text-gray-400">2 minutes ago</p>
248
+ </div>
249
+ </li>
250
+ <li class="flex items-start">
251
+ <div class="w-2 h-2 rounded-full bg-yellow-500 mt-1.5 mr-2"></div>
252
+ <div>
253
+ <p class="text-sm">Unusual login attempt</p>
254
+ <p class="text-xs text-gray-400">14 minutes ago</p>
255
+ </div>
256
+ </li>
257
+ <li class="flex items-start">
258
+ <div class="w-2 h-2 rounded-full bg-green-500 mt-1.5 mr-2"></div>
259
+ <div>
260
+ <p class="text-sm">New device authenticated</p>
261
+ <p class="text-xs text-gray-400">32 minutes ago</p>
262
+ </div>
263
+ </li>
264
+ </ul>
265
+ </div>
266
+ <div class="bg-gray-800 bg-opacity-50 p-4 rounded-lg">
267
+ <h3 class="text-purple-300 mb-3 flex items-center">
268
+ <i class="fas fa-network-wired mr-2"></i> Network Traffic
269
+ </h3>
270
+ <div class="h-40 flex items-end space-x-1" id="traffic-graph">
271
+ <div class="w-4 bg-purple-500 rounded-t-sm" style="height: 30%"></div>
272
+ <div class="w-4 bg-purple-600 rounded-t-sm" style="height: 45%"></div>
273
+ <div class="w-4 bg-purple-700 rounded-t-sm" style="height: 60%"></div>
274
+ <div class="w-4 bg-purple-800 rounded-t-sm" style="height: 75%"></div>
275
+ <div class="w-4 bg-purple-900 rounded-t-sm" style="height: 85%"></div>
276
+ <div class="w-4 bg-purple-700 rounded-t-sm" style="height: 65%"></div>
277
+ <div class="w-4 bg-purple-600 rounded-t-sm" style="height: 50%"></div>
278
+ <div class="w-4 bg-purple-500 rounded-t-sm" style="height: 35%"></div>
279
+ </div>
280
+ <p class="text-xs text-gray-400 mt-2 text-center">Last 8 minutes</p>
281
+ </div>
282
+ <div class="bg-gray-800 bg-opacity-50 p-4 rounded-lg">
283
+ <h3 class="text-purple-300 mb-3 flex items-center">
284
+ <i class="fas fa-bell mr-2"></i> Alerts
285
+ </h3>
286
+ <div class="bg-gray-900 p-3 rounded-md mb-3">
287
+ <div class="flex justify-between items-start">
288
+ <div class="flex items-center">
289
+ <div class="w-2 h-2 rounded-full bg-yellow-500 mr-2"></div>
290
+ <span class="text-sm">Warning</span>
291
+ </div>
292
+ <span class="text-xs text-gray-400">5 min ago</span>
293
+ </div>
294
+ <p class="text-xs mt-1">High CPU usage on node #7</p>
295
+ </div>
296
+ <div class="bg-gray-900 p-3 rounded-md">
297
+ <div class="flex justify-between items-start">
298
+ <div class="flex items-center">
299
+ <div class="w-2 h-2 rounded-full bg-green-500 mr-2"></div>
300
+ <span class="text-sm">Info</span>
301
+ </div>
302
+ <span class="text-xs text-gray-400">12 min ago</span>
303
+ </div>
304
+ <p class="text-xs mt-1">New firmware update available</p>
305
+ </div>
306
+ </div>
307
+ </div>
308
+ </div>
309
+ </div>
310
+
311
+ <!-- Quick Actions -->
312
+ <div class="flex flex-wrap justify-center gap-4 mb-10">
313
+ <button class="px-6 py-3 bg-purple-800 hover:bg-purple-700 rounded-lg transition-all duration-300 flex items-center">
314
+ <i class="fas fa-search mr-2"></i> Quick Scan
315
+ </button>
316
+ <button class="px-6 py-3 bg-gray-800 hover:bg-gray-700 rounded-lg transition-all duration-300 flex items-center">
317
+ <i class="fas fa-lock mr-2"></i> Lock System
318
+ </button>
319
+ <button class="px-6 py-3 bg-gray-800 hover:bg-gray-700 rounded-lg transition-all duration-300 flex items-center">
320
+ <i class="fas fa-chart-line mr-2"></i> Analytics
321
+ </button>
322
+ <button class="px-6 py-3 bg-gray-800 hover:bg-gray-700 rounded-lg transition-all duration-300 flex items-center">
323
+ <i class="fas fa-users mr-2"></i> User Management
324
+ </button>
325
+ </div>
326
+ </div>
327
+
328
+ <!-- Footer -->
329
+ <footer class="bg-gray-900 bg-opacity-50 py-4 border-t border-gray-800">
330
+ <div class="container mx-auto px-4">
331
+ <div class="flex flex-col md:flex-row justify-between items-center">
332
+ <div class="flex items-center mb-4 md:mb-0">
333
+ <div class="w-8 h-8 rounded-full bg-purple-600 flex items-center justify-center mr-3">
334
+ <i class="fas fa-eye text-white text-sm"></i>
335
+ </div>
336
+ <span class="text-sm text-gray-400">ShadowWatch v2.4.8</span>
337
+ </div>
338
+ <div class="flex space-x-6">
339
+ <a href="#" class="text-gray-400 hover:text-purple-300 transition-colors">
340
+ <i class="fab fa-github"></i>
341
+ </a>
342
+ <a href="#" class="text-gray-400 hover:text-purple-300 transition-colors">
343
+ <i class="fab fa-discord"></i>
344
+ </a>
345
+ <a href="#" class="text-gray-400 hover:text-purple-300 transition-colors">
346
+ <i class="fab fa-twitter"></i>
347
+ </a>
348
+ <a href="#" class="text-gray-400 hover:text-purple-300 transition-colors">
349
+ <i class="fas fa-envelope"></i>
350
+ </a>
351
+ </div>
352
+ </div>
353
+ </div>
354
+ </footer>
355
+
356
+ <script>
357
+ // Terminal typing effect
358
+ document.addEventListener('DOMContentLoaded', function() {
359
+ const commands = [
360
+ "analyze --target=network --depth=3",
361
+ "decrypt --file=secure_data.vault --key=shadowkey",
362
+ "monitor --nodes=all --alert-level=medium",
363
+ "deploy --module=stealth --activation=immediate",
364
+ "query --database=threats --last=24h"
365
+ ];
366
+
367
+ const terminalInput = document.getElementById('terminal-input');
368
+ const terminalOutput = document.getElementById('terminal-output');
369
+ let currentCommand = 0;
370
+
371
+ function typeCommand() {
372
+ let i = 0;
373
+ const command = commands[currentCommand];
374
+ terminalInput.textContent = '';
375
+
376
+ const typingInterval = setInterval(() => {
377
+ if (i < command.length) {
378
+ terminalInput.textContent += command.charAt(i);
379
+ i++;
380
+ } else {
381
+ clearInterval(typingInterval);
382
+ setTimeout(() => {
383
+ executeCommand(command);
384
+ }, 500);
385
+ }
386
+ }, 50);
387
+ }
388
+
389
+ function executeCommand(command) {
390
+ // Create command display
391
+ const commandDisplay = document.createElement('div');
392
+ commandDisplay.className = 'mb-4';
393
+ commandDisplay.innerHTML = `
394
+ <p class="text-green-400">user@shadowwatch:~$ <span class="text-white">${command}</span></p>
395
+ `;
396
+ terminalOutput.appendChild(commandDisplay);
397
+
398
+ // Create response based on command
399
+ const response = document.createElement('div');
400
+ response.className = 'mb-4';
401
+
402
+ let responseText = '';
403
+ if (command.includes('analyze')) {
404
+ responseText = `
405
+ <p class="text-gray-400 mt-2">> Analyzing network topology...</p>
406
+ <p class="text-gray-400">> Scanning for vulnerabilities...</p>
407
+ <p class="text-green-400">> Analysis complete. Found 3 potential weak points.</p>
408
+ `;
409
+ } else if (command.includes('decrypt')) {
410
+ responseText = `
411
+ <p class="text-gray-400 mt-2">> Accessing secure vault...</p>
412
+ <p class="text-gray-400">> Applying shadow decryption protocol...</p>
413
+ <p class="text-green-400">> Decryption successful. Data available in /secure/decrypted</p>
414
+ `;
415
+ } else if (command.includes('monitor')) {
416
+ responseText = `
417
+ <p class="text-gray-400 mt-2">> Establishing surveillance links...</p>
418
+ <p class="text-gray-400">> Monitoring all 24 nodes...</p>
419
+ <p class="text-green-400">> Surveillance active. Alert threshold set to MEDIUM.</p>
420
+ `;
421
+ } else if (command.includes('deploy')) {
422
+ responseText = `
423
+ <p class="text-gray-400 mt-2">> Compiling stealth module...</p>
424
+ <p class="text-gray-400">> Deploying to all nodes...</p>
425
+ <p class="text-green-400">> Deployment complete. Stealth protocols engaged.</p>
426
+ `;
427
+ } else if (command.includes('query')) {
428
+ responseText = `
429
+ <p class="text-gray-400 mt-2">> Connecting to threat database...</p>
430
+ <p class="text-gray-400">> Querying last 24 hours...</p>
431
+ <p class="text-green-400">> Found 12 logged events (3 critical, 5 warnings, 4 info).</p>
432
+ `;
433
+ }
434
+
435
+ response.innerHTML = responseText;
436
+ terminalOutput.appendChild(response);
437
+
438
+ // Scroll to bottom
439
+ terminalOutput.scrollTop = terminalOutput.scrollHeight;
440
+
441
+ // Prepare for next command
442
+ setTimeout(() => {
443
+ deleteCommand();
444
+ }, 3000);
445
+ }
446
+
447
+ function deleteCommand() {
448
+ let text = terminalInput.textContent;
449
+
450
+ const deletingInterval = setInterval(() => {
451
+ if (text.length > 0) {
452
+ text = text.substring(0, text.length - 1);
453
+ terminalInput.textContent = text;
454
+ } else {
455
+ clearInterval(deletingInterval);
456
+ currentCommand = (currentCommand + 1) % commands.length;
457
+ setTimeout(typeCommand, 1000);
458
+ }
459
+ }, 30);
460
+ }
461
+
462
+ setTimeout(typeCommand, 3000);
463
+
464
+ // Simulate live feed updates
465
+ const securityEvents = document.getElementById('security-events');
466
+ const trafficGraph = document.getElementById('traffic-graph');
467
+
468
+ // Security events
469
+ setInterval(() => {
470
+ const events = [
471
+ {status: 'green', message: 'New secure connection established', time: 'just now'},
472
+ {status: 'yellow', message: 'Suspicious packet detected', time: '1 min ago'},
473
+ {status: 'green', message: 'Backup completed successfully', time: '3 mins ago'},
474
+ {status: 'red', message: 'Intrusion attempt blocked', time: '5 mins ago'}
475
+ ];
476
+
477
+ const randomEvent = events[Math.floor(Math.random() * events.length)];
478
+
479
+ const eventItem = document.createElement('li');
480
+ eventItem.className = 'flex items-start';
481
+ eventItem.innerHTML = `
482
+ <div class="w-2 h-2 rounded-full bg-${randomEvent.status}-500 mt-1.5 mr-2"></div>
483
+ <div>
484
+ <p class="text-sm">${randomEvent.message}</p>
485
+ <p class="text-xs text-gray-400">${randomEvent.time}</p>
486
+ </div>
487
+ `;
488
+
489
+ securityEvents.insertBefore(eventItem, securityEvents.firstChild);
490
+ if (securityEvents.children.length > 5) {
491
+ securityEvents.removeChild(securityEvents.lastChild);
492
+ }
493
+ }, 10000);
494
+
495
+ // Traffic graph animation
496
+ setInterval(() => {
497
+ trafficGraph.innerHTML = '';
498
+ for (let i = 0; i < 8; i++) {
499
+ const height = Math.floor(Math.random() * 60) + 20;
500
+ const colorIntensity = Math.floor(Math.random() * 5) + 5;
501
+ const bar = document.createElement('div');
502
+ bar.className = `w-4 bg-purple-${colorIntensity}00 rounded-t-sm`;
503
+ bar.style.height = `${height}%`;
504
+ trafficGraph.appendChild(bar);
505
+ }
506
+ }, 5000);
507
+
508
+ // Simulate system status changes
509
+ setInterval(() => {
510
+ const cpuLoad = document.querySelector('.terminal-body div:nth-child(3) .text-purple-300');
511
+ const memoryUsage = document.querySelector('.terminal-body div:nth-child(2) .text-purple-300');
512
+ const activeNodes = document.querySelector('.terminal-body div:nth-child(4) div:nth-child(1) .text-purple-300');
513
+
514
+ // Randomize CPU load between 30-70%
515
+ const newCpu = Math.floor(Math.random() * 40) + 30;
516
+ cpuLoad.textContent = `${newCpu}%`;
517
+ document.querySelector('.terminal-body div:nth-child(3) .bg-purple-500').style.width = `${newCpu}%`;
518
+
519
+ // Randomize memory usage between 50-80%
520
+ const newMemory = Math.floor(Math.random() * 30) + 50;
521
+ memoryUsage.textContent = `${newMemory}%`;
522
+ document.querySelector('.terminal-body div:nth-child(2) .bg-yellow-500').style.width = `${newMemory}%`;
523
+
524
+ // Randomize active nodes between 20-28
525
+ const newNodes = Math.floor(Math.random() * 8) + 20;
526
+ activeNodes.textContent = newNodes;
527
+ }, 8000);
528
+ });
529
+ </script>
530
+ <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=joung/joung-hyun" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
531
+ </html>