Spaces:
Running
Running
Download keeptrackspace.html from AURAASUS/deepsite-project: direct link, hf CLI and curl.
- Browser
- Download file 17.6 kB
-
https://huggingface.co/spaces/AURAASUS/deepsite-project/resolve/main/keeptrackspace.html
- Command line
-
hf download hf://spaces/AURAASUS/deepsite-project/keeptrackspace.html
-
curl -L -o keeptrackspace.html https://huggingface.co/spaces/AURAASUS/deepsite-project/resolve/main/keeptrackspace.html
17.6 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Keep Track of Space | OrbitAI</title> | |
| <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet"> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"> | |
| <link rel="stylesheet" href="style.css"> | |
| <script src="https://cesium.com/downloads/cesiumjs/releases/1.100/Build/Cesium/Cesium.js"></script> | |
| <link href="https://cesium.com/downloads/cesiumjs/releases/1.100/Build/Cesium/Widgets/widgets.css" rel="stylesheet"> | |
| <style> | |
| #cesiumContainer { | |
| width: 100%; | |
| height: 500px; | |
| margin-top: 20px; | |
| border-radius: 8px; | |
| overflow: hidden; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-900 text-white"> | |
| <div class="flex h-screen"> | |
| <!-- Sidebar --> | |
| <div class="w-64 bg-gray-800 p-4"> | |
| <div class="mb-8"> | |
| <h1 class="text-2xl font-bold text-blue-400">OrbitAI</h1> | |
| </div> | |
| <nav class="space-y-2"> | |
| <a href="dashboard.html" class="flex items-center space-x-2 text-gray-300 hover:text-white p-3 rounded-lg hover:bg-gray-700"> | |
| <i class="fas fa-tachometer-alt"></i> | |
| <span>Dashboard</span> | |
| </a> | |
| <a href="feeds.html" class="flex items-center space-x-2 text-gray-300 hover:text-white p-3 rounded-lg hover:bg-gray-700"> | |
| <i class="fas fa-satellite-dish"></i> | |
| <span>Satellite Feeds</span> | |
| </a> | |
| <a href="alerts.html" class="flex items-center space-x-2 text-gray-300 hover:text-white p-3 rounded-lg hover:bg-gray-700"> | |
| <i class="fas fa-bell"></i> | |
| <span>Event Alerts</span> | |
| </a> | |
| <a href="analytics.html" class="flex items-center space-x-2 text-gray-300 hover:text-white p-3 rounded-lg hover:bg-gray-700"> | |
| <i class="fas fa-chart-line"></i> | |
| <span>Analytics</span> | |
| </a> | |
| <a href="marketplace.html" class="flex items-center space-x-2 text-gray-300 hover:text-white p-3 rounded-lg hover:bg-gray-700"> | |
| <i class="fas fa-store"></i> | |
| <span>Marketplace</span> | |
| </a> | |
| <a href="compliance.html" class="flex items-center space-x-2 text-gray-300 hover:text-white p-3 rounded-lg hover:bg-gray-700"> | |
| <i class="fas fa-gavel"></i> | |
| <span>Compliance</span> | |
| </a> | |
| <a href="keeptrackspace.html" class="flex items-center space-x-2 text-blue-400 bg-gray-700 p-3 rounded-lg"> | |
| <i class="fas fa-satellite"></i> | |
| <span>Keep Track of Space</span> | |
| </a> | |
| <a href="api.html" class="flex items-center space-x-2 text-gray-300 hover:text-white p-3 rounded-lg hover:bg-gray-700"> | |
| <i class="fas fa-code"></i> | |
| <span>API Gateway</span> | |
| </a> | |
| <a href="settings.html" class="flex items-center space-x-2 text-gray-300 hover:text-white p-3 rounded-lg hover:bg-gray-700"> | |
| <i class="fas fa-cog"></i> | |
| <span>Settings</span> | |
| </a> | |
| <a href="deepsite.html" class="flex items-center space-x-2 text-gray-300 hover:text-white p-3 rounded-lg hover:bg-gray-700"> | |
| <i class="fas fa-code"></i> | |
| <span>DeepSite</span> | |
| </a> | |
| </nav> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="flex-1 p-8 overflow-y-auto"> | |
| <div class="flex justify-between items-center mb-8"> | |
| <h2 class="text-3xl font-bold">Keep Track of Space</h2> | |
| <div class="flex space-x-4"> | |
| <button class="bg-blue-600 hover:bg-blue-700 px-4 py-2 rounded-lg"> | |
| <i class="fas fa-sync-alt mr-2"></i>Refresh Data | |
| </button> | |
| <button class="bg-gray-700 hover:bg-gray-600 px-4 py-2 rounded-lg"> | |
| <i class="fas fa-filter mr-2"></i>Filter Objects | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Stats Cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-8"> | |
| <div class="bg-gray-800 p-6 rounded-lg"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-gray-400">Active Satellites</p> | |
| <h3 class="text-2xl font-bold">5,872</h3> | |
| </div> | |
| <i class="fas fa-satellite text-blue-400 text-2xl"></i> | |
| </div> | |
| <p class="text-green-400 text-sm mt-2"><i class="fas fa-arrow-up mr-1"></i>42 new this month</p> | |
| </div> | |
| <div class="bg-gray-800 p-6 rounded-lg"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-gray-400">Space Debris</p> | |
| <h3 class="text-2xl font-bold">27,451</h3> | |
| </div> | |
| <i class="fas fa-trash-alt text-yellow-400 text-2xl"></i> | |
| </div> | |
| <p class="text-red-400 text-sm mt-2"><i class="fas fa-arrow-up mr-1"></i>127 new this month</p> | |
| </div> | |
| <div class="bg-gray-800 p-6 rounded-lg"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-gray-400">Collision Risk</p> | |
| <h3 class="text-2xl font-bold">12</h3> | |
| </div> | |
| <i class="fas fa-exclamation-triangle text-red-400 text-2xl"></i> | |
| </div> | |
| <p class="text-yellow-400 text-sm mt-2">3 high priority</p> | |
| </div> | |
| <div class="bg-gray-800 p-6 rounded-lg"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-gray-400">Tracking Accuracy</p> | |
| <h3 class="text-2xl font-bold">99.7%</h3> | |
| </div> | |
| <i class="fas fa-bullseye text-green-400 text-2xl"></i> | |
| </div> | |
| <p class="text-green-400 text-sm mt-2"><i class="fas fa-arrow-up mr-1"></i>0.2% improvement</p> | |
| </div> | |
| </div> | |
| <!-- Cesium 3D Visualization --> | |
| <div class="bg-gray-800 rounded-lg p-6 mb-8"> | |
| <h3 class="text-xl font-bold mb-4">3D Orbital Visualization</h3> | |
| <div id="cesiumContainer"></div> | |
| </div> | |
| <!-- Space Objects Table --> | |
| <div class="bg-gray-800 rounded-lg p-6 mb-8"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="text-xl font-bold">Space Objects Tracking</h3> | |
| <div class="relative"> | |
| <input type="text" placeholder="Search objects..." class="bg-gray-700 border border-gray-600 rounded-lg pl-10 pr-4 py-2 w-64"> | |
| <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i> | |
| </div> | |
| </div> | |
| <div class="overflow-x-auto"> | |
| <table class="min-w-full"> | |
| <thead> | |
| <tr class="border-b border-gray-700"> | |
| <th class="py-3 px-4 text-left">Object</th> | |
| <th class="py-3 px-4 text-left">Type</th> | |
| <th class="py-3 px-4 text-left">Orbit</th> | |
| <th class="py-3 px-4 text-left">Velocity</th> | |
| <th class="py-3 px-4 text-left">Risk Level</th> | |
| <th class="py-3 px-4 text-left">Last Updated</th> | |
| <th class="py-3 px-4 text-left">Actions</th> | |
| </tr> | |
| </thead> | |
| <tbody> | |
| <tr class="border-b border-gray-700 hover:bg-gray-750"> | |
| <td class="py-3 px-4"> | |
| <div class="flex items-center"> | |
| <i class="fas fa-satellite text-blue-400 mr-2"></i> | |
| <span>Starlink-4521</span> | |
| </div> | |
| </td> | |
| <td class="py-3 px-4">Communications</td> | |
| <td class="py-3 px-4">LEO</td> | |
| <td class="py-3 px-4">7.8 km/s</td> | |
| <td class="py-3 px-4"> | |
| <span class="bg-green-500 text-green-900 text-xs px-2 py-1 rounded">Low</span> | |
| </td> | |
| <td class="py-3 px-4">2 min ago</td> | |
| <td class="py-3 px-4"> | |
| <button class="text-blue-400 hover:text-blue-300 mr-2"> | |
| <i class="fas fa-eye"></i> | |
| </button> | |
| <button class="text-gray-400 hover:text-gray-300"> | |
| <i class="fas fa-bell"></i> | |
| </button> | |
| </td> | |
| </tr> | |
| <tr class="border-b border-gray-700 hover:bg-gray-750"> | |
| <td class="py-3 px-4"> | |
| <div class="flex items-center"> | |
| <i class="fas fa-trash-alt text-yellow-400 mr-2"></i> | |
| <span>Debris-8873</span> | |
| </div> | |
| </td> | |
| <td class="py-3 px-4">Debris</td> | |
| <td class="py-3 px-4">LEO</td> | |
| <td class="py-3 px-4">7.6 km/s</td> | |
| <td class="py-3 px-4"> | |
| <span class="bg-red-500 text-red-900 text-xs px-2 py-1 rounded">High</span> | |
| </td> | |
| <td class="py-3 px-4">5 min ago</td> | |
| <td class="py-3 px-4"> | |
| <button class="text-blue-400 hover:text-blue-300 mr-2"> | |
| <i class="fas fa-eye"></i> | |
| </button> | |
| <button class="text-gray-400 hover:text-gray-300"> | |
| <i class="fas fa-bell"></i> | |
| </button> | |
| </td> | |
| </tr> | |
| <tr class="border-b border-gray-700 hover:bg-gray-750"> | |
| <td class="py-3 px-4"> | |
| <div class="flex items-center"> | |
| <i class="fas fa-satellite text-green-400 mr-2"></i> | |
| <span>Hubble Telescope</span> | |
| </div> | |
| </td> | |
| <td class="py-3 px-4">Observatory</td> | |
| <td class="py-3 px-4">LEO</td> | |
| <td class="py-3 px-4">7.5 km/s</td> | |
| <td class="py-3 px-4"> | |
| <span class="bg-yellow-500 text-yellow-900 text-xs px-2 py-1 rounded">Medium</span> | |
| </td> | |
| <td class="py-3 px-4">10 min ago</td> | |
| <td class="py-3 px-4"> | |
| <button class="text-blue-400 hover:text-blue-300 mr-2"> | |
| <i class="fas fa-eye"></i> | |
| </button> | |
| <button class="text-gray-400 hover:text-gray-300"> | |
| <i class="fas fa-bell"></i> | |
| </button> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| <!-- Orbital Visualization Controls --> | |
| <div class="bg-gray-800 rounded-lg p-6"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="text-xl font-bold">Visualization Controls</h3> | |
| <div class="flex space-x-2"> | |
| <button class="bg-gray-700 hover:bg-gray-600 px-3 py-1 rounded text-sm">2D View</button> | |
| <button class="bg-blue-600 hover:bg-blue-700 px-3 py-1 rounded text-sm">3D View</button> | |
| <button class="bg-gray-700 hover:bg-gray-600 px-3 py-1 rounded text-sm">Trajectory</button> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-4"> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-300 mb-2">Time Speed</label> | |
| <input type="range" min="1" max="100" value="50" class="w-full"> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-300 mb-2">Satellite Size</label> | |
| <input type="range" min="1" max="10" value="5" class="w-full"> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-300 mb-2">Trail Length</label> | |
| <input type="range" min="1" max="100" value="30" class="w-full"> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| // Initialize Cesium Viewer | |
| Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI0MzI2YjQ5NS00Y2YwLTRhZjQtYjI1YS00ZjQ5ZmE2YzM3ODgiLCJpZCI6MTU5NTk1LCJpYXQiOjE3MDk3MjQ0MzV9.3n3GxJhj0nZ0u3n3GxJhj0nZ0u3n3GxJhj0nZ0u3n3G'; | |
| const viewer = new Cesium.Viewer('cesiumContainer', { | |
| terrainProvider: Cesium.createWorldTerrain(), | |
| shouldAnimate: true | |
| }); | |
| // Add sample satellite entities | |
| const satellite1 = viewer.entities.add({ | |
| name: 'Starlink-4521', | |
| position: Cesium.Cartesian3.fromDegrees(-75.0, 40.0, 500000.0), | |
| point: { | |
| pixelSize: 10, | |
| color: Cesium.Color.BLUE | |
| }, | |
| label: { | |
| text: 'Starlink-4521', | |
| font: '14px sans-serif', | |
| fillColor: Cesium.Color.WHITE, | |
| outlineColor: Cesium.Color.BLACK, | |
| outlineWidth: 2, | |
| style: Cesium.LabelStyle.FILL_AND_OUTLINE, | |
| verticalOrigin: Cesium.VerticalOrigin.BOTTOM, | |
| pixelOffset: new Cesium.Cartesian2(0, -9) | |
| } | |
| }); | |
| const satellite2 = viewer.entities.add({ | |
| name: 'Debris-8873', | |
| position: Cesium.Cartesian3.fromDegrees(-74.0, 41.0, 450000.0), | |
| point: { | |
| pixelSize: 8, | |
| color: Cesium.Color.RED | |
| }, | |
| label: { | |
| text: 'Debris-8873', | |
| font: '14px sans-serif', | |
| fillColor: Cesium.Color.WHITE, | |
| outlineColor: Cesium.Color.BLACK, | |
| outlineWidth: 2, | |
| style: Cesium.LabelStyle.FILL_AND_OUTLINE, | |
| verticalOrigin: Cesium.VerticalOrigin.BOTTOM, | |
| pixelOffset: new Cesium.Cartesian2(0, -9) | |
| } | |
| }); | |
| // Add orbital paths | |
| const orbitPath = new Cesium.SampledPositionProperty(); | |
| const now = Cesium.JulianDate.now(); | |
| for (let i = 0; i < 360; i += 10) { | |
| const time = Cesium.JulianDate.addSeconds(now, i * 60, new Cesium.JulianDate()); | |
| const position = Cesium.Cartesian3.fromDegrees(-75.0 + i/10, 40.0 + Math.sin(Cesium.Math.toRadians(i)) * 5, 500000.0); | |
| orbitPath.addSample(time, position); | |
| } | |
| const orbitEntity = viewer.entities.add({ | |
| name: 'Orbit Path', | |
| position: orbitPath, | |
| path: { | |
| show: true, | |
| width: 3, | |
| material: new Cesium.PolylineGlowMaterialProperty({ | |
| glowPower: 0.1, | |
| color: Cesium.Color.BLUE | |
| }), | |
| leadTime: 0, | |
| trailTime: 3600 | |
| } | |
| }); | |
| // Set initial camera view | |
| viewer.camera.flyTo({ | |
| destination: Cesium.Cartesian3.fromDegrees(-75.0, 40.0, 1000000.0), | |
| duration: 3.0 | |
| }); | |
| </script> | |
| </body> | |
| </html> | |