Download index.html from jakeyfish/tuning: direct link, hf CLI and curl.
- Browser
- Download file 18.5 kB
-
https://huggingface.co/spaces/jakeyfish/tuning/resolve/main/index.html
- Command line
-
hf download hf://spaces/jakeyfish/tuning/index.html
-
curl -L -o index.html https://huggingface.co/spaces/jakeyfish/tuning/resolve/main/index.html
18.5 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>OBD2 Pro - iCarsoft JP 2.0 Companion App</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"> | |
| <style> | |
| /* Custom styles for the OBD2 gauge */ | |
| .gauge-container { | |
| width: 200px; | |
| height: 200px; | |
| position: relative; | |
| margin: 0 auto; | |
| } | |
| .gauge { | |
| width: 100%; | |
| height: 100%; | |
| position: relative; | |
| border-radius: 50%; | |
| box-shadow: 0 0 0 4px #1a202c, | |
| 0 0 20px rgba(0, 0, 0, 0.5); | |
| background: conic-gradient( | |
| #4ade80 0% 20%, | |
| #a3e635 20% 40%, | |
| #facc15 40% 60%, | |
| #f97316 60% 80%, | |
| #ef4444 80% 100% | |
| ); | |
| } | |
| .gauge-center { | |
| position: absolute; | |
| width: 50%; | |
| height: 50%; | |
| background: #1a202c; | |
| border-radius: 50%; | |
| top: 25%; | |
| left: 25%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| color: white; | |
| font-weight: bold; | |
| box-shadow: inset 0 0 10px rgba(0,0,0,0.5); | |
| } | |
| .needle { | |
| position: absolute; | |
| width: 2px; | |
| height: 50%; | |
| background: #1a202c; | |
| top: 0; | |
| left: 50%; | |
| transform-origin: bottom center; | |
| transition: transform 0.5s ease-in-out; | |
| z-index: 10; | |
| } | |
| /* Animation for connection status */ | |
| @keyframes pulse { | |
| 0% { opacity: 0.6; } | |
| 50% { opacity: 1; } | |
| 100% { opacity: 0.6; } | |
| } | |
| .pulse { | |
| animation: pulse 2s infinite; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-100 text-gray-900 font-sans"> | |
| <!-- Header --> | |
| <header class="bg-indigo-800 text-white shadow-lg"> | |
| <div class="container mx-auto px-4 py-6 flex justify-between items-center"> | |
| <div class="flex items-center space-x-3"> | |
| <i class="fas fa-car-alt text-3xl text-yellow-300"></i> | |
| <div> | |
| <h1 class="text-2xl font-bold">OBD2 Pro</h1> | |
| <p class="text-sm text-indigo-200">iCarsoft JP 2.0 Companion</p> | |
| </div> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <span class="bg-yellow-500 text-xs px-2 py-1 rounded-full font-bold">ANDROID</span> | |
| <span class="bg-green-600 text-xs px-2 py-1 rounded-full font-bold">iCarsoft 2.0</span> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="container mx-auto px-4 py-8"> | |
| <!-- App Features Section --> | |
| <section class="mb-12"> | |
| <h2 class="text-2xl font-bold mb-6 text-indigo-800 border-b pb-2">Diagnostic Features</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6"> | |
| <!-- Feature Card 1 --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition-shadow"> | |
| <div class="p-6"> | |
| <div class="text-indigo-600 text-3xl mb-4"> | |
| <i class="fas fa-tachometer-alt"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">Real-time Metrics</h3> | |
| <p class="text-gray-600">Monitor engine RPM, speed, coolant temp, and more in real-time with interactive gauges.</p> | |
| </div> | |
| </div> | |
| <!-- Feature Card 2 --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition-shadow"> | |
| <div class="p-6"> | |
| <div class="text-indigo-600 text-3xl mb-4"> | |
| <i class="fas fa-bug"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">Fault Diagnosis</h3> | |
| <p class="text-gray-600">Read and clear DTCs (Diagnostic Trouble Codes) with detailed explanations.</p> | |
| </div> | |
| </div> | |
| <!-- Feature Card 3 --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition-shadow"> | |
| <div class="p-6"> | |
| <div class="text-indigo-600 text-3xl mb-4"> | |
| <i class="fas fa-history"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">Maintenance History</h3> | |
| <p class="text-gray-600">Track vehicle maintenance and receive alerts for upcoming service needs.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Demo Dashboard --> | |
| <section class="mb-12 bg-white rounded-xl shadow-lg p-6"> | |
| <h2 class="text-2xl font-bold mb-6 text-indigo-800 border-b pb-2">Live Dashboard</h2> | |
| <div class="flex flex-col md:flex-row items-center md:items-start gap-8"> | |
| <!-- Gauge Demo --> | |
| <div class="w-full md:w-1/3"> | |
| <h3 class="text-lg font-semibold mb-4 text-center">Engine RPM</h3> | |
| <div class="gauge-container"> | |
| <div class="gauge"> | |
| <div class="needle" id="rpmNeedle" style="transform: rotate(90deg);"></div> | |
| <div class="gauge-center"><span id="rpmValue">2500</span> RPM</div> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <input type="range" min="0" max="8000" value="2500" step="100" class="w-full" id="rpmSlider"> | |
| </div> | |
| </div> | |
| <!-- Connection Status --> | |
| <div class="w-full md:w-1/3"> | |
| <h3 class="text-lg font-semibold mb-4 text-center">Device Status</h3> | |
| <div class="bg-gray-50 rounded-lg p-6 text-center"> | |
| <div class="text-5xl mb-4 text-green-500 pulse"> | |
| <i class="fas fa-bluetooth-b"></i> | |
| </div> | |
| <h4 class="font-bold text-green-700">Connected</h4> | |
| <p class="text-sm mt-2">iCarsoft JP 2.0 via Bluetooth</p> | |
| <div class="mt-4"> | |
| <div class="flex justify-between text-xs text-gray-500"> | |
| <span>Battery: 85%</span> | |
| <span>Signal: Excellent</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Quick Actions --> | |
| <div class="w-full md:w-1/3"> | |
| <h3 class="text-lg font-semibold mb-4 text-center">Quick Actions</h3> | |
| <div class="space-y-3"> | |
| <button class="w-full bg-blue-600 hover:bg-blue-700 text-white py-3 px-4 rounded-lg flex items-center justify-center space-x-2 transition"> | |
| <i class="fas fa-search"></i> | |
| <span>Scan for Codes</span> | |
| </button> | |
| <button class="w-full bg-green-600 hover:bg-green-700 text-white py-3 px-4 rounded-lg flex items-center justify-center space-x-2 transition"> | |
| <i class="fas fa-trash-alt"></i> | |
| <span>Clear Codes</span> | |
| </button> | |
| <button class="w-full bg-purple-600 hover:bg-purple-700 text-white py-3 px-4 rounded-lg flex items-center justify-center space-x-2 transition"> | |
| <i class="fas fa-file-pdf"></i> | |
| <span>Generate Report</span> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Download Section --> | |
| <section class="mb-12"> | |
| <h2 class="text-2xl font-bold mb-6 text-indigo-800 border-b pb-2">Download App</h2> | |
| <div class="bg-gradient-to-r from-indigo-900 to-indigo-700 rounded-xl shadow-lg p-8 text-white"> | |
| <div class="flex flex-col md:flex-row items-center gap-8"> | |
| <div class="md:w-1/2"> | |
| <h3 class="text-2xl font-bold mb-4">Get OBD2 Pro for Android</h3> | |
| <p class="mb-6">The ultimate companion app for your iCarsoft JP 2.0 scanner. Download now to unlock premium features and real-time vehicle diagnostics.</p> | |
| <div class="flex flex-col sm:flex-row gap-3"> | |
| <button class="bg-yellow-400 hover:bg-yellow-500 text-indigo-900 font-bold py-3 px-6 rounded-lg flex items-center justify-center space-x-2 transition"> | |
| <i class="fab fa-google-play text-2xl"></i> | |
| <span> | |
| <span class="text-xs">GET IT ON</span><br> | |
| <span class="text-lg">Google Play</span> | |
| </span> | |
| </button> | |
| <button id="apkDownload" class="bg-indigo-100 hover:bg-indigo-200 text-indigo-900 font-bold py-3 px-6 rounded-lg flex items-center justify-center space-x-2 transition"> | |
| <i class="fas fa-download text-2xl"></i> | |
| <span> | |
| <span class="text-xs">DIRECT</span><br> | |
| <span class="text-lg">APK Download</span> | |
| </span> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="md:w-1/2"> | |
| <img src="https://via.placeholder.com/300x500/1e40af/ffffff?text=OBD2+App" alt="App Screenshot" class="w-full rounded-lg shadow-xl"> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Compatibility Section --> | |
| <section class="mb-12"> | |
| <h2 class="text-2xl font-bold mb-6 text-indigo-800 border-b pb-2">Compatibility</h2> | |
| <div class="bg-white rounded-xl shadow-lg overflow-hidden"> | |
| <div class="p-6"> | |
| <div class="flex flex-col md:flex-row items-center gap-6"> | |
| <img src="https://via.placeholder.com/200x200/f3f4f6/9ca3af?text=iCarsoft+JP+2.0" alt="iCarsoft JP 2.0" class="w-32 h-32 object-contain"> | |
| <div> | |
| <h3 class="text-xl font-bold mb-2">iCarsoft JP 2.0 OBD2 Scanner</h3> | |
| <p class="text-gray-600 mb-4">Fully compatible with all features of your iCarsoft JP 2.0 diagnostic tool. Our app enhances your scanner's capabilities with better visualization and data logging.</p> | |
| <div class="flex flex-wrap gap-2"> | |
| <span class="bg-blue-100 text-blue-800 text-xs px-3 py-1 rounded-full">Bluetooth</span> | |
| <span class="bg-green-100 text-green-800 text-xs px-3 py-1 rounded-full">OBDII</span> | |
| <span class="bg-purple-100 text-purple-800 text-xs px-3 py-1 rounded-full">EOBD</span> | |
| <span class="bg-yellow-100 text-yellow-800 text-xs px-3 py-1 rounded-full">J2534</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 px-6 py-4 flex flex-col md:flex-row justify-between items-center"> | |
| <p class="text-gray-600 mb-2 md:mb-0">Looking for iCarsoft multi-system scanners?</p> | |
| <button class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg text-sm font-medium transition"> | |
| See Supported Devices | |
| </button> | |
| </div> | |
| </div> | |
| </section> | |
| </main> | |
| <!-- Footer --> | |
| <footer class="bg-gray-800 text-white py-8"> | |
| <div class="container mx-auto px-4"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">OBD2 Pro</h3> | |
| <p class="text-gray-400">The ultimate companion app for your iCarsoft JP 2.0 scanner with advanced diagnostics and real-time monitoring.</p> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Features</h3> | |
| <ul class="space-y-2 text-gray-400"> | |
| <li><a href="#" class="hover:text-white transition">Live Data</a></li> | |
| <li><a href="#" class="hover:text-white transition">Fault Codes</a></li> | |
| <li><a href="#" class="hover:text-white transition">Maintenance Log</a></li> | |
| <li><a href="#" class="hover:text-white transition">Vehicle Reports</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Support</h3> | |
| <ul class="space-y-2 text-gray-400"> | |
| <li><a href="#" class="hover:text-white transition">FAQ</a></li> | |
| <li><a href="#" class="hover:text-white transition">Contact Us</a></li> | |
| <li><a href="#" class="hover:text-white transition">User Manual</a></li> | |
| <li><a href="#" class="hover:text-white transition">Troubleshooting</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Connect</h3> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-facebook-f"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-twitter"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-youtube"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-github"></i></a> | |
| </div> | |
| <p class="mt-4 text-gray-400">Subscribe to our newsletter</p> | |
| <div class="mt-2 flex"> | |
| <input type="email" placeholder="Your email" class="px-3 py-2 bg-gray-700 text-white rounded-l-lg focus:outline-none focus:ring-2 focus:ring-indigo-500 w-full"> | |
| <button class="bg-indigo-600 hover:bg-indigo-700 px-4 py-2 rounded-r-lg transition"> | |
| <i class="fas fa-paper-plane"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-700 mt-8 pt-6 text-sm text-gray-400"> | |
| <div class="flex flex-col md:flex-row justify-between items-center"> | |
| <p>© 2023 OBD2 Pro App. All rights reserved.</p> | |
| <div class="flex space-x-6 mt-4 md:mt-0"> | |
| <a href="#" class="hover:text-white transition">Privacy Policy</a> | |
| <a href="#" class="hover:text-white transition">Terms of Service</a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Interactive RPM gauge | |
| const rpmSlider = document.getElementById('rpmSlider'); | |
| const rpmNeedle = document.getElementById('rpmNeedle'); | |
| const rpmValue = document.getElementById('rpmValue'); | |
| rpmSlider.addEventListener('input', function() { | |
| const value = parseInt(this.value); | |
| rpmValue.textContent = value; | |
| // Calculate needle position (0-180deg rotation) | |
| let rotation = (value / 8000) * 180; | |
| rpmNeedle.style.transform = `rotate(${rotation}deg)`; | |
| // Change color based on RPM | |
| if (value > 6000) { | |
| rpmValue.parentElement.style.color = '#ef4444'; // red | |
| } else if (value > 4500) { | |
| rpmValue.parentElement.style.color = '#f97316'; // orange | |
| } else if (value > 3000) { | |
| rpmValue.parentElement.style.color = '#facc15'; // yellow | |
| } else { | |
| rpmValue.parentElement.style.color = '#a3e635'; // lime | |
| } | |
| }); | |
| // Simulate APK download | |
| document.getElementById('apkDownload').addEventListener('click', function() { | |
| alert('This is a demo. In a real app, this would download the APK file for Android.'); | |
| }); | |
| // Simulate connection animation | |
| setInterval(() => { | |
| const connectionIcon = document.querySelector('.pulse'); | |
| const randomValue = Math.floor(Math.random() * 50) + 1750; | |
| rpmSlider.value = randomValue; | |
| rpmSlider.dispatchEvent(new Event('input')); | |
| }, 3000); | |
| </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=jakeyfish/tuning" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |