Spaces:
Running
Running
Add 2 files
Browse files- README.md +6 -4
- index.html +537 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
colorTo: blue
|
| 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: nz03
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: blue
|
| 5 |
colorTo: blue
|
| 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,537 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>Cyber Terminal</title>
|
| 7 |
+
<style>
|
| 8 |
+
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&family=Share+Tech+Mono&display=swap');
|
| 9 |
+
|
| 10 |
+
:root {
|
| 11 |
+
--terminal-bg: #0a0a12;
|
| 12 |
+
--terminal-green: #0f0;
|
| 13 |
+
--terminal-cyan: #0ff;
|
| 14 |
+
--terminal-purple: #b19cd9;
|
| 15 |
+
--terminal-red: #f44;
|
| 16 |
+
--terminal-glow: rgba(0, 255, 0, 0.7);
|
| 17 |
+
--terminal-border: #333;
|
| 18 |
+
--text-color: #e0e0e0;
|
| 19 |
+
--text-shadow: 0 0 8px var(--terminal-glow);
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
* {
|
| 23 |
+
margin: 0;
|
| 24 |
+
padding: 0;
|
| 25 |
+
box-sizing: border-box;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
body {
|
| 29 |
+
background: #000;
|
| 30 |
+
overflow: hidden;
|
| 31 |
+
font-family: 'Inconsolata', monospace;
|
| 32 |
+
display: flex;
|
| 33 |
+
justify-content: center;
|
| 34 |
+
align-items: center;
|
| 35 |
+
min-height: 100vh;
|
| 36 |
+
perspective: 1000px;
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
.matrix-background {
|
| 40 |
+
position: fixed;
|
| 41 |
+
top: 0;
|
| 42 |
+
left: 0;
|
| 43 |
+
width: 100%;
|
| 44 |
+
height: 100%;
|
| 45 |
+
z-index: -1;
|
| 46 |
+
opacity: 0.15;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
.terminal-container {
|
| 50 |
+
position: relative;
|
| 51 |
+
width: 85%;
|
| 52 |
+
max-width: 800px;
|
| 53 |
+
height: 70vh;
|
| 54 |
+
background: var(--terminal-bg);
|
| 55 |
+
border-radius: 8px;
|
| 56 |
+
box-shadow: 0 0 30px rgba(0, 255, 0, 0.5),
|
| 57 |
+
inset 0 0 10px rgba(0, 255, 0, 0.2);
|
| 58 |
+
overflow: hidden;
|
| 59 |
+
border: 1px solid var(--terminal-green);
|
| 60 |
+
transform-style: preserve-3d;
|
| 61 |
+
animation: float 8s ease-in-out infinite;
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
@keyframes float {
|
| 65 |
+
0%, 100% {
|
| 66 |
+
transform: translateY(0) rotateX(10deg) rotateY(5deg);
|
| 67 |
+
}
|
| 68 |
+
50% {
|
| 69 |
+
transform: translateY(-20px) rotateX(5deg) rotateY(10deg);
|
| 70 |
+
}
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
.terminal-header {
|
| 74 |
+
background: linear-gradient(to right, #0a0a0a, #111);
|
| 75 |
+
padding: 8px 15px;
|
| 76 |
+
display: flex;
|
| 77 |
+
justify-content: space-between;
|
| 78 |
+
align-items: center;
|
| 79 |
+
color: var(--terminal-green);
|
| 80 |
+
font-family: 'Share Tech Mono', monospace;
|
| 81 |
+
border-bottom: 1px solid var(--terminal-green);
|
| 82 |
+
box-shadow: 0 2px 15px rgba(0, 255, 0, 0.3);
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
.terminal-buttons {
|
| 86 |
+
display: flex;
|
| 87 |
+
gap: 8px;
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
.terminal-button {
|
| 91 |
+
width: 12px;
|
| 92 |
+
height: 12px;
|
| 93 |
+
border-radius: 50%;
|
| 94 |
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
.terminal-button.red {
|
| 98 |
+
background: #ff5f56;
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
.terminal-button.yellow {
|
| 102 |
+
background: #ffbd2e;
|
| 103 |
+
}
|
| 104 |
+
|
| 105 |
+
.terminal-button.green {
|
| 106 |
+
background: #27c93f;
|
| 107 |
+
}
|
| 108 |
+
|
| 109 |
+
.terminal-body {
|
| 110 |
+
padding: 15px;
|
| 111 |
+
height: calc(100% - 40px);
|
| 112 |
+
overflow-y: auto;
|
| 113 |
+
color: var(--text-color);
|
| 114 |
+
text-shadow: var(--text-shadow);
|
| 115 |
+
line-height: 1.6;
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
.typing-text {
|
| 119 |
+
white-space: pre-wrap;
|
| 120 |
+
font-size: 1.1rem;
|
| 121 |
+
}
|
| 122 |
+
|
| 123 |
+
.command-line {
|
| 124 |
+
margin-top: 20px;
|
| 125 |
+
display: flex;
|
| 126 |
+
align-items: center;
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
.prompt {
|
| 130 |
+
color: var(--terminal-green);
|
| 131 |
+
margin-right: 10px;
|
| 132 |
+
font-weight: bold;
|
| 133 |
+
}
|
| 134 |
+
|
| 135 |
+
.cursor {
|
| 136 |
+
display: inline-block;
|
| 137 |
+
width: 10px;
|
| 138 |
+
height: 20px;
|
| 139 |
+
background: var(--terminal-green);
|
| 140 |
+
animation: blink 1s infinite;
|
| 141 |
+
vertical-align: middle;
|
| 142 |
+
}
|
| 143 |
+
|
| 144 |
+
@keyframes blink {
|
| 145 |
+
0%, 100% { opacity: 1; }
|
| 146 |
+
50% { opacity: 0; }
|
| 147 |
+
}
|
| 148 |
+
|
| 149 |
+
.command-input {
|
| 150 |
+
flex-grow: 1;
|
| 151 |
+
background: transparent;
|
| 152 |
+
border: none;
|
| 153 |
+
color: var(--terminal-green);
|
| 154 |
+
font-family: 'Inconsolata', monospace;
|
| 155 |
+
font-size: 1.1rem;
|
| 156 |
+
outline: none;
|
| 157 |
+
caret-color: var(--terminal-green);
|
| 158 |
+
text-shadow: var(--text-shadow);
|
| 159 |
+
}
|
| 160 |
+
|
| 161 |
+
.glitch {
|
| 162 |
+
position: relative;
|
| 163 |
+
}
|
| 164 |
+
|
| 165 |
+
.glitch::before, .glitch::after {
|
| 166 |
+
content: attr(data-text);
|
| 167 |
+
position: absolute;
|
| 168 |
+
top: 0;
|
| 169 |
+
left: 0;
|
| 170 |
+
width: 100%;
|
| 171 |
+
height: 100%;
|
| 172 |
+
background: var(--terminal-bg);
|
| 173 |
+
}
|
| 174 |
+
|
| 175 |
+
.glitch::before {
|
| 176 |
+
left: 2px;
|
| 177 |
+
text-shadow: -2px 0 var(--terminal-red);
|
| 178 |
+
clip: rect(24px, 550px, 90px, 0);
|
| 179 |
+
animation: glitch-anim-1 2s infinite linear alternate-reverse;
|
| 180 |
+
}
|
| 181 |
+
|
| 182 |
+
.glitch::after {
|
| 183 |
+
left: -2px;
|
| 184 |
+
text-shadow: -2px 0 var(--terminal-cyan);
|
| 185 |
+
clip: rect(85px, 550px, 140px, 0);
|
| 186 |
+
animation: glitch-anim-2 2s infinite linear alternate-reverse;
|
| 187 |
+
}
|
| 188 |
+
|
| 189 |
+
@keyframes glitch-anim-1 {
|
| 190 |
+
0% { clip: rect(54px, 800px, 54px, 0); }
|
| 191 |
+
20% { clip: rect(27px, 800px, 86px, 0); }
|
| 192 |
+
40% { clip: rect(14px, 800px, 75px, 0); }
|
| 193 |
+
60% { clip: rect(39px, 800px, 104px, 0); }
|
| 194 |
+
80% { clip: rect(18px, 800px, 53px, 0); }
|
| 195 |
+
100% { clip: rect(73px, 800px, 112px, 0); }
|
| 196 |
+
}
|
| 197 |
+
|
| 198 |
+
@keyframes glitch-anim-2 {
|
| 199 |
+
0% { clip: rect(35px, 800px, 89px, 0); }
|
| 200 |
+
20% { clip: rect(56px, 800px, 103px, 0); }
|
| 201 |
+
40% { clip: rect(22px, 800px, 64px, 0); }
|
| 202 |
+
60% { clip: rect(88px, 800px, 120px, 0); }
|
| 203 |
+
80% { clip: rect(13px, 800px, 32px, 0); }
|
| 204 |
+
100% { clip: rect(42px, 800px, 99px, 0); }
|
| 205 |
+
}
|
| 206 |
+
|
| 207 |
+
.ascii-art {
|
| 208 |
+
color: var(--terminal-purple);
|
| 209 |
+
line-height: 1.3;
|
| 210 |
+
margin: 15px 0;
|
| 211 |
+
white-space: pre;
|
| 212 |
+
font-size: 0.6rem;
|
| 213 |
+
letter-spacing: 1px;
|
| 214 |
+
}
|
| 215 |
+
|
| 216 |
+
.highlight {
|
| 217 |
+
color: var(--terminal-cyan);
|
| 218 |
+
}
|
| 219 |
+
|
| 220 |
+
.skill-bar {
|
| 221 |
+
margin: 8px 0;
|
| 222 |
+
}
|
| 223 |
+
|
| 224 |
+
.skill-name {
|
| 225 |
+
display: inline-block;
|
| 226 |
+
width: 120px;
|
| 227 |
+
color: var(--terminal-green);
|
| 228 |
+
}
|
| 229 |
+
|
| 230 |
+
.skill-level {
|
| 231 |
+
display: inline-block;
|
| 232 |
+
height: 15px;
|
| 233 |
+
background: linear-gradient(to right, var(--terminal-green), var(--terminal-cyan));
|
| 234 |
+
box-shadow: 0 0 5px var(--terminal-glow);
|
| 235 |
+
animation: expand 1s ease-out;
|
| 236 |
+
transform-origin: left;
|
| 237 |
+
}
|
| 238 |
+
|
| 239 |
+
@keyframes expand {
|
| 240 |
+
from { transform: scaleX(0); }
|
| 241 |
+
to { transform: scaleX(1); }
|
| 242 |
+
}
|
| 243 |
+
|
| 244 |
+
.contact-item {
|
| 245 |
+
margin: 8px 0;
|
| 246 |
+
}
|
| 247 |
+
|
| 248 |
+
.contact-item a {
|
| 249 |
+
color: var(--terminal-purple);
|
| 250 |
+
text-decoration: none;
|
| 251 |
+
transition: all 0.3s;
|
| 252 |
+
}
|
| 253 |
+
|
| 254 |
+
.contact-item a:hover {
|
| 255 |
+
color: var(--terminal-cyan);
|
| 256 |
+
text-shadow: 0 0 10px var(--terminal-cyan);
|
| 257 |
+
}
|
| 258 |
+
|
| 259 |
+
.hidden {
|
| 260 |
+
display: none;
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
/* Matrix rain effect */
|
| 264 |
+
canvas {
|
| 265 |
+
display: block;
|
| 266 |
+
}
|
| 267 |
+
</style>
|
| 268 |
+
</head>
|
| 269 |
+
<body>
|
| 270 |
+
<canvas id="matrix" class="matrix-background"></canvas>
|
| 271 |
+
|
| 272 |
+
<div class="terminal-container">
|
| 273 |
+
<div class="terminal-header">
|
| 274 |
+
<div class="terminal-buttons">
|
| 275 |
+
<div class="terminal-button red"></div>
|
| 276 |
+
<div class="terminal-button yellow"></div>
|
| 277 |
+
<div class="terminal-button green"></div>
|
| 278 |
+
</div>
|
| 279 |
+
<div class="glitch" data-text="user@cyberterminal:~">user@cyberterminal:~</div>
|
| 280 |
+
<div class="terminal-buttons">
|
| 281 |
+
<div style="width: 20px;"></div>
|
| 282 |
+
</div>
|
| 283 |
+
</div>
|
| 284 |
+
<div class="terminal-body" id="terminal-body">
|
| 285 |
+
<div id="typing-text" class="typing-text"></div>
|
| 286 |
+
<div id="command-line" class="command-line hidden">
|
| 287 |
+
<span class="prompt">></span>
|
| 288 |
+
<input type="text" class="command-input" id="command-input" autocomplete="off">
|
| 289 |
+
<span class="cursor"></span>
|
| 290 |
+
</div>
|
| 291 |
+
</div>
|
| 292 |
+
</div>
|
| 293 |
+
|
| 294 |
+
<script>
|
| 295 |
+
// Matrix effect
|
| 296 |
+
const canvas = document.getElementById('matrix');
|
| 297 |
+
const ctx = canvas.getContext('2d');
|
| 298 |
+
|
| 299 |
+
canvas.width = window.innerWidth;
|
| 300 |
+
canvas.height = window.innerHeight;
|
| 301 |
+
|
| 302 |
+
const katakana = 'アァカサタナハマヤャラワガザダバパイィキシチニヒミリヰギジヂビピウゥクスツヌフムユュルグズブヅプエェケセテネヘメレヱゲゼデベペオォコソトノホモヨョロヲゴゾドボポヴッン';
|
| 303 |
+
const latin = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
|
| 304 |
+
const nums = '0123456789';
|
| 305 |
+
const symbols = '!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~';
|
| 306 |
+
const binary = '01';
|
| 307 |
+
|
| 308 |
+
const alphabet = katakana + latin + nums + symbols + binary;
|
| 309 |
+
|
| 310 |
+
const fontSize = 16;
|
| 311 |
+
const columns = canvas.width / fontSize;
|
| 312 |
+
|
| 313 |
+
const rainDrops = [];
|
| 314 |
+
|
| 315 |
+
for (let x = 0; x < columns; x++) {
|
| 316 |
+
rainDrops[x] = 1;
|
| 317 |
+
}
|
| 318 |
+
|
| 319 |
+
function draw() {
|
| 320 |
+
ctx.fillStyle = 'rgba(0, 0, 0, 0.05)';
|
| 321 |
+
ctx.fillRect(0, 0, canvas.width, canvas.height);
|
| 322 |
+
|
| 323 |
+
ctx.fillStyle = '#0f0';
|
| 324 |
+
ctx.font = fontSize + 'px monospace';
|
| 325 |
+
|
| 326 |
+
for (let i = 0; i < rainDrops.length; i++) {
|
| 327 |
+
const text = alphabet.charAt(Math.floor(Math.random() * alphabet.length));
|
| 328 |
+
ctx.fillText(text, i * fontSize, rainDrops[i] * fontSize);
|
| 329 |
+
|
| 330 |
+
if (rainDrops[i] * fontSize > canvas.height && Math.random() > 0.975) {
|
| 331 |
+
rainDrops[i] = 0;
|
| 332 |
+
}
|
| 333 |
+
rainDrops[i]++;
|
| 334 |
+
}
|
| 335 |
+
|
| 336 |
+
requestAnimationFrame(draw);
|
| 337 |
+
}
|
| 338 |
+
|
| 339 |
+
// Terminal typing effect
|
| 340 |
+
const terminalText = document.getElementById('typing-text');
|
| 341 |
+
const commandLine = document.getElementById('command-line');
|
| 342 |
+
const commandInput = document.getElementById('command-input');
|
| 343 |
+
|
| 344 |
+
const messages = [
|
| 345 |
+
{ text: "Initializing system...", delay: 50 },
|
| 346 |
+
{ text: "Loading profile data...", delay: 50 },
|
| 347 |
+
{ text: "██████████████ 100%", delay: 30, style: "color: #0ff" },
|
| 348 |
+
{ text: "\n", delay: 200 },
|
| 349 |
+
{ text: "> Welcome to CYBER TERMINAL // ACCESS GRANTED", delay: 10, style: "color: #0f0; font-weight: bold" },
|
| 350 |
+
{ text: "\n\n", delay: 100 },
|
| 351 |
+
{ text: ">> SYSTEM USER PROFILE <<", delay: 10, style: "color: #b19cd9; text-decoration: underline" },
|
| 352 |
+
{ text: "\n", delay: 100 },
|
| 353 |
+
{ text: "> NAME: ", delay: 20 },
|
| 354 |
+
{ text: "NZ03", delay: 100, style: "color: #0ff; font-weight: bold" },
|
| 355 |
+
{ text: "", delay: 100, style: "color: #0f0; font-weight: bold" },
|
| 356 |
+
{ text: "\n", delay: 50 },
|
| 357 |
+
{ text: "> TITLE: ", delay: 20 },
|
| 358 |
+
{ text: "FULL-STACK CYBER DEVELOPER", delay: 50, style: "color: #0ff" },
|
| 359 |
+
{ text: "\n", delay: 50 },
|
| 360 |
+
{ text: "> LOCATION: ", delay: 20 },
|
| 361 |
+
{ text: "[DATA ENCRYPTED]", delay: 70, style: "color: #f44" },
|
| 362 |
+
{ text: "\n", delay: 50 },
|
| 363 |
+
{ text: "> STATUS: ", delay: 20 },
|
| 364 |
+
{ text: "ACTIVE // SECURITY CLEARANCE: DELTA", delay: 50, style: "color: #0f0" },
|
| 365 |
+
{ text: "\n\n", delay: 100 },
|
| 366 |
+
{ text: ">> SKILL MATRIX <<", delay: 10, style: "color: #b19cd9; text-decoration: underline" },
|
| 367 |
+
{ text: "\n", delay: 100 },
|
| 368 |
+
{ text: "> PYTHON: ", delay: 20 },
|
| 369 |
+
{ text: "██████████ 95%", delay: 30, style: "color: #0ff" },
|
| 370 |
+
{ text: "\n", delay: 50 },
|
| 371 |
+
{ text: "> JAVASCRIPT: ", delay: 20 },
|
| 372 |
+
{ text: "██████████ 97%", delay: 30, style: "color: #0ff" },
|
| 373 |
+
{ text: "\n", delay: 50 },
|
| 374 |
+
{ text: "> CYBERSECURITY: ", delay: 20 },
|
| 375 |
+
{ text: "████████▉ 88%", delay: 30, style: "color: #0ff" },
|
| 376 |
+
{ text: "\n", delay: 50 },
|
| 377 |
+
{ text: "> CLOUD ARCHITECTURE: ", delay: 20 },
|
| 378 |
+
{ text: "████████▊ 86%", delay: 30, style: "color: #0ff" },
|
| 379 |
+
{ text: "\n", delay: 50 },
|
| 380 |
+
{ text: "> AI/ML: ", delay: 20 },
|
| 381 |
+
{ text: "███████▍ 75%", delay: 30, style: "color: #0ff" },
|
| 382 |
+
{ text: "\n", delay: 50 },
|
| 383 |
+
{ text: "> BLOCKCHAIN: ", delay: 20 },
|
| 384 |
+
{ text: "██████▎ 70%", delay: 30, style: "color: #0ff" },
|
| 385 |
+
{ text: "\n\n", delay: 100 },
|
| 386 |
+
{ text: ">> PROJECT HISTORY <<", delay: 10, style: "color: #b19cd9; text-decoration: underline" },
|
| 387 |
+
{ text: "\n", delay: 100 },
|
| 388 |
+
{ text: "> [2023] DECENTRALIZED IDENTITY SYSTEM - LEAD DEVELOPER", delay: 30 },
|
| 389 |
+
{ text: "\n", delay: 50 },
|
| 390 |
+
{ text: "> [2022] QUANTUM-RESISTANT ENCRYPTION PROTOCOL - RESEARCH TEAM", delay: 30 },
|
| 391 |
+
{ text: "\n", delay: 50 },
|
| 392 |
+
{ text: "> [2021] NEURAL NETWORK SECURITY FRAMEWORK - AI SPECIALIST", delay: 30 },
|
| 393 |
+
{ text: "\n\n", delay: 100 },
|
| 394 |
+
{ text: ">> CONTACT POINTS <<", delay: 10, style: "color: #b19cd9; text-decoration: underline" },
|
| 395 |
+
{ text: "\n", delay: 100 },
|
| 396 |
+
{ text: "> EMAIL: ", delay: 20 },
|
| 397 |
+
{ text: "[email protected]", delay: 30, style: "color: #0ff" },
|
| 398 |
+
{ text: "\n", delay: 50 },
|
| 399 |
+
{ text: "> GITHUB: ", delay: 20 },
|
| 400 |
+
{ text: "github.com/coder-one", delay: 30, style: "color: #0ff" },
|
| 401 |
+
{ text: "\n", delay: 50 },
|
| 402 |
+
{ text: "> TWITTER: ", delay: 20 },
|
| 403 |
+
{ text: "@coder_one", delay: 30, style: "color: #0ff" },
|
| 404 |
+
{ text: "\n\n", delay: 100 },
|
| 405 |
+
{ text: "> Type 'help' for available commands", delay: 30, style: "color: #0f0" },
|
| 406 |
+
{ text: "\n", delay: 50 },
|
| 407 |
+
];
|
| 408 |
+
|
| 409 |
+
let currentMessageIndex = 0;
|
| 410 |
+
let currentCharIndex = 0;
|
| 411 |
+
let isTyping = true;
|
| 412 |
+
|
| 413 |
+
function typeNextCharacter() {
|
| 414 |
+
if (currentMessageIndex >= messages.length) {
|
| 415 |
+
isTyping = false;
|
| 416 |
+
commandLine.classList.remove('hidden');
|
| 417 |
+
commandInput.focus();
|
| 418 |
+
return;
|
| 419 |
+
}
|
| 420 |
+
|
| 421 |
+
const currentMessage = messages[currentMessageIndex];
|
| 422 |
+
const textToType = currentMessage.text;
|
| 423 |
+
|
| 424 |
+
if (currentCharIndex < textToType.length) {
|
| 425 |
+
const char = textToType.charAt(currentCharIndex);
|
| 426 |
+
const span = document.createElement('span');
|
| 427 |
+
span.textContent = char;
|
| 428 |
+
|
| 429 |
+
if (currentMessage.style) {
|
| 430 |
+
span.style = currentMessage.style;
|
| 431 |
+
}
|
| 432 |
+
|
| 433 |
+
terminalText.appendChild(span);
|
| 434 |
+
currentCharIndex++;
|
| 435 |
+
|
| 436 |
+
setTimeout(typeNextCharacter, currentMessage.delay);
|
| 437 |
+
} else {
|
| 438 |
+
currentMessageIndex++;
|
| 439 |
+
currentCharIndex = 0;
|
| 440 |
+
setTimeout(typeNextCharacter, 100);
|
| 441 |
+
}
|
| 442 |
+
}
|
| 443 |
+
|
| 444 |
+
function processCommand(command) {
|
| 445 |
+
terminalText.appendChild(document.createElement('br'));
|
| 446 |
+
|
| 447 |
+
const prompt = document.createElement('span');
|
| 448 |
+
prompt.textContent = '> ';
|
| 449 |
+
prompt.style.color = '#0f0';
|
| 450 |
+
terminalText.appendChild(prompt);
|
| 451 |
+
|
| 452 |
+
const cmdText = document.createElement('span');
|
| 453 |
+
cmdText.textContent = command;
|
| 454 |
+
cmdText.style.color = '#e0e0e0';
|
| 455 |
+
terminalText.appendChild(cmdText);
|
| 456 |
+
|
| 457 |
+
terminalText.appendChild(document.createElement('br'));
|
| 458 |
+
|
| 459 |
+
const response = document.createElement('div');
|
| 460 |
+
response.style.marginTop = '10px';
|
| 461 |
+
|
| 462 |
+
command = command.toLowerCase().trim();
|
| 463 |
+
|
| 464 |
+
if (command === 'help') {
|
| 465 |
+
response.innerHTML = `Available commands:<br>
|
| 466 |
+
- <span class="highlight">about</span>: Show detailed profile<br>
|
| 467 |
+
- <span class="highlight">skills</span>: List technical skills<br>
|
| 468 |
+
- <span class="highlight">contact</span>: Show contact information<br>
|
| 469 |
+
- <span class="highlight">clear</span>: Clear the terminal<br>
|
| 470 |
+
- <span class="highlight">exit</span>: Close terminal (just kidding)`;
|
| 471 |
+
}
|
| 472 |
+
else if (command === 'about') {
|
| 473 |
+
response.innerHTML = `// SYSTEM USER PROFILE //<br><br>
|
| 474 |
+
<span class="highlight">CODER_ONE</span> is a full-spectrum developer with expertise in:<br>
|
| 475 |
+
- Secure system architecture<br>
|
| 476 |
+
- Cryptographic protocols<br>
|
| 477 |
+
- Decentralized applications<br>
|
| 478 |
+
- AI-driven security<br><br>
|
| 479 |
+
With over 8 years in the field, I've worked on classified and commercial systems, always pushing the boundaries of what's possible in the digital realm.`;
|
| 480 |
+
}
|
| 481 |
+
else if (command === 'skills') {
|
| 482 |
+
response.innerHTML = `>> TECHNICAL PROWESS <<<br><br>
|
| 483 |
+
<div class="skill-bar"><span class="skill-name">Programming:</span> <span class="skill-level" style="width: 95%"></span></div>
|
| 484 |
+
<div class="skill-bar"><span class="skill-name">Security:</span> <span class="skill-level" style="width: 90%"></span></div>
|
| 485 |
+
<div class="skill-bar"><span class="skill-name">Networking:</span> <span class="skill-level" style="width: 85%"></span></div>
|
| 486 |
+
<div class="skill-bar"><span class="skill-name">AI/ML:</span> <span class="skill-level" style="width: 80%"></span></div>
|
| 487 |
+
<div class="skill-bar"><span class="skill-name">Blockchain:</span> <span class="skill-level" style="width: 75%"></span></div>`;
|
| 488 |
+
}
|
| 489 |
+
else if (command === 'contact') {
|
| 490 |
+
response.innerHTML = `>> SECURE CONTACT CHANNELS <<<br><br>
|
| 491 |
+
<div class="contact-item">Email: <a href="mailto:[email protected]">[email protected]</a></div>
|
| 492 |
+
<div class="contact-item">GitHub: <a href="https://github.com/coder-one" target="_blank">github.com/coder-one</a></div>
|
| 493 |
+
<div class="contact-item">Twitter: <a href="https://twitter.com/coder_one" target="_blank">@coder_one</a></div>
|
| 494 |
+
<div class="contact-item">PGP: <span style="color: #f44">[Available upon request]</span></div>`;
|
| 495 |
+
}
|
| 496 |
+
else if (command === 'clear') {
|
| 497 |
+
terminalText.innerHTML = '';
|
| 498 |
+
commandInput.value = '';
|
| 499 |
+
return;
|
| 500 |
+
}
|
| 501 |
+
else if (command === 'exit') {
|
| 502 |
+
response.innerHTML = `<span style="color: #f44">Access Denied: Terminal cannot be closed from this session.</span>`;
|
| 503 |
+
}
|
| 504 |
+
else {
|
| 505 |
+
response.innerHTML = `<span style="color: #f44">Command not found: ${command}</span><br>
|
| 506 |
+
Type <span class="highlight">'help'</span> for available commands.`;
|
| 507 |
+
}
|
| 508 |
+
|
| 509 |
+
terminalText.appendChild(response);
|
| 510 |
+
terminalText.appendChild(document.createElement('br'));
|
| 511 |
+
commandLine.scrollIntoView();
|
| 512 |
+
}
|
| 513 |
+
|
| 514 |
+
commandInput.addEventListener('keydown', function(e) {
|
| 515 |
+
if (e.key === 'Enter') {
|
| 516 |
+
const command = this.value;
|
| 517 |
+
this.value = '';
|
| 518 |
+
|
| 519 |
+
if (command.trim() !== '') {
|
| 520 |
+
processCommand(command);
|
| 521 |
+
}
|
| 522 |
+
}
|
| 523 |
+
});
|
| 524 |
+
|
| 525 |
+
// Start animations
|
| 526 |
+
window.addEventListener('load', function() {
|
| 527 |
+
draw();
|
| 528 |
+
typeNextCharacter();
|
| 529 |
+
});
|
| 530 |
+
|
| 531 |
+
window.addEventListener('resize', function() {
|
| 532 |
+
canvas.width = window.innerWidth;
|
| 533 |
+
canvas.height = window.innerHeight;
|
| 534 |
+
});
|
| 535 |
+
</script>
|
| 536 |
+
<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 <a href="https://enzostvs-deepsite.hf.space" style="color: #fff;" target="_blank" >DeepSite</a> <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;"></p></body>
|
| 537 |
+
</html>
|