Spaces:
Running

etch-autotube / index.html
etch33444's picture
put a good photo about autmaion
ad6daba verified
Raw History Blame Contribute Delete
13.1 kB
cd ~/site/public
cp index.html index.bak # نسخة احتياطية
cat > index.html <<'EOF'
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ETCH Smart Uploader - Upload to YouTube with AI | ETCH</title>
<meta name="description" content="Upload videos to YouTube faster with AI-generated titles, descriptions, and tags. Available on Google Play.">
<meta name="keywords" content="YouTube uploader, AI video upload, Android app, YouTube automation">
<!-- JSON-LD -->
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"SoftwareApplication","name":"YouTube Smart AI Uploader","operatingSystem":"Android","applicationCategory":"Video","offers":{"@type":"Offer","price":"0","priceCurrency":"USD"}}
</script>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<style>
.gradient-text{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
</style>
</head>
<body class="bg-gray-50 text-gray-900 antialiased">
<!-- Toggle اللغة -->
<div class="fixed top-4 right-4 z-50">
<button id="langToggle" class="px-4 py-2 bg-white shadow rounded-full text-sm font-medium text-gray-700 hover:bg-gray-100">
<span id="langText">العربية</span>
</button>
</div>
<!-- Navbar -->
<nav class="bg-white/90 border-b">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 h-16 flex items-center justify-between">
<h1 class="text-2xl font-extrabold gradient-text">ETCH</h1>
<div class="hidden md:flex gap-6 text-sm">
<a href="#features" class="text-gray-700 hover:text-black" data-en="Features" data-ar="المميزات">Features</a>
<a href="#how-it-works" class="text-gray-700 hover:text-black" data-en="How it works" data-ar="كيف يعمل">How it works</a>
<a href="#privacy" class="text-gray-700 hover:text-black" data-en="Privacy" data-ar="الخصوصية">Privacy</a>
</div>
</div>
</nav>
<!-- Hero -->
<section class="bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-14">
<div class="grid md:grid-cols-2 gap-10 items-center">
<!-- نص -->
<div>
<h2 class="text-4xl md:text-5xl font-bold mb-4" data-en="Upload to YouTube, faster—with AI titles & descriptions." data-ar="ارفع على يوتيوب أسرع — بعناوين ووصف بالذكاء الاصطناعي.">
Upload to YouTube, faster—with AI titles & descriptions.
</h2>
<p class="text-lg text-gray-600 mb-8" data-en="Save hours of manual work. Let AI generate SEO-optimized titles, descriptions, and tags for your YouTube videos in seconds." data-ar="وفر ساعات من العمل اليدوي. دع الذكاء الاصطناعي يولد عناوين ووصف وكلمات مفتاحية محسنة لمحركات البحث في ثوانٍ.">
Save hours of manual work. Let AI generate SEO-optimized titles, descriptions, and tags for your YouTube videos in seconds.
</p>
<div class="flex flex-col sm:flex-row gap-3">
<a href="https://play.google.com/store/apps/details?id=etch.youtube" target="_blank" rel="noopener"
class="inline-flex items-center justify-center px-6 py-3 rounded-lg bg-green-600 text-white font-semibold hover:bg-green-700 transition">
<span data-en="Get it on Google Play" data-ar="احصل عليه من Google Play">Get it on Google Play</span>
</a>
<a href="/privacy.html"
class="inline-flex items-center justify-center px-5 py-3 rounded-lg border border-gray-300 text-gray-800 hover:bg-gray-50 transition"
data-en="Privacy Policy" data-ar="سياسة الخصوصية">Privacy Policy</a>
<a href="/terms.html"
class="inline-flex items-center justify-center px-5 py-3 rounded-lg border border-gray-300 text-gray-800 hover:bg-gray-50 transition"
data-en="Terms of Service" data-ar="شروط الخدمة">Terms of Service</a>
</div>
</div>
<!-- عرض الصور (بدون فيديو) -->
<div class="relative w-full max-w-md mx-auto">
<img src="http://static.photos/technology/640x360/42" alt="Automation" class="rounded-2xl shadow-xl w-full">
</div>
</div>
</div>
</div>
</section>
<!-- Features -->
<section id="features" class="bg-gray-50 py-16">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<h3 class="text-3xl font-bold text-center mb-12" data-en="What the app does" data-ar="ما الذي يفعله التطبيق">What the app does</h3>
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
<div class="bg-white p-6 rounded-xl shadow-sm">
<h4 class="text-lg font-semibold mb-2" data-en="Pick local video" data-ar="اختر فيديو محلي">Pick local video</h4>
<p class="text-gray-600 text-sm" data-en="Select any video from your device gallery or file manager." data-ar="اختر أي فيديو من معرض الجهاز أو مدير الملفات.">Select any video from your device gallery or file manager.</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-sm">
<h4 class="text-lg font-semibold mb-2" data-en="AI suggestions" data-ar="اقتراحات الذكاء الاصطناعي">AI suggestions</h4>
<p class="text-gray-600 text-sm" data-en="Get SEO-friendly titles, descriptions, and tags generated by AI." data-ar="احصل على عناوين ووصف وكلمات مفتاحية صديقة لمحركات البحث من الذكاء الاصطناعي.">Get SEO-friendly titles, descriptions, and tags generated by AI.</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-sm">
<h4 class="text-lg font-semibold mb-2" data-en="One-tap upload" data-ar="رفع بنقرة واحدة">One-tap upload</h4>
<p class="text-gray-600 text-sm" data-en="Upload directly to your YouTube channel with progress tracking." data-ar="ارفع مباشرة إلى قناتك على يوتيوب مع تتبع التقدم.">Upload directly to your YouTube channel with progress tracking.</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-sm">
<h4 class="text-lg font-semibold mb-2" data-en="Ad-free upload" data-ar="رفع بدون إعلانات">Ad-free upload</h4>
<p class="text-gray-600 text-sm" data-en="No ads in the upload flow. Only minimal ads on non-critical screens." data-ar="لا توجد إعلانات أثناء الرفع. إعلانات محدودة فقط على الشاشات غير الحرجة.">No ads in the upload flow. Only minimal ads on non-critical screens.</p>
</div>
</div>
</div>
</section>
<!-- OAuth Scopes -->
<section class="bg-white py-12">
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8">
<h3 class="text-2xl font-bold mb-6 text-center" data-en="OAuth Permissions" data-ar="أذونات OAuth">OAuth Permissions</h3>
<div class="bg-gray-50 p-6 rounded-xl">
<ul class="space-y-3 text-sm">
<li><strong>openid</strong> — <span data-en="Verify your identity" data-ar="التحقق من هويتك">Verify your identity</span></li>
<li><strong>email</strong> — <span data-en="Connect to your YouTube channel" data-ar="الاتصال بقناتك على يوتيوب">Connect to your YouTube channel</span></li>
<li><strong>profile</strong> — <span data-en="Basic profile information" data-ar="معلومات الملف الشخصي الأساسية">Basic profile information</span></li>
<li><strong>youtube.upload</strong> — <span data-en="Upload videos to your channel" data-ar="رفع الفيديوهات إلى قناتك">Upload videos to your channel</span></li>
</ul>
</div>
</div>
</section>
<!-- How it works -->
<section id="how-it-works" class="bg-gray-50 py-16">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<h3 class="text-3xl font-bold text-center mb-12" data-en="How it works" data-ar="كيف يعمل">How it works</h3>
<div class="grid md:grid-cols-4 gap-8">
<div class="text-center"><div class="w-16 h-16 bg-purple-600 text-white rounded-full flex items-center justify-center mx-auto mb-4"><span class="text-xl font-bold">1</span></div><h4 class="font-semibold mb-2" data-en="Sign in with Google" data-ar="سجل الدخول باستخدام Google">Sign in with Google</h4><p class="text-sm text-gray-600" data-en="Secure authentication with your Google account" data-ar="مصادقة آمنة بحسابك على Google">Secure authentication with your Google account</p></div>
<div class="text-center"><div class="w-16 h-16 bg-purple-600 text-white rounded-full flex items-center justify-center mx-auto mb-4"><span class="text-xl font-bold">2</span></div><h4 class="font-semibold mb-2" data-en="Choose video" data-ar="اختر الفيديو">Choose video</h4><p class="text-sm text-gray-600" data-en="Select any video from your device" data-ar="اختر أي فيديو من جهازك">Select any video from your device</p></div>
<div class="text-center"><div class="w-16 h-16 bg-purple-600 text-white rounded-full flex items-center justify-center mx-auto mb-4"><span class="text-xl font-bold">3</span></div><h4 class="font-semibold mb-2" data-en="AI generates metadata" data-ar="الذكاء الاصطناعي يولد البيانات">AI generates metadata</h4><p class="text-sm text-gray-600" data-en="Edit AI suggestions as needed" data-ar="عدل اقتراحات الذكاء الاصطناعي حسب الحاجة">Edit AI suggestions as needed</p></div>
<div class="text-center"><div class="w-16 h-16 bg-purple-600 text-white rounded-full flex items-center justify-center mx-auto mb-4"><span class="text-xl font-bold">4</span></div><h4 class="font-semibold mb-2" data-en="Upload to YouTube" data-ar="ارفع إلى يوتيوب">Upload to YouTube</h4><p class="text-sm text-gray-600" data-en="One-tap upload with progress tracking" data-ar="رفع بنقرة واحدة مع تتبع التقدم">One-tap upload with progress tracking</p></div>
</div>
</div>
</section>
<!-- Privacy CTA -->
<section id="privacy" class="bg-white py-16">
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<h3 class="text-3xl font-bold mb-6" data-en="Privacy & Security" data-ar="الخصوصية والأمان">Privacy & Security</h3>
<p class="text-gray-600 mb-6" data-en="We never sell or share your data. All communications are encrypted." data-ar="لا نبيع أو نشارك بياناتك أبدًا. جميع الاتصالات مشفرة.">
We never sell or share your data. All communications are encrypted.
</p>
<div class="flex flex-col sm:flex-row gap-3 justify-center">
<a href="/privacy.html" class="px-6 py-3 rounded-lg border border-gray-300 text-gray-800 hover:bg-gray-50 transition" data-en="Read Privacy Policy" data-ar="اقرأ سياسة الخصوصية">Read Privacy Policy</a>
<a href="/terms.html" class="px-6 py-3 rounded-lg border border-gray-300 text-gray-800 hover:bg-gray-50 transition" data-en="Read Terms of Service" data-ar="اقرأ شروط الخدمة">Read Terms of Service</a>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-gray-300 py-8">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 flex flex-col md:flex-row items-center justify-between">
<p class="text-sm mb-4 md:mb-0" data-en="© 2024 ETCH. All rights reserved." data-ar="© 2024 ETCH. جميع الحقوق محفوظة.">© 2024 ETCH. All rights reserved.</p>
<div class="flex gap-6">
<a href="mailto:ahmed.etch3344@gmail.com" class="text-sm hover:text-white transition" data-en="Contact" data-ar="اتصل">Contact</a>
<a href="/privacy.html" class="text-sm hover:text-white transition" data-en="Privacy" data-ar="الخصوصية">Privacy</a>
<a href="/terms.html" class="text-sm hover:text-white transition" data-en="Terms" data-ar="الشروط">Terms</a>
</div>
</div>
</footer>
<script>
// تبديل اللغة EN/AR
const toggle=document.getElementById('langToggle');
const label=document.getElementById('langText');
let ar=false;
toggle.addEventListener('click',()=>{
ar=!ar; document.documentElement.lang=ar?'ar':'en'; document.documentElement.dir=ar?'rtl':'ltr';
label.textContent=ar?'English':'العربية';
document.querySelectorAll('[data-en]').forEach(el=>{
el.textContent = ar ? el.getAttribute('data-ar') : el.getAttribute('data-en');
});
});
</script>
</body>
</html>
EOF