JoshuaSmart commited on
Commit
92a6049
·
verified ·
1 Parent(s): c4e7310

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +536 -19
  3. prompts.txt +0 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Lag
3
- emoji: 📊
4
- colorFrom: yellow
5
- colorTo: red
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: lag
3
+ emoji: 🐳
4
+ colorFrom: pink
5
+ colorTo: green
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,536 @@
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>NetStrike - Battlefield Ping Optimizer</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
+ .gradient-bg {
11
+ background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
12
+ }
13
+ .network-node {
14
+ animation: pulse 2s infinite;
15
+ }
16
+ @keyframes pulse {
17
+ 0% { opacity: 0.7; }
18
+ 50% { opacity: 1; }
19
+ 100% { opacity: 0.7; }
20
+ }
21
+ .ping-graph {
22
+ height: 200px;
23
+ background: rgba(255,255,255,0.05);
24
+ border-radius: 8px;
25
+ position: relative;
26
+ overflow: hidden;
27
+ }
28
+ .ping-line {
29
+ position: absolute;
30
+ bottom: 0;
31
+ left: 0;
32
+ width: 100%;
33
+ height: 2px;
34
+ background: linear-gradient(90deg, rgba(16, 185, 129, 0) 0%, #10b981 50%, rgba(16, 185, 129, 0) 100%);
35
+ }
36
+ .server-card:hover {
37
+ transform: translateY(-5px);
38
+ box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.3);
39
+ }
40
+ .tooltip {
41
+ position: relative;
42
+ }
43
+ .tooltip-text {
44
+ visibility: hidden;
45
+ width: 200px;
46
+ background-color: #0f172a;
47
+ color: #fff;
48
+ text-align: center;
49
+ border-radius: 6px;
50
+ padding: 8px;
51
+ position: absolute;
52
+ z-index: 1;
53
+ bottom: 125%;
54
+ left: 50%;
55
+ transform: translateX(-50%);
56
+ opacity: 0;
57
+ transition: opacity 0.3s;
58
+ }
59
+ .tooltip:hover .tooltip-text {
60
+ visibility: visible;
61
+ opacity: 1;
62
+ }
63
+ </style>
64
+ </head>
65
+ <body class="gradient-bg text-gray-100 min-h-screen">
66
+ <div class="container mx-auto px-4 py-8">
67
+ <!-- Header -->
68
+ <header class="flex justify-between items-center mb-12">
69
+ <div class="flex items-center">
70
+ <i class="fas fa-bolt text-yellow-400 text-3xl mr-3"></i>
71
+ <h1 class="text-3xl font-bold">NetStrike <span class="text-yellow-400">Pro</span></h1>
72
+ </div>
73
+ <div class="flex items-center space-x-4">
74
+ <div class="bg-blue-900/50 px-4 py-2 rounded-full flex items-center">
75
+ <div class="w-3 h-3 rounded-full bg-green-400 mr-2"></div>
76
+ <span class="text-sm">AI Active</span>
77
+ </div>
78
+ <button class="bg-yellow-400 hover:bg-yellow-500 text-gray-900 px-4 py-2 rounded-full font-medium transition">
79
+ <i class="fas fa-crown mr-2"></i> Upgrade
80
+ </button>
81
+ </div>
82
+ </header>
83
+
84
+ <!-- Main Dashboard -->
85
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
86
+ <!-- Left Panel -->
87
+ <div class="lg:col-span-2 space-y-8">
88
+ <!-- Real-time Ping Monitor -->
89
+ <div class="bg-gray-800/50 rounded-xl p-6 shadow-lg">
90
+ <div class="flex justify-between items-center mb-6">
91
+ <h2 class="text-xl font-semibold flex items-center">
92
+ <i class="fas fa-chart-line text-yellow-400 mr-3"></i>
93
+ Real-time Network Analysis
94
+ </h2>
95
+ <div class="flex space-x-2">
96
+ <button class="bg-gray-700 hover:bg-gray-600 px-3 py-1 rounded text-sm">Battlefield 2042</button>
97
+ <button class="bg-gray-700 hover:bg-gray-600 px-3 py-1 rounded text-sm">EA Servers</button>
98
+ </div>
99
+ </div>
100
+
101
+ <div class="ping-graph mb-4">
102
+ <div class="ping-line" id="pingLine"></div>
103
+ </div>
104
+
105
+ <div class="grid grid-cols-4 gap-4 text-center">
106
+ <div>
107
+ <div class="text-2xl font-bold text-green-400" id="currentPing">24ms</div>
108
+ <div class="text-xs text-gray-400">Current Ping</div>
109
+ </div>
110
+ <div>
111
+ <div class="text-2xl font-bold" id="packetLoss">0%</div>
112
+ <div class="text-xs text-gray-400">Packet Loss</div>
113
+ </div>
114
+ <div>
115
+ <div class="text-2xl font-bold" id="jitter">2ms</div>
116
+ <div class="text-xs text-gray-400">Jitter</div>
117
+ </div>
118
+ <div>
119
+ <div class="text-2xl font-bold" id="serverHealth">98%</div>
120
+ <div class="text-xs text-gray-400">Server Health</div>
121
+ </div>
122
+ </div>
123
+ </div>
124
+
125
+ <!-- AI Optimization Panel -->
126
+ <div class="bg-gray-800/50 rounded-xl p-6 shadow-lg">
127
+ <div class="flex justify-between items-center mb-6">
128
+ <h2 class="text-xl font-semibold flex items-center">
129
+ <i class="fas fa-brain text-purple-400 mr-3"></i>
130
+ Neural Network Optimization
131
+ </h2>
132
+ <div class="flex items-center">
133
+ <div class="w-2 h-2 rounded-full bg-green-400 mr-2"></div>
134
+ <span class="text-sm">Learning Mode: Active</span>
135
+ </div>
136
+ </div>
137
+
138
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-6">
139
+ <div class="bg-gray-700/50 p-4 rounded-lg">
140
+ <div class="flex justify-between mb-2">
141
+ <span class="text-sm text-gray-400">Route Analysis</span>
142
+ <span class="text-xs bg-green-900/50 text-green-400 px-2 py-1 rounded">Optimized</span>
143
+ </div>
144
+ <div class="h-2 bg-gray-600 rounded-full mb-1">
145
+ <div class="h-2 bg-green-400 rounded-full" style="width: 92%"></div>
146
+ </div>
147
+ <div class="text-xs text-gray-400 flex justify-between">
148
+ <span>12% faster</span>
149
+ <span>3 hops reduced</span>
150
+ </div>
151
+ </div>
152
+ <div class="bg-gray-700/50 p-4 rounded-lg">
153
+ <div class="flex justify-between mb-2">
154
+ <span class="text-sm text-gray-400">Traffic Shaping</span>
155
+ <span class="text-xs bg-blue-900/50 text-blue-400 px-2 py-1 rounded">Balanced</span>
156
+ </div>
157
+ <div class="h-2 bg-gray-600 rounded-full mb-1">
158
+ <div class="h-2 bg-blue-400 rounded-full" style="width: 85%"></div>
159
+ </div>
160
+ <div class="text-xs text-gray-400 flex justify-between">
161
+ <span>QoS Priority</span>
162
+ <span>Game: 78% BW</span>
163
+ </div>
164
+ </div>
165
+ <div class="bg-gray-700/50 p-4 rounded-lg">
166
+ <div class="flex justify-between mb-2">
167
+ <span class="text-sm text-gray-400">AI Predictions</span>
168
+ <span class="text-xs bg-purple-900/50 text-purple-400 px-2 py-1 rounded">87% Acc</span>
169
+ </div>
170
+ <div class="h-2 bg-gray-600 rounded-full mb-1">
171
+ <div class="h-2 bg-purple-400 rounded-full" style="width: 87%"></div>
172
+ </div>
173
+ <div class="text-xs text-gray-400 flex justify-between">
174
+ <span>Next 30s</span>
175
+ <span>Stable</span>
176
+ </div>
177
+ </div>
178
+ </div>
179
+
180
+ <div class="bg-gray-900/50 rounded-lg p-4">
181
+ <div class="flex items-start">
182
+ <div class="bg-purple-500/20 p-2 rounded-full mr-3">
183
+ <i class="fas fa-robot text-purple-400"></i>
184
+ </div>
185
+ <div class="flex-1">
186
+ <div class="flex justify-between items-start">
187
+ <h4 class="font-medium mb-1">AI Recommendation</h4>
188
+ <span class="text-xs bg-gray-700 px-2 py-1 rounded">Just Now</span>
189
+ </div>
190
+ <p class="text-sm text-gray-300">Based on current network patterns, I recommend enabling <span class="text-yellow-400">Turbo Mode</span> for this match. Detected optimal server: <span class="text-green-400">Frankfurt #4</span> (22ms). Traffic shaping adjusted for 64-player conquest.</p>
191
+ <div class="flex space-x-2 mt-3">
192
+ <button class="bg-purple-600 hover:bg-purple-700 px-3 py-1 rounded text-sm">Apply</button>
193
+ <button class="bg-gray-700 hover:bg-gray-600 px-3 py-1 rounded text-sm">See Details</button>
194
+ </div>
195
+ </div>
196
+ </div>
197
+ </div>
198
+ </div>
199
+
200
+ <!-- Server Selection -->
201
+ <div class="bg-gray-800/50 rounded-xl p-6 shadow-lg">
202
+ <div class="flex justify-between items-center mb-6">
203
+ <h2 class="text-xl font-semibold flex items-center">
204
+ <i class="fas fa-server text-blue-400 mr-3"></i>
205
+ Intelligent Server Selection
206
+ </h2>
207
+ <div class="flex items-center text-sm">
208
+ <i class="fas fa-sync-alt mr-2 text-gray-400"></i>
209
+ Updated: Just now
210
+ </div>
211
+ </div>
212
+
213
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
214
+ <div class="server-card bg-gray-700/50 hover:bg-gray-700/70 rounded-lg p-4 transition cursor-pointer border border-green-900/50">
215
+ <div class="flex justify-between items-start mb-2">
216
+ <div>
217
+ <h3 class="font-medium">Frankfurt #4</h3>
218
+ <div class="text-xs text-gray-400">EA Official | 64p Conquest</div>
219
+ </div>
220
+ <div class="flex items-center">
221
+ <span class="text-green-400 font-bold mr-2">22ms</span>
222
+ <div class="w-2 h-2 rounded-full bg-green-400"></div>
223
+ </div>
224
+ </div>
225
+ <div class="flex justify-between text-xs mb-3">
226
+ <span class="text-gray-400">Load: <span class="text-green-400">Medium</span></span>
227
+ <span class="text-gray-400">Stability: <span class="text-green-400">98%</span></span>
228
+ </div>
229
+ <div class="h-1 bg-gray-600 rounded-full mb-1">
230
+ <div class="h-1 bg-green-400 rounded-full" style="width: 98%"></div>
231
+ </div>
232
+ <div class="flex justify-between text-xs text-gray-400">
233
+ <span>AI Score: 9.7/10</span>
234
+ <span>Optimal for your location</span>
235
+ </div>
236
+ </div>
237
+
238
+ <div class="server-card bg-gray-700/50 hover:bg-gray-700/70 rounded-lg p-4 transition cursor-pointer">
239
+ <div class="flex justify-between items-start mb-2">
240
+ <div>
241
+ <h3 class="font-medium">London #2</h3>
242
+ <div class="text-xs text-gray-400">EA Official | 128p Breakthrough</div>
243
+ </div>
244
+ <div class="flex items-center">
245
+ <span class="font-bold mr-2">28ms</span>
246
+ <div class="w-2 h-2 rounded-full bg-yellow-400"></div>
247
+ </div>
248
+ </div>
249
+ <div class="flex justify-between text-xs mb-3">
250
+ <span class="text-gray-400">Load: <span class="text-yellow-400">High</span></span>
251
+ <span class="text-gray-400">Stability: <span class="text-green-400">94%</span></span>
252
+ </div>
253
+ <div class="h-1 bg-gray-600 rounded-full mb-1">
254
+ <div class="h-1 bg-yellow-400 rounded-full" style="width: 94%"></div>
255
+ </div>
256
+ <div class="flex justify-between text-xs text-gray-400">
257
+ <span>AI Score: 8.2/10</span>
258
+ <span>Good alternative</span>
259
+ </div>
260
+ </div>
261
+
262
+ <div class="server-card bg-gray-700/50 hover:bg-gray-700/70 rounded-lg p-4 transition cursor-pointer">
263
+ <div class="flex justify-between items-start mb-2">
264
+ <div>
265
+ <h3 class="font-medium">Amsterdam #1</h3>
266
+ <div class="text-xs text-gray-400">Community | 32p Rush</div>
267
+ </div>
268
+ <div class="flex items-center">
269
+ <span class="font-bold mr-2">31ms</span>
270
+ <div class="w-2 h-2 rounded-full bg-yellow-400"></div>
271
+ </div>
272
+ </div>
273
+ <div class="flex justify-between text-xs mb-3">
274
+ <span class="text-gray-400">Load: <span class="text-green-400">Low</span></span>
275
+ <span class="text-gray-400">Stability: <span class="text-yellow-400">89%</span></span>
276
+ </div>
277
+ <div class="h-1 bg-gray-600 rounded-full mb-1">
278
+ <div class="h-1 bg-yellow-400 rounded-full" style="width: 89%"></div>
279
+ </div>
280
+ <div class="flex justify-between text-xs text-gray-400">
281
+ <span>AI Score: 7.5/10</span>
282
+ <span>Custom rules enabled</span>
283
+ </div>
284
+ </div>
285
+
286
+ <div class="server-card bg-gray-700/50 hover:bg-gray-700/70 rounded-lg p-4 transition cursor-pointer">
287
+ <div class="flex justify-between items-start mb-2">
288
+ <div>
289
+ <h3 class="font-medium">Paris #3</h3>
290
+ <div class="text-xs text-gray-400">EA Official | 64p TDM</div>
291
+ </div>
292
+ <div class="flex items-center">
293
+ <span class="font-bold mr-2">35ms</span>
294
+ <div class="w-2 h-2 rounded-full bg-yellow-400"></div>
295
+ </div>
296
+ </div>
297
+ <div class="flex justify-between text-xs mb-3">
298
+ <span class="text-gray-400">Load: <span class="text-yellow-400">High</span></span>
299
+ <span class="text-gray-400">Stability: <span class="text-yellow-400">86%</span></span>
300
+ </div>
301
+ <div class="h-1 bg-gray-600 rounded-full mb-1">
302
+ <div class="h-1 bg-yellow-400 rounded-full" style="width: 86%"></div>
303
+ </div>
304
+ <div class="flex justify-between text-xs text-gray-400">
305
+ <span>AI Score: 6.9/10</span>
306
+ <span>Higher ping but good routing</span>
307
+ </div>
308
+ </div>
309
+ </div>
310
+ </div>
311
+ </div>
312
+
313
+ <!-- Right Panel -->
314
+ <div class="space-y-8">
315
+ <!-- Connection Map -->
316
+ <div class="bg-gray-800/50 rounded-xl p-6 shadow-lg">
317
+ <h2 class="text-xl font-semibold flex items-center mb-6">
318
+ <i class="fas fa-map-marked-alt text-red-400 mr-3"></i>
319
+ Network Path Visualization
320
+ </h2>
321
+
322
+ <div class="relative h-64 bg-gray-900/50 rounded-lg mb-4">
323
+ <!-- Simplified network path visualization -->
324
+ <div class="absolute top-1/4 left-1/4 network-node w-4 h-4 rounded-full bg-green-400"></div>
325
+ <div class="absolute top-1/2 left-1/2 network-node w-4 h-4 rounded-full bg-blue-400"></div>
326
+ <div class="absolute top-3/4 left-3/4 network-node w-4 h-4 rounded-full bg-yellow-400"></div>
327
+
328
+ <div class="absolute top-1/4 left-1/4 w-1/2 h-1 border-t-2 border-dashed border-green-400"></div>
329
+ <div class="absolute top-1/2 left-1/2 w-1/4 h-1 border-t-2 border-dashed border-blue-400"></div>
330
+
331
+ <div class="absolute top-1/4 left-1/4 transform -translate-x-1/2 -translate-y-1/2 text-xs bg-gray-800 px-2 py-1 rounded">
332
+ Your Location
333
+ </div>
334
+ <div class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-xs bg-gray-800 px-2 py-1 rounded">
335
+ Frankfurt Node
336
+ </div>
337
+ <div class="absolute top-3/4 left-3/4 transform -translate-x-1/2 -translate-y-1/2 text-xs bg-gray-800 px-2 py-1 rounded">
338
+ Game Server
339
+ </div>
340
+ </div>
341
+
342
+ <div class="space-y-3">
343
+ <div class="flex justify-between text-sm">
344
+ <span class="text-gray-400">Route Efficiency:</span>
345
+ <span class="font-medium">92% <span class="text-green-400">(Optimal)</span></span>
346
+ </div>
347
+ <div class="flex justify-between text-sm">
348
+ <span class="text-gray-400">Bypassed Nodes:</span>
349
+ <span class="font-medium">3 <span class="text-blue-400">(Saved 8ms)</span></span>
350
+ </div>
351
+ <div class="flex justify-between text-sm">
352
+ <span class="text-gray-400">Peak Traffic Avoided:</span>
353
+ <span class="font-medium">2 routes</span>
354
+ </div>
355
+ </div>
356
+ </div>
357
+
358
+ <!-- Quick Actions -->
359
+ <div class="bg-gray-800/50 rounded-xl p-6 shadow-lg">
360
+ <h2 class="text-xl font-semibold flex items-center mb-6">
361
+ <i class="fas fa-tachometer-alt text-yellow-400 mr-3"></i>
362
+ Performance Toolkit
363
+ </h2>
364
+
365
+ <div class="grid grid-cols-2 gap-3 mb-6">
366
+ <button class="bg-gray-700 hover:bg-gray-600 p-3 rounded-lg flex flex-col items-center transition">
367
+ <i class="fas fa-bolt text-yellow-400 text-xl mb-2"></i>
368
+ <span class="text-sm">Turbo Mode</span>
369
+ </button>
370
+ <button class="bg-gray-700 hover:bg-gray-600 p-3 rounded-lg flex flex-col items-center transition">
371
+ <i class="fas fa-shield-alt text-blue-400 text-xl mb-2"></i>
372
+ <span class="text-sm">Anti-DDoS</span>
373
+ </button>
374
+ <button class="bg-gray-700 hover:bg-gray-600 p-3 rounded-lg flex flex-col items-center transition">
375
+ <i class="fas fa-route text-green-400 text-xl mb-2"></i>
376
+ <span class="text-sm">Smart Routing</span>
377
+ </button>
378
+ <button class="bg-gray-700 hover:bg-gray-600 p-3 rounded-lg flex flex-col items-center transition">
379
+ <i class="fas fa-wifi text-purple-400 text-xl mb-2"></i>
380
+ <span class="text-sm">QoS Control</span>
381
+ </button>
382
+ </div>
383
+
384
+ <div class="bg-gray-900/50 rounded-lg p-4">
385
+ <h4 class="font-medium mb-2 flex items-center">
386
+ <i class="fas fa-magic text-purple-400 mr-2"></i>
387
+ One-Click Optimize
388
+ </h4>
389
+ <p class="text-xs text-gray-300 mb-3">Let NetStrike AI analyze and apply all optimal settings for your current match.</p>
390
+ <button class="w-full bg-purple-600 hover:bg-purple-700 py-2 rounded-lg font-medium transition flex items-center justify-center">
391
+ <i class="fas fa-rocket mr-2"></i> Optimize Now
392
+ </button>
393
+ </div>
394
+ </div>
395
+
396
+ <!-- Advanced Settings -->
397
+ <div class="bg-gray-800/50 rounded-xl p-6 shadow-lg">
398
+ <h2 class="text-xl font-semibold flex items-center mb-6">
399
+ <i class="fas fa-sliders-h text-blue-400 mr-3"></i>
400
+ Advanced Configuration
401
+ </h2>
402
+
403
+ <div class="space-y-4">
404
+ <div>
405
+ <div class="flex justify-between items-center mb-1">
406
+ <label class="text-sm">Traffic Priority</label>
407
+ <span class="text-xs bg-gray-700 px-2 py-1 rounded">Game: 78%</span>
408
+ </div>
409
+ <input type="range" min="0" max="100" value="78" class="w-full h-2 bg-gray-600 rounded-lg appearance-none cursor-pointer">
410
+ </div>
411
+
412
+ <div>
413
+ <div class="flex justify-between items-center mb-1">
414
+ <label class="text-sm">Packet Preemption</label>
415
+ <span class="text-xs bg-gray-700 px-2 py-1 rounded">Aggressive</span>
416
+ </div>
417
+ <input type="range" min="0" max="100" value="85" class="w-full h-2 bg-gray-600 rounded-lg appearance-none cursor-pointer">
418
+ </div>
419
+
420
+ <div>
421
+ <div class="flex justify-between items-center mb-1">
422
+ <label class="text-sm">AI Learning Rate</label>
423
+ <span class="text-xs bg-gray-700 px-2 py-1 rounded">Adaptive</span>
424
+ </div>
425
+ <input type="range" min="0" max="100" value="65" class="w-full h-2 bg-gray-600 rounded-lg appearance-none cursor-pointer">
426
+ </div>
427
+
428
+ <div class="flex items-center justify-between pt-2">
429
+ <div class="flex items-center">
430
+ <input type="checkbox" id="deepPacket" class="form-checkbox h-4 w-4 text-yellow-400" checked>
431
+ <label for="deepPacket" class="ml-2 text-sm">Deep Packet Inspection</label>
432
+ </div>
433
+ <div class="tooltip">
434
+ <i class="fas fa-info-circle text-gray-400"></i>
435
+ <span class="tooltip-text">Analyzes game packets for optimal routing and prioritization</span>
436
+ </div>
437
+ </div>
438
+
439
+ <div class="flex items-center justify-between">
440
+ <div class="flex items-center">
441
+ <input type="checkbox" id="predictiveMode" class="form-checkbox h-4 w-4 text-purple-400" checked>
442
+ <label for="predictiveMode" class="ml-2 text-sm">Predictive Mode</label>
443
+ </div>
444
+ <div class="tooltip">
445
+ <i class="fas fa-info-circle text-gray-400"></i>
446
+ <span class="tooltip-text">AI predicts network conditions and pre-optimizes routes</span>
447
+ </div>
448
+ </div>
449
+ </div>
450
+ </div>
451
+ </div>
452
+ </div>
453
+ </div>
454
+
455
+ <script>
456
+ // Simulate real-time ping fluctuations
457
+ function simulatePing() {
458
+ const pingValues = [22, 23, 24, 25, 24, 23, 22, 21, 22, 23, 24, 25, 26, 25, 24, 23, 22];
459
+ let currentIndex = 0;
460
+
461
+ setInterval(() => {
462
+ // Update current ping display
463
+ document.getElementById('currentPing').textContent = pingValues[currentIndex] + 'ms';
464
+
465
+ // Update packet loss randomly
466
+ const packetLoss = Math.random() > 0.9 ? Math.floor(Math.random() * 5) : 0;
467
+ document.getElementById('packetLoss').textContent = packetLoss + '%';
468
+ document.getElementById('packetLoss').className = packetLoss > 0 ?
469
+ 'text-2xl font-bold text-yellow-400' : 'text-2xl font-bold text-green-400';
470
+
471
+ // Update jitter
472
+ const jitter = Math.floor(Math.random() * 4);
473
+ document.getElementById('jitter').textContent = jitter + 'ms';
474
+ document.getElementById('jitter').className = jitter > 2 ?
475
+ 'text-2xl font-bold text-yellow-400' : 'text-2xl font-bold text-green-400';
476
+
477
+ // Update server health
478
+ const health = 95 + Math.floor(Math.random() * 4);
479
+ document.getElementById('serverHealth').textContent = health + '%';
480
+
481
+ // Create ping line animation
482
+ const pingLine = document.getElementById('pingLine');
483
+ pingLine.style.transform = `scaleX(${1 - (pingValues[currentIndex] / 100)})`;
484
+
485
+ currentIndex = (currentIndex + 1) % pingValues.length;
486
+ }, 1000);
487
+ }
488
+
489
+ // Initialize tooltips
490
+ function initTooltips() {
491
+ const tooltips = document.querySelectorAll('.tooltip');
492
+ tooltips.forEach(tooltip => {
493
+ tooltip.addEventListener('mouseenter', function() {
494
+ this.querySelector('.tooltip-text').style.visibility = 'visible';
495
+ this.querySelector('.tooltip-text').style.opacity = '1';
496
+ });
497
+ tooltip.addEventListener('mouseleave', function() {
498
+ this.querySelector('.tooltip-text').style.visibility = 'hidden';
499
+ this.querySelector('.tooltip-text').style.opacity = '0';
500
+ });
501
+ });
502
+ }
503
+
504
+ // Server card interactions
505
+ function initServerCards() {
506
+ const cards = document.querySelectorAll('.server-card');
507
+ cards.forEach(card => {
508
+ card.addEventListener('click', function() {
509
+ // Remove border from all cards
510
+ cards.forEach(c => c.classList.remove('border', 'border-green-900/50'));
511
+ // Add border to selected card
512
+ this.classList.add('border', 'border-green-900/50');
513
+
514
+ // Update ping display to this server's ping
515
+ const pingDisplay = this.querySelector('span.font-bold').textContent;
516
+ document.getElementById('currentPing').textContent = pingDisplay;
517
+ });
518
+ });
519
+ }
520
+
521
+ // Initialize everything when DOM is loaded
522
+ document.addEventListener('DOMContentLoaded', function() {
523
+ simulatePing();
524
+ initTooltips();
525
+ initServerCards();
526
+
527
+ // One-click optimize button
528
+ document.querySelector('.bg-purple-600').addEventListener('click', function() {
529
+ alert('NetStrike AI has optimized your connection! Ping reduced by 15%, packet routing improved.');
530
+ document.getElementById('currentPing').textContent = '19ms';
531
+ document.getElementById('currentPing').className = 'text-2xl font-bold text-green-400';
532
+ });
533
+ });
534
+ </script>
535
+ <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=JoshuaSmart/lag" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
536
+ </html>
prompts.txt ADDED
File without changes