Add 3 files
Browse filesFiles changed (3)
- README.md+7-5
- index.html+709-19
- prompts.txtAdded
12345678910---title: Idkemoji: 🦀colorFrom: yellowcolorTo: redsdk: staticpinned: false---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference123456789101112---title: idkemoji: 🐳colorFrom: redcolorTo: greensdk: staticpinned: falsetags:- deepsite---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
12345678910111213141516171819<!doctype html><html><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width" /><title>My static Space</title><link rel="stylesheet" href="style.css" /></head><body><div class="card"><h1>Welcome to your static Space!</h1><p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p><p>Also don't forget to check the<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.</p></div></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>DARK EYE v3.2.7</title><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"><style>@charset "UTF-8";*,:after,:before{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}html{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"}body{margin:0;line-height:inherit}button,input,select{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button{-webkit-appearance:button;background-color:transparent;background-image:none}::-moz-focus-inner{border-style:none;padding:0}:-moz-ui-invalid{box-shadow:none}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-2{height:.5rem}.h-64{height:16rem}.w-1\/2{width:50%}.w-2{width:.5rem}.w-full{width:100%}.max-w-6xl{max-width:72rem}.flex-1{flex:1 1 0%}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.space-x-2>:not(:last-child){margin-right:.5rem}.space-x-4>:not(:last-child){margin-right:1rem}.overflow-y-auto{overflow-y:auto}.border-b{border-bottom-width:1px}.border{border-width:1px}.border-green-400{--tw-border-opacity:1;border-color:rgb(74 222 128/var(--tw-border-opacity))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity:1;background-color:rgb(17 24 39/var(--tw-bg-opacity))}.bg-green-400{--tw-bg-opacity:1;background-color:rgb(74 222 128/var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity:1;background-color:rgb(248 113 113/var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity:1;background-color:rgb(250 204 21/var(--tw-bg-opacity))}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pb-2{padding-bottom:.5rem}.pt-2{padding-top:.5rem}.mt-1{margin-top:.25rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-2{margin-left:.5rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.uppercase{text-transform:uppercase}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-green-400{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.hover\:bg-green-300:hover{--tw-bg-opacity:1;background-color:rgb(134 239 172/var(--tw-bg-opacity))}.hover\:bg-red-300:hover{--tw-bg-opacity:1;background-color:rgb(252 165 165/var(--tw-bg-opacity))}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.rounded-full{border-radius:9999px}@media (min-width:768px){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1024px){.lg\:col-span-1{grid-column:span 1/span 1}.lg\:col-span-2{grid-column:span 2/span 2}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');body {font-family: 'Share Tech Mono', monospace;background-color: #0a0a0a;color: #00ff41;overflow-x: hidden;}.glitch {position: relative;}.glitch::before, .glitch::after {content: attr(data-text);position: absolute;top: 0;left: 0;width: 100%;height: 100%;}.glitch::before {left: 2px;text-shadow: -2px 0 #ff00ff;clip: rect(44px, 450px, 56px, 0);animation: glitch-anim 5s infinite linear alternate-reverse;}.glitch::after {left: -2px;text-shadow: -2px 0 #00ffff;clip: rect(44px, 450px, 56px, 0);animation: glitch-anim2 5s infinite linear alternate-reverse;}@keyframes glitch-anim {0% { clip: rect(31px, 9999px, 94px, 0); }10% { clip: rect(112px, 9999px, 76px, 0); }20% { clip: rect(85px, 9999px, 77px, 0); }30% { clip: rect(27px, 9999px, 97px, 0); }40% { clip: rect(64px, 9999px, 98px, 0); }50% { clip: rect(61px, 9999px, 85px, 0); }60% { clip: rect(99px, 9999px, 114px, 0); }70% { clip: rect(34px, 9999px, 115px, 0); }80% { clip: rect(98px, 9999px, 129px, 0); }90% { clip: rect(43px, 9999px, 96px, 0); }100% { clip: rect(82px, 9999px, 64px, 0); }}@keyframes glitch-anim2 {0% { clip: rect(65px, 9999px, 119px, 0); }10% { clip: rect(66px, 9999px, 151px, 0); }20% { clip: rect(33px, 9999px, 149px, 0); }30% { clip: rect(147px, 9999px, 128px, 0); }40% { clip: rect(70px, 9999px, 145px, 0); }50% { clip: rect(120px, 9999px, 140px, 0); }60% { clip: rect(106px, 9999px, 103px, 0); }70% { clip: rect(141px, 9999px, 74px, 0); }80% { clip: rect(20px, 9999px, 78px, 0); }90% { clip: rect(133px, 9999px, 79px, 0); }100% { clip: rect(64px, 9999px, 43px, 0); }}.scanline {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: linear-gradient(to bottom,rgba(0, 255, 65, 0.1) 0%,rgba(0, 255, 65, 0) 10%);background-size: 100% 8px;animation: scanline 8s linear infinite;pointer-events: none;}@keyframes scanline {0% { transform: translateY(-100%); }100% { transform: translateY(100%); }}.terminal-cursor {display: inline-block;width: 10px;height: 15px;background-color: #00ff41;animation: blink 1s infinite;}@keyframes blink {0% { opacity: 1; }50% { opacity: 0; }100% { opacity: 1; }}.progress-bar {height: 4px;background-color: #00ff41;animation: progress 3s linear infinite;width: 0%;}@keyframes progress {0% { width: 0%; }100% { width: 100%; }}.camera-feed {border: 1px solid #00ff41;background-color: #000;position: relative;overflow: hidden;cursor: pointer;transition: all 0.3s;}.camera-feed:hover {border-color: #00ffff;box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);}.camera-feed::before {content: "";position: absolute;top: 0;left: 0;right: 0;bottom: 0;background: linear-gradient(rgba(0, 255, 65, 0.1) 1px,transparent 1px);background-size: 100% 2px;animation: scanline 4s linear infinite;pointer-events: none;}.pulse {animation: pulse 2s infinite;}@keyframes pulse {0% { box-shadow: 0 0 0 0 rgba(0, 255, 65, 0.7); }70% { box-shadow: 0 0 0 10px rgba(0, 255, 65, 0); }100% { box-shadow: 0 0 0 0 rgba(0, 255, 65, 0); }}/* Fullscreen viewer */.fullscreen-viewer {position: fixed;top: 0;left: 0;width: 100%;height: 100%;background-color: rgba(0, 0, 0, 0.9);z-index: 1000;display: none;flex-direction: column;align-items: center;justify-content: center;}.viewer-content {width: 90%;height: 80%;border: 2px solid #00ff41;position: relative;background-color: #000;}.viewer-content::before {content: "";position: absolute;top: 0;left: 0;right: 0;bottom: 0;background: linear-gradient(rgba(0, 255, 65, 0.1) 1px,transparent 1px);background-size: 100% 2px;animation: scanline 4s linear infinite;pointer-events: none;}.viewer-controls {margin-top: 20px;display: flex;gap: 15px;}.viewer-btn {background-color: #000;border: 1px solid #00ff41;color: #00ff41;padding: 8px 15px;cursor: pointer;transition: all 0.3s;}.viewer-btn:hover {background-color: #00ff41;color: #000;}.viewer-info {position: absolute;bottom: 10px;left: 10px;background-color: rgba(0, 0, 0, 0.7);padding: 5px 10px;font-size: 12px;border: 1px solid #00ff41;}.no-signal {position: absolute;top: 0;left: 0;width: 100%;height: 100%;display: flex;align-items: center;justify-content: center;flex-direction: column;color: #ff0000;font-size: 24px;text-transform: uppercase;}.no-signal::before {content: "";position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: linear-gradient(0deg, transparent 45%, rgba(255, 0, 0, 0.1) 45%, rgba(255, 0, 0, 0.1) 55%, transparent 55%),linear-gradient(90deg, transparent 45%, rgba(255, 0, 0, 0.1) 45%, rgba(255, 0, 0, 0.1) 55%, transparent 55%);background-size: 10px 10px;}</style></head><body class="bg-black text-green-400 p-4"><div class="scanline"></div><!-- Fullscreen Viewer (hidden by default) --><div class="fullscreen-viewer" id="fullscreenViewer"><div class="viewer-content" id="viewerContent"><div class="no-signal" id="noSignal"><i class="fas fa-exclamation-triangle mb-2"></i><div>NO SIGNAL</div></div><div class="viewer-info" id="viewerInfo">FEED #1 | 192.168.1.108:8080 | RTSP</div></div><div class="viewer-controls"><button class="viewer-btn" id="zoomInBtn"><i class="fas fa-search-plus"></i> Zoom In</button><button class="viewer-btn" id="zoomOutBtn"><i class="fas fa-search-minus"></i> Zoom Out</button><button class="viewer-btn" id="snapshotBtn"><i class="fas fa-camera"></i> Snapshot</button><button class="viewer-btn" id="recordBtn"><i class="fas fa-circle"></i> Record</button><button class="viewer-btn" id="closeViewerBtn"><i class="fas fa-times"></i> Close</button></div></div><div class="max-w-6xl mx-auto"><!-- Header --><div class="flex justify-between items-center mb-6 border-b border-green-400 pb-2"><div class="glitch" data-text="DARK EYE v3.2.7"><h1 class="text-3xl font-bold">DARK EYE v3.2.7</h1></div><div class="flex space-x-4"><div class="text-xs"><div class="flex items-center"><span class="mr-2">STATUS:</span><span class="text-green-400 flex items-center"><span class="w-2 h-2 bg-green-400 rounded-full mr-1"></span>ACTIVE</span></div><div class="flex items-center"><span class="mr-2">TOR:</span><span class="text-green-400 flex items-center"><span class="w-2 h-2 bg-green-400 rounded-full mr-1"></span>ROUTED</span></div></div></div></div><!-- Main Content --><div class="grid grid-cols-1 lg:grid-cols-3 gap-6"><!-- Left Panel - Controls --><div class="lg:col-span-1 bg-black border border-green-400 p-4"><h2 class="text-xl mb-4 border-b border-green-400 pb-2">CONTROL PANEL</h2><div class="mb-6"><label class="block text-sm mb-2">TARGET IPv4</label><div class="flex"><input type="text" class="bg-black border border-green-400 px-3 py-2 w-full text-green-400" value="192.168.1.108"><button class="bg-green-400 text-black px-3 py-2 ml-2 hover:bg-green-300 transition"><i class="fas fa-crosshairs"></i></button></div></div><div class="mb-6"><label class="block text-sm mb-2">PORT RANGE</label><div class="flex"><input type="text" class="bg-black border border-green-400 px-3 py-2 w-1/2 text-green-400" placeholder="Start" value="8000"><input type="text" class="bg-black border border-green-400 px-3 py-2 w-1/2 ml-2 text-green-400" placeholder="End" value="8080"></div></div><div class="mb-6"><label class="block text-sm mb-2">BRUTE FORCE DICTIONARY</label><select class="bg-black border border-green-400 px-3 py-2 w-full text-green-400"><option>default_passwords.dic</option><option>common_passwords.dic</option><option>custom_list.dic</option></select></div><div class="mb-6"><label class="block text-sm mb-2">EXPLOIT TYPE</label><select class="bg-black border border-green-400 px-3 py-2 w-full text-green-400"><option>RTSP Stream Hijack</option><option>HTTP Digest Auth Bypass</option><option>ONVIF Protocol Exploit</option><option>UPnP Port Forwarding</option></select></div><div class="flex space-x-2"><button class="bg-green-400 text-black px-4 py-2 flex-1 hover:bg-green-300 transition flex items-center justify-center"><i class="fas fa-play mr-2"></i> EXECUTE</button><button class="bg-red-400 text-black px-4 py-2 flex-1 hover:bg-red-300 transition flex items-center justify-center"><i class="fas fa-stop mr-2"></i> ABORT</button></div><div class="mt-6"><div class="flex justify-between text-xs mb-1"><span>SYSTEM LOAD</span><span>87%</span></div><div class="w-full bg-gray-800 h-2"><div class="bg-green-400 h-2" style="width: 87%;"></div></div></div></div><!-- Middle Panel - Terminal --><div class="lg:col-span-2 bg-black border border-green-400 p-4"><h2 class="text-xl mb-4 border-b border-green-400 pb-2">TERMINAL OUTPUT</h2><div class="font-mono text-xs mb-4 h-64 overflow-y-auto bg-gray-900 p-3"><p class="text-green-400">> Initializing DARK EYE v3.2.7...</p><p class="text-green-400">> TOR routing established</p><p class="text-green-400">> Scanning network for vulnerable devices...</p><p class="text-green-400">> Found 3 potential targets</p><p class="text-green-400">> Targeting: 192.168.1.108</p><p class="text-green-400">> Port scan initiated (8000-8080)</p><p class="text-green-400">> Open ports detected: 8000, 8001, 8080</p><p class="text-green-400">> Attempting RTSP stream access...</p><p class="text-green-400">> Authentication required</p><p class="text-green-400">> Loading brute force dictionary: default_passwords.dic</p><p class="text-green-400">> Trying credentials: admin:admin</p><p class="text-red-400">> Access denied</p><p class="text-green-400">> Trying credentials: admin:12345</p><p class="text-red-400">> Access denied</p><p class="text-green-400">> Trying credentials: admin:password</p><p class="text-green-400">> ACCESS GRANTED</p><p class="text-green-400">> Establishing video stream...</p><p class="text-green-400">> Stream available at rtsp://192.168.1.108:8080/stream</p><p class="text-green-400">> <span class="terminal-cursor"></span></p></div><div class="flex"><input type="text" class="bg-black border border-green-400 px-3 py-2 w-full text-green-400 font-mono" value="connect --ip 192.168.1.108 --port 8080 --feed 1"><button class="bg-green-400 text-black px-3 py-2 ml-2 hover:bg-green-300 transition"><i class="fas fa-terminal"></i></button></div><div class="mt-4"><div class="flex justify-between text-xs mb-1"><span>EXPLOIT PROGRESS</span><span>64%</span></div><div class="w-full bg-gray-800 h-2"><div class="progress-bar"></div></div></div></div></div><!-- Camera Feeds --><div class="mt-6 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"><div class="camera-feed p-2" data-feed="1" data-ip="192.168.1.108" data-port="8080"><div class="relative pt-[56.25%]"><div class="absolute inset-0 flex items-center justify-center"><div class="text-center"><i class="fas fa-video text-4xl mb-2"></i><p>FEED #1</p><p class="text-xs mt-1">192.168.1.108:8080</p></div></div><div class="absolute bottom-2 left-2 text-xs"><span class="bg-green-400 text-black px-1">LIVE</span></div></div></div><div class="camera-feed p-2" data-feed="2" data-ip="192.168.1.105" data-port="8000"><div class="relative pt-[56.25%]"><div class="absolute inset-0 flex items-center justify-center"><div class="text-center"><i class="fas fa-unlock-alt text-4xl mb-2 pulse"></i><p>FEED #2</p><p class="text-xs mt-1">192.168.1.105:8000</p></div></div><div class="absolute bottom-2 left-2 text-xs"><span class="bg-yellow-400 text-black px-1">AUTH REQUIRED</span></div></div></div><div class="camera-feed p-2" data-feed="3" data-ip="192.168.1.107" data-port="8001"><div class="relative pt-[56.25%]"><div class="absolute inset-0 flex items-center justify-center"><div class="text-center"><i class="fas fa-lock text-4xl mb-2"></i><p>FEED #3</p><p class="text-xs mt-1">192.168.1.107:8001</p></div></div><div class="absolute bottom-2 left-2 text-xs"><span class="bg-red-400 text-black px-1">LOCKED</span></div></div></div></div><!-- Footer --><div class="mt-6 border-t border-green-400 pt-2 text-xs flex justify-between"><div><span class="mr-4">SESSION: 7m 42s</span><span class="mr-4">TARGETS: 3</span><span>COMPROMISED: 1</span></div><div><span class="mr-4">[F1] HELP</span><span class="mr-4">[F2] SETTINGS</span><span>[F3] EXIT</span></div></div></div><script>// DOM elementsconst terminal = document.querySelector('.font-mono');const fullscreenViewer = document.getElementById('fullscreenViewer');const viewerContent = document.getElementById('viewerContent');const noSignal = document.getElementById('noSignal');const viewerInfo = document.getElementById('viewerInfo');const closeViewerBtn = document.getElementById('closeViewerBtn');const zoomInBtn = document.getElementById('zoomInBtn');const zoomOutBtn = document.getElementById('zoomOutBtn');const snapshotBtn = document.getElementById('snapshotBtn');const recordBtn = document.getElementById('recordBtn');const cameraFeeds = document.querySelectorAll('.camera-feed');const terminalInput = document.querySelector('.font-mono input');// Simulated video feed placeholder (for Feed #1)const feedPlaceholder = 'https://via.placeholder.com/1280x720.png?text=Feed+1+Live+Stream';// Simulated terminal commandsconst commands = ["> Establishing secure connection...","> Bypassing firewall...","> Injecting payload...","> Compromising device firmware...","> Overriding authentication protocols..."];// State managementlet commandIndex = 0;let zoomLevel = 1;let isRecording = false;let currentFeed = null;// Initialize terminalfunction initializeTerminal() {// Clear existing dynamic contentconst existingContent = terminal.querySelectorAll('p:not(.text-green-400), span.terminal-cursor');existingContent.forEach(el => el.remove());commandIndex = 0;typeCommand();}// Terminal typing effectfunction typeCommand() {if (commandIndex < commands.length) {const line = document.createElement('p');line.className = 'text-green-400';terminal.appendChild(line);let charIndex = 0;const typing = setInterval(() => {if (charIndex < commands[commandIndex].length) {line.textContent += commands[commandIndex].charAt(charIndex);charIndex++;terminal.scrollTop = terminal.scrollHeight;} else {clearInterval(typing);commandIndex++;setTimeout(typeCommand, 1000);}}, 50);} else {// Add single blinking cursorconst existingCursor = terminal.querySelector('.terminal-cursor');if (!existingCursor) {const cursor = document.createElement('span');cursor.className = 'terminal-cursor';terminal.appendChild(cursor);terminal.scrollTop = terminal.scrollHeight;}}}// Handle camera feed clicksfunction setupCameraFeeds() {cameraFeeds.forEach(feed => {feed.addEventListener('click', () => {const feedNum = feed.getAttribute('data-feed');const ip = feed.getAttribute('data-ip');const port = feed.getAttribute('data-port');currentFeed = feedNum;viewerInfo.textContent = `FEED #${feedNum} | ${ip}:${port} | RTSP`;// Reset zoomzoomLevel = 1;viewerContent.style.transform = `scale(${zoomLevel})`;// Simulate feed contentviewerContent.innerHTML = ''; // Clear existing contentif (feedNum === '1') {noSignal.style.display = 'none';const img = document.createElement('img');img.src = feedPlaceholder;img.style.width = '100%';img.style.height = '100%';img.style.objectFit = 'contain';viewerContent.appendChild(img);} else {noSignal.style.display = 'flex';viewerContent.appendChild(noSignal);viewerContent.appendChild(viewerInfo);}// Show fullscreen viewerfullscreenViewer.style.display = 'flex';document.body.style.overflow = 'hidden';});});}// Fullscreen viewer controlsfunction setupViewerControls() {// Close viewercloseViewerBtn.addEventListener('click', closeViewer);fullscreenViewer.addEventListener('click', (e) => {if (e.target === fullscreenViewer) {closeViewer();}});// ESC key to closedocument.addEventListener('keydown', (e) => {if (e.key === 'Escape' && fullscreenViewer.style.display === 'flex') {closeViewer();}});// Zoom controlszoomInBtn.addEventListener('click', () => {zoomLevel = Math.min(zoomLevel + 0.1, 3); // Max zoom: 3xviewerContent.style.transform = `scale(${zoomLevel})`;});zoomOutBtn.addEventListener('click', () => {zoomLevel = Math.max(zoomLevel - 0.1, 0.5); // Min zoom: 0.5xviewerContent.style.transform = `scale(${zoomLevel})`;});// SnapshotsnapshotBtn.addEventListener('click', () => {if (currentFeed === '1') {const link = document.createElement('a');link.href = feedPlaceholder;link.download = `snapshot_feed_${currentFeed}_${Date.now()}.png`;link.click();} else {alert('No signal available for snapshot!');}});// RecordrecordBtn.addEventListener('click', () => {if (currentFeed !== '1') {alert('No signal available for recording!');return;}isRecording = !isRecording;if (isRecording) {recordBtn.innerHTML = '<i class="fas fa-stop"></i> Stop Recording';recordBtn.style.backgroundColor = '#ff0000';recordBtn.style.color = '#000';} else {recordBtn.innerHTML = '<i class="fas fa-circle"></i> Record';recordBtn.style.backgroundColor = '#000';recordBtn.style.color = '#00ff41';alert('Recording saved! (This would save the video file in a real app)');}});}// Terminal input handlingfunction setupTerminalInput() {terminalInput.addEventListener('keydown', (e) => {if (e.key === 'Enter') {const command = terminalInput.value.trim();if (command) {const line = document.createElement('p');line.className = 'text-green-400';line.textContent = `> ${command}`;terminal.appendChild(line);terminal.scrollTop = terminal.scrollHeight;// Simulate command responsesetTimeout(() => {const response = document.createElement('p');response.className = 'text-green-400';response.textContent = `> Executing: ${command}`;terminal.appendChild(response);terminal.scrollTop = terminal.scrollHeight;}, 500);terminalInput.value = ''; // Clear input}}});}// Close viewer functionfunction closeViewer() {fullscreenViewer.style.display = 'none';document.body.style.overflow = 'auto';viewerContent.innerHTML = ''; // Clear viewer contentviewerContent.appendChild(noSignal);viewerContent.appendChild(viewerInfo);noSignal.style.display = 'flex';zoomLevel = 1;viewerContent.style.transform = `scale(${zoomLevel})`;}// Initializefunction initialize() {if (!terminal || !fullscreenViewer || !viewerContent || !noSignal || !viewerInfo) {console.error('Required DOM elements are missing!');return;}initializeTerminal();setupCameraFeeds();setupViewerControls();setupTerminalInput();}// Start after DOM is loadeddocument.addEventListener('DOMContentLoaded', initialize);</script><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=dror21/idk" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body></html>
README.md+7-5
index.html+709-19
prompts.txtAdded