Spaces:
Running
Running
remove Neural Network Framework - Initial Deployment
Browse files- README.md +7 -5
- index.html +261 -18
- prompts.txt +4 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 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: terminal
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: pink
|
| 5 |
+
colorTo: pink
|
| 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,262 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en" class="dark">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Terminal UI</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 9 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 10 |
+
<script>
|
| 11 |
+
tailwind.config = {
|
| 12 |
+
darkMode: 'class',
|
| 13 |
+
theme: {
|
| 14 |
+
extend: {
|
| 15 |
+
fontFamily: {
|
| 16 |
+
'mono': ['"Fira Code"', 'monospace'],
|
| 17 |
+
},
|
| 18 |
+
colors: {
|
| 19 |
+
'terminal-green': '#00ff00',
|
| 20 |
+
'terminal-bg': '#0a0a0a',
|
| 21 |
+
'terminal-line': '#1e1e1e',
|
| 22 |
+
},
|
| 23 |
+
animation: {
|
| 24 |
+
'cursor-blink': 'cursor-blink 1s infinite',
|
| 25 |
+
},
|
| 26 |
+
keyframes: {
|
| 27 |
+
'cursor-blink': {
|
| 28 |
+
'0%, 100%': { opacity: '1' },
|
| 29 |
+
'50%': { opacity: '0' },
|
| 30 |
+
}
|
| 31 |
+
}
|
| 32 |
+
}
|
| 33 |
+
}
|
| 34 |
+
}
|
| 35 |
+
</script>
|
| 36 |
+
<style>
|
| 37 |
+
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&display=swap');
|
| 38 |
+
.terminal-text {
|
| 39 |
+
text-shadow: 0 0 5px rgba(0, 255, 0, 0.7);
|
| 40 |
+
}
|
| 41 |
+
.terminal-input:focus {
|
| 42 |
+
outline: none;
|
| 43 |
+
}
|
| 44 |
+
.command-response {
|
| 45 |
+
height: 0;
|
| 46 |
+
overflow: hidden;
|
| 47 |
+
transition: height 0.3s ease;
|
| 48 |
+
}
|
| 49 |
+
.command-response.show {
|
| 50 |
+
height: auto;
|
| 51 |
+
}
|
| 52 |
+
.glow-effect {
|
| 53 |
+
box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
|
| 54 |
+
}
|
| 55 |
+
</style>
|
| 56 |
+
</head>
|
| 57 |
+
<body class="bg-terminal-bg text-terminal-green font-mono h-screen overflow-hidden flex flex-col">
|
| 58 |
+
<div id="vanta-globe" class="absolute inset-0 pointer-events-none opacity-20"></div>
|
| 59 |
+
|
| 60 |
+
<div class="relative z-10 container mx-auto px-4 py-8 flex flex-col h-full">
|
| 61 |
+
<!-- Header -->
|
| 62 |
+
<div class="flex items-center justify-between mb-6 border-b border-terminal-line pb-4">
|
| 63 |
+
<div class="flex items-center space-x-3">
|
| 64 |
+
<i data-feather="terminal" class="text-terminal-green"></i>
|
| 65 |
+
<h1 class="text-xl terminal-text">root@dev-terminal:~</h1>
|
| 66 |
+
</div>
|
| 67 |
+
<div class="flex space-x-4">
|
| 68 |
+
<button class="hover:text-white transition-colors">
|
| 69 |
+
<i data-feather="minimize"></i>
|
| 70 |
+
</button>
|
| 71 |
+
<button class="hover:text-white transition-colors">
|
| 72 |
+
<i data-feather="maximize"></i>
|
| 73 |
+
</button>
|
| 74 |
+
<button class="hover:text-red-500 transition-colors">
|
| 75 |
+
<i data-feather="x"></i>
|
| 76 |
+
</button>
|
| 77 |
+
</div>
|
| 78 |
+
</div>
|
| 79 |
+
|
| 80 |
+
<!-- Terminal Body -->
|
| 81 |
+
<div class="flex-grow overflow-y-auto mb-4 space-y-4 terminal-scroll">
|
| 82 |
+
<div class="flex items-start">
|
| 83 |
+
<span class="text-terminal-green mr-2">$</span>
|
| 84 |
+
<p class="terminal-text">Welcome to the interactive terminal UI. Type 'help' to see available commands.</p>
|
| 85 |
+
</div>
|
| 86 |
+
|
| 87 |
+
<div id="command-history" class="space-y-4"></div>
|
| 88 |
+
|
| 89 |
+
<div class="flex items-start">
|
| 90 |
+
<span class="text-terminal-green mr-2">$</span>
|
| 91 |
+
<div class="flex-1 flex items-center">
|
| 92 |
+
<input type="text" id="terminal-input"
|
| 93 |
+
class="terminal-input bg-transparent flex-1 caret-terminal-green text-terminal-green"
|
| 94 |
+
autocomplete="off"
|
| 95 |
+
autocorrect="off"
|
| 96 |
+
autocapitalize="off"
|
| 97 |
+
spellcheck="false"
|
| 98 |
+
placeholder="Type a command...">
|
| 99 |
+
<span id="cursor" class="ml-1 bg-terminal-green w-3 h-6 inline-block animate-cursor-blink"></span>
|
| 100 |
+
</div>
|
| 101 |
+
</div>
|
| 102 |
+
</div>
|
| 103 |
+
|
| 104 |
+
<!-- Footer -->
|
| 105 |
+
<div class="flex items-center justify-between text-sm text-gray-500 border-t border-terminal-line pt-3">
|
| 106 |
+
<div class="flex items-center space-x-2">
|
| 107 |
+
<i data-feather="cpu" class="w-4 h-4"></i>
|
| 108 |
+
<span>System: Online</span>
|
| 109 |
+
</div>
|
| 110 |
+
<div class="flex items-center space-x-4">
|
| 111 |
+
<span class="flex items-center">
|
| 112 |
+
<i data-feather="wifi" class="w-4 h-4 mr-1"></i>
|
| 113 |
+
<span>100%</span>
|
| 114 |
+
</span>
|
| 115 |
+
<span class="flex items-center">
|
| 116 |
+
<i data-feather="battery" class="w-4 h-4 mr-1"></i>
|
| 117 |
+
<span>87%</span>
|
| 118 |
+
</span>
|
| 119 |
+
<span id="current-time"></span>
|
| 120 |
+
</div>
|
| 121 |
+
</div>
|
| 122 |
+
</div>
|
| 123 |
+
|
| 124 |
+
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
|
| 125 |
+
<script>
|
| 126 |
+
feather.replace();
|
| 127 |
+
|
| 128 |
+
// Vanta.js background
|
| 129 |
+
VANTA.GLOBE({
|
| 130 |
+
el: "#vanta-globe",
|
| 131 |
+
mouseControls: true,
|
| 132 |
+
touchControls: true,
|
| 133 |
+
gyroControls: false,
|
| 134 |
+
minHeight: 200.00,
|
| 135 |
+
minWidth: 200.00,
|
| 136 |
+
scale: 1.00,
|
| 137 |
+
scaleMobile: 1.00,
|
| 138 |
+
color: 0x00ff00,
|
| 139 |
+
backgroundColor: 0x0a0a0a,
|
| 140 |
+
size: 0.7
|
| 141 |
+
});
|
| 142 |
+
|
| 143 |
+
// Terminal functionality
|
| 144 |
+
const commands = {
|
| 145 |
+
help: {
|
| 146 |
+
response: `<div class="space-y-2">
|
| 147 |
+
<p>Available commands:</p>
|
| 148 |
+
<p class="ml-4">- <span class="text-white">about</span>: Shows information about this project</p>
|
| 149 |
+
<p class="ml-4">- <span class="text-white">contact</span>: Displays contact information</p>
|
| 150 |
+
<p class="ml-4">- <span class="text-white">skills</span>: Lists technical skills</p>
|
| 151 |
+
<p class="ml-4">- <span class="text-white">projects</span>: Shows recent projects</p>
|
| 152 |
+
<p class="ml-4">- <span class="text-white">clear</span>: Clears the terminal</p>
|
| 153 |
+
<p class="ml-4">- <span class="text-white">theme</span>: Toggles between light/dark mode</p>
|
| 154 |
+
</div>`
|
| 155 |
+
},
|
| 156 |
+
about: {
|
| 157 |
+
response: `<div class="space-y-2">
|
| 158 |
+
<p>Terminal UI Portfolio v1.0</p>
|
| 159 |
+
<p>A unique developer portfolio that mimics a terminal interface for a sleek, tech-inspired look.</p>
|
| 160 |
+
<p>Built using HTML, CSS, JavaScript, and TailwindCSS.</p>
|
| 161 |
+
</div>`
|
| 162 |
+
},
|
| 163 |
+
contact: {
|
| 164 |
+
response: `<div class="space-y-2">
|
| 165 |
+
<p>You can reach me at:</p>
|
| 166 |
+
<p class="ml-4">- Email: <span class="text-white">miadninezeo@gmail.com</span></p>
|
| 167 |
+
<p class="ml-4">- Phone: <span class="text-white">+8801608229699</span></p>
|
| 168 |
+
</div>`
|
| 169 |
+
},
|
| 170 |
+
skills: {
|
| 171 |
+
response: `<div class="space-y-2">
|
| 172 |
+
<p>Technical Skills:</p>
|
| 173 |
+
<div class="grid grid-cols-2 md:grid-cols-3 gap-2 mt-2">
|
| 174 |
+
<span class="bg-terminal-line px-3 py-1 rounded glow-effect hover:bg-gray-800 transition">JavaScript</span>
|
| 175 |
+
<span class="bg-terminal-line px-3 py-1 rounded glow-effect hover:bg-gray-800 transition">HTML/CSS</span>
|
| 176 |
+
<span class="bg-terminal-line px-3 py-1 rounded glow-effect hover:bg-gray-800 transition">React</span>
|
| 177 |
+
<span class="bg-terminal-line px-3 py-1 rounded glow-effect hover:bg-gray-800 transition">Node.js</span>
|
| 178 |
+
<span class="bg-terminal-line px-3 py-1 rounded glow-effect hover:bg-gray-800 transition">Python</span>
|
| 179 |
+
<span class="bg-terminal-line px-3 py-1 rounded glow-effect hover:bg-gray-800 transition">SQL</span>
|
| 180 |
+
</div>
|
| 181 |
+
</div>`
|
| 182 |
+
},
|
| 183 |
+
projects: {
|
| 184 |
+
response: `<div class="space-y-3">
|
| 185 |
+
<div class="border border-terminal-line p-3 rounded glow-effect hover:border-terminal-green transition">
|
| 186 |
+
<p class="text-white">Terminal UI Portfolio</p>
|
| 187 |
+
<p class="text-sm mt-1">An interactive terminal-style portfolio website</p>
|
| 188 |
+
<p class="text-xs mt-2 text-gray-500">HTML, CSS, JavaScript</p>
|
| 189 |
+
</div>
|
| 190 |
+
</div>`
|
| 191 |
+
},
|
| 192 |
+
theme: {
|
| 193 |
+
response: `<p>Toggling theme...</p>`,
|
| 194 |
+
execute: () => {
|
| 195 |
+
document.documentElement.classList.toggle('dark');
|
| 196 |
+
}
|
| 197 |
+
}
|
| 198 |
+
};
|
| 199 |
+
|
| 200 |
+
const terminalInput = document.getElementById('terminal-input');
|
| 201 |
+
const commandHistory = document.getElementById('command-history');
|
| 202 |
+
|
| 203 |
+
function updateTime() {
|
| 204 |
+
const now = new Date();
|
| 205 |
+
document.getElementById('current-time').textContent = now.toLocaleTimeString();
|
| 206 |
+
}
|
| 207 |
+
|
| 208 |
+
setInterval(updateTime, 1000);
|
| 209 |
+
updateTime();
|
| 210 |
+
|
| 211 |
+
terminalInput.addEventListener('keydown', (e) => {
|
| 212 |
+
if (e.key === 'Enter') {
|
| 213 |
+
const command = terminalInput.value.trim().toLowerCase();
|
| 214 |
+
terminalInput.value = '';
|
| 215 |
+
|
| 216 |
+
// Add command to history
|
| 217 |
+
const commandElement = document.createElement('div');
|
| 218 |
+
commandElement.className = 'flex items-start';
|
| 219 |
+
commandElement.innerHTML = `
|
| 220 |
+
<span class="text-terminal-green mr-2">$</span>
|
| 221 |
+
<p class="terminal-text">${command}</p>
|
| 222 |
+
`;
|
| 223 |
+
commandHistory.appendChild(commandElement);
|
| 224 |
+
|
| 225 |
+
// Process command
|
| 226 |
+
setTimeout(() => {
|
| 227 |
+
const responseElement = document.createElement('div');
|
| 228 |
+
responseElement.className = 'command-response';
|
| 229 |
+
|
| 230 |
+
if (command === 'clear') {
|
| 231 |
+
commandHistory.innerHTML = '';
|
| 232 |
+
return;
|
| 233 |
+
}
|
| 234 |
+
|
| 235 |
+
if (commands[command]) {
|
| 236 |
+
responseElement.innerHTML = commands[command].response;
|
| 237 |
+
if (commands[command].execute) {
|
| 238 |
+
commands[command].execute();
|
| 239 |
+
}
|
| 240 |
+
} else {
|
| 241 |
+
responseElement.innerHTML = `<p class="text-red-500">Command not found: ${command}. Type 'help' for available commands.</p>`;
|
| 242 |
+
}
|
| 243 |
+
|
| 244 |
+
commandHistory.appendChild(responseElement);
|
| 245 |
+
setTimeout(() => {
|
| 246 |
+
responseElement.classList.add('show');
|
| 247 |
+
}, 10);
|
| 248 |
+
|
| 249 |
+
// Scroll to bottom
|
| 250 |
+
document.querySelector('.terminal-scroll').scrollTop = document.querySelector('.terminal-scroll').scrollHeight;
|
| 251 |
+
}, 100);
|
| 252 |
+
}
|
| 253 |
+
});
|
| 254 |
+
|
| 255 |
+
// Focus input on page load and clicks
|
| 256 |
+
terminalInput.focus();
|
| 257 |
+
document.addEventListener('click', () => {
|
| 258 |
+
terminalInput.focus();
|
| 259 |
+
});
|
| 260 |
+
</script>
|
| 261 |
+
</body>
|
| 262 |
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
create website with dark, black theme, terminal view, creative
|
| 2 |
+
change it to miadninezeo@gmail.com
|
| 3 |
+
|
| 4 |
+
remove Neural Network Framework
|