Spaces:
Running
Running
Download index.html from abeller/http-localhost-5000: direct link, hf CLI and curl.
- Browser
- Download file 18.4 kB
-
https://huggingface.co/spaces/abeller/http-localhost-5000/resolve/main/index.html
- Command line
-
hf download hf://spaces/abeller/http-localhost-5000/index.html
-
curl -L -o index.html https://huggingface.co/spaces/abeller/http-localhost-5000/resolve/main/index.html
18.4 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Local Development Environment</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: '#6366f1', | |
| secondary: '#8b5cf6', | |
| dark: '#1e293b', | |
| light: '#f8fafc' | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); | |
| min-height: 100vh; | |
| } | |
| .card { | |
| transition: all 0.3s ease; | |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); | |
| } | |
| .card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); | |
| } | |
| .glow { | |
| text-shadow: 0 0 10px rgba(99, 102, 241, 0.5); | |
| } | |
| .terminal { | |
| background-color: #1e293b; | |
| border-radius: 8px; | |
| box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25); | |
| font-family: 'Courier New', monospace; | |
| } | |
| .terminal-header { | |
| background-color: #334155; | |
| border-top-left-radius: 8px; | |
| border-top-right-radius: 8px; | |
| } | |
| .terminal-body { | |
| min-height: 150px; | |
| } | |
| .terminal-line::before { | |
| content: '$'; | |
| color: #8b5cf6; | |
| margin-right: 10px; | |
| } | |
| .feature-icon { | |
| width: 70px; | |
| height: 70px; | |
| border-radius: 20px; | |
| } | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); | |
| } | |
| </style> | |
| </head> | |
| <body class="text-dark"> | |
| <!-- Navigation --> | |
| <nav class="gradient-bg text-white sticky top-0 z-50"> | |
| <div class="container mx-auto px-4 py-3 flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <i class="fas fa-code text-2xl"></i> | |
| <span class="text-xl font-bold">LocalDev</span> | |
| </div> | |
| <div class="hidden md:flex space-x-8"> | |
| <a href="#" class="hover:text-indigo-200 transition">Home</a> | |
| <a href="#" class="hover:text-indigo-200 transition">Projects</a> | |
| <a href="#" class="hover:text-indigo-200 transition">Documentation</a> | |
| <a href="#" class="hover:text-indigo-200 transition">Settings</a> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <button class="bg-white text-primary px-4 py-2 rounded-lg font-medium hover:bg-opacity-90 transition">Sign In</button> | |
| <button class="md:hidden text-white"> | |
| <i class="fas fa-bars text-xl"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <section class="py-16 md:py-24"> | |
| <div class="container mx-auto px-4 flex flex-col md:flex-row items-center"> | |
| <div class="md:w-1/2 mb-12 md:mb-0"> | |
| <h1 class="text-4xl md:text-6xl font-bold mb-6"> | |
| Your <span class="text-primary glow">Local</span> Development <span class="text-secondary">Environment</span> | |
| </h1> | |
| <p class="text-lg text-gray-600 mb-8 max-w-lg"> | |
| Welcome to your local development server at <code class="bg-gray-100 p-1 rounded">localhost:5000</code>. | |
| Build, test, and deploy your applications with confidence. | |
| </p> | |
| <div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4"> | |
| <button class="gradient-bg text-white px-8 py-3 rounded-lg font-semibold hover:opacity-90 transition transform hover:-translate-y-0.5"> | |
| Get Started <i class="ml-2 fas fa-arrow-right"></i> | |
| </button> | |
| <button class="bg-white text-primary border border-primary px-8 py-3 rounded-lg font-semibold hover:bg-primary hover:text-white transition"> | |
| View Projects | |
| </button> | |
| </div> | |
| </div> | |
| <div class="md:w-1/2 flex justify-center"> | |
| <div class="relative"> | |
| <div class="absolute -top-6 -left-6 w-64 h-64 bg-purple-200 rounded-full mix-blend-multiply filter blur-xl opacity-70 animate-blob"></div> | |
| <div class="absolute -bottom-8 -right-6 w-64 h-64 bg-indigo-200 rounded-full mix-blend-multiply filter blur-xl opacity-70 animate-blob animation-delay-2000"></div> | |
| <div class="terminal w-full max-w-md"> | |
| <div class="terminal-header py-3 px-4 flex items-center"> | |
| <div class="flex space-x-2"> | |
| <div class="w-3 h-3 bg-red-500 rounded-full"></div> | |
| <div class="w-3 h-3 bg-yellow-500 rounded-full"></div> | |
| <div class="w-3 h-3 bg-green-500 rounded-full"></div> | |
| </div> | |
| <div class="text-center text-gray-300 text-sm flex-grow"> | |
| terminal ~ localhost:5000 | |
| </div> | |
| </div> | |
| <div class="terminal-body p-4 text-gray-200 text-sm"> | |
| <div class="terminal-line mb-2">npm init</div> | |
| <div class="terminal-line mb-2">npm start</div> | |
| <div class="text-green-400 mb-2">> Server running at http://localhost:5000</div> | |
| <div class="terminal-line">git add .</div> | |
| <div class="terminal-line">git commit -m "Initial commit"</div> | |
| <div class="text-blue-400 mt-4"># Ready for deployment!</div> | |
| <div class="flex mt-6"> | |
| <div class="w-2 h-2 rounded-full bg-green-500 animate-pulse mr-2"></div> | |
| <div class="text-xs text-green-400">Connected</div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Features Section --> | |
| <section class="py-16 bg-white"> | |
| <div class="container mx-auto px-4"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl md:text-4xl font-bold mb-4">Development <span class="text-primary">Features</span></h2> | |
| <p class="text-gray-600 max-w-2xl mx-auto">Everything you need for efficient local development</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <!-- Feature 1 --> | |
| <div class="card p-8 bg-light rounded-xl"> | |
| <div class="feature-icon gradient-bg flex items-center justify-center mb-6"> | |
| <i class="fas fa-bolt text-white text-3xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-4">Fast Refresh</h3> | |
| <p class="text-gray-600 mb-4">See changes instantly without reloading your browser. Hot module replacement included.</p> | |
| <div class="flex items-center text-primary font-medium"> | |
| <span>Learn more</span> | |
| <i class="fas fa-arrow-right ml-2"></i> | |
| </div> | |
| </div> | |
| <!-- Feature 2 --> | |
| <div class="card p-8 bg-light rounded-xl"> | |
| <div class="feature-icon gradient-bg flex items-center justify-center mb-6"> | |
| <i class="fas fa-shield-alt text-white text-3xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-4">Secure Environment</h3> | |
| <p class="text-gray-600 mb-4">Develop in a safe sandboxed environment with built-in security protocols.</p> | |
| <div class="flex items-center text-primary font-medium"> | |
| <span>Learn more</span> | |
| <i class="fas fa-arrow-right ml-2"></i> | |
| </div> | |
| </div> | |
| <!-- Feature 3 --> | |
| <div class="card p-8 bg-light rounded-xl"> | |
| <div class="feature-icon gradient-bg flex items-center justify-center mb-6"> | |
| <i class="fas fa-plug text-white text-3xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-4">Easy Integration</h3> | |
| <p class="text-gray-600 mb-4">Connect to databases, APIs, and external services with minimal configuration.</p> | |
| <div class="flex items-center text-primary font-medium"> | |
| <span>Learn more</span> | |
| <i class="fas fa-arrow-right ml-2"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Stats Section --> | |
| <section class="py-16 gradient-bg text-white"> | |
| <div class="container mx-auto px-4"> | |
| <div class="grid grid-cols-2 md:grid-cols-4 gap-8 text-center"> | |
| <div> | |
| <div class="text-4xl font-bold mb-2">99.9%</div> | |
| <div class="text-indigo-200">Uptime</div> | |
| </div> | |
| <div> | |
| <div class="text-4xl font-bold mb-2">500ms</div> | |
| <div class="text-indigo-200">Avg. Response</div> | |
| </div> | |
| <div> | |
| <div class="text-4xl font-bold mb-2">24/7</div> | |
| <div class="text-indigo-200">Support</div> | |
| </div> | |
| <div> | |
| <div class="text-4xl font-bold mb-2">100+</div> | |
| <div class="text-indigo-200">Plugins</div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Projects Section --> | |
| <section class="py-16 bg-white"> | |
| <div class="container mx-auto px-4"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl md:text-4xl font-bold mb-4">Your <span class="text-primary">Projects</span></h2> | |
| <p class="text-gray-600 max-w-2xl mx-auto">Manage and access your local development projects</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> | |
| <!-- Project 1 --> | |
| <div class="border border-gray-200 rounded-xl overflow-hidden hover:shadow-lg transition"> | |
| <div class="h-40 bg-gradient-to-r from-indigo-500 to-purple-600 flex items-center justify-center"> | |
| <i class="fab fa-react text-white text-6xl"></i> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2">React Dashboard</h3> | |
| <p class="text-gray-600 mb-4">Modern admin dashboard built with React and TailwindCSS</p> | |
| <div class="flex justify-between"> | |
| <div class="text-sm text-gray-500">Last modified: 2 days ago</div> | |
| <button class="text-primary font-medium">Open</button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Project 2 --> | |
| <div class="border border-gray-200 rounded-xl overflow-hidden hover:shadow-lg transition"> | |
| <div class="h-40 bg-gradient-to-r from-green-500 to-teal-600 flex items-center justify-center"> | |
| <i class="fab fa-node-js text-white text-6xl"></i> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2">API Server</h3> | |
| <p class="text-gray-600 mb-4">RESTful API service with Express and MongoDB</p> | |
| <div class="flex justify-between"> | |
| <div class="text-sm text-gray-500">Last modified: 1 week ago</div> | |
| <button class="text-primary font-medium">Open</button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Project 3 --> | |
| <div class="border border-gray-200 rounded-xl overflow-hidden hover:shadow-lg transition"> | |
| <div class="h-40 bg-gradient-to-r from-blue-500 to-cyan-600 flex items-center justify-center"> | |
| <i class="fab fa-vuejs text-white text-6xl"></i> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2">E-commerce Store</h3> | |
| <p class="text-gray-600 mb-4">Vue.js e-commerce platform with shopping cart</p> | |
| <div class="flex justify-between"> | |
| <div class="text-sm text-gray-500">Last modified: 3 days ago</div> | |
| <button class="text-primary font-medium">Open</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="text-center mt-12"> | |
| <button class="bg-white text-primary border border-primary px-8 py-3 rounded-lg font-semibold hover:bg-primary hover:text-white transition"> | |
| View All Projects | |
| </button> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-dark text-gray-400 py-12"> | |
| <div class="container mx-auto px-4"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <div class="flex items-center space-x-2 mb-4"> | |
| <i class="fas fa-code text-2xl text-primary"></i> | |
| <span class="text-xl font-bold text-white">LocalDev</span> | |
| </div> | |
| <p class="mb-4">Your local development environment for building amazing applications.</p> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="hover:text-white transition"><i class="fab fa-github"></i></a> | |
| <a href="#" class="hover:text-white transition"><i class="fab fa-twitter"></i></a> | |
| <a href="#" class="hover:text-white transition"><i class="fab fa-discord"></i></a> | |
| <a href="#" class="hover:text-white transition"><i class="fab fa-linkedin"></i></a> | |
| </div> | |
| </div> | |
| <div> | |
| <h4 class="text-white font-bold mb-4">Resources</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="hover:text-white transition">Documentation</a></li> | |
| <li><a href="#" class="hover:text-white transition">Tutorials</a></li> | |
| <li><a href="#" class="hover:text-white transition">API Reference</a></li> | |
| <li><a href="#" class="hover:text-white transition">Community</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-white font-bold mb-4">Support</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="hover:text-white transition">Help Center</a></li> | |
| <li><a href="#" class="hover:text-white transition">Troubleshooting</a></li> | |
| <li><a href="#" class="hover:text-white transition">Contact Us</a></li> | |
| <li><a href="#" class="hover:text-white transition">Status</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-white font-bold mb-4">Subscribe</h4> | |
| <p class="mb-4">Stay updated with the latest features and news.</p> | |
| <div class="flex"> | |
| <input type="email" placeholder="Your email" class="px-4 py-2 rounded-l-lg bg-gray-800 text-white w-full focus:outline-none"> | |
| <button class="gradient-bg text-white px-4 py-2 rounded-r-lg"> | |
| <i class="fas fa-paper-plane"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-12 pt-8 text-center"> | |
| <p>© 2023 Local Development Environment. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Simple terminal animation | |
| document.addEventListener('DOMContentLoaded', function() { | |
| const terminalLines = document.querySelectorAll('.terminal-line'); | |
| let delay = 1000; | |
| terminalLines.forEach(line => { | |
| setTimeout(() => { | |
| line.style.opacity = '1'; | |
| }, delay); | |
| delay += 500; | |
| }); | |
| }); | |
| </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=abeller/http-localhost-5000" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |