🎬 Multi-Platform Video Downloader
📋 Überblick
Moderner Video-Downloader für Instagram, TikTok, YouTube, Facebook, Twitter/X, Vimeo und mehr!
**Features:**
- 🎬 **Multi-Platform:** Instagram, TikTok, YouTube, Facebook, Twitter, Vimeo
- 🚀 **Schnell & Einfach:** URL einfügen, downloaden, fertig
- 🎨 **Modernes Design:** Gradient-Logo, responsive, dark theme
- 📱 **Mobile-optimiert:** Funktioniert auf allen Geräten
- 🔒 **Privat:** Keine Registrierung, keine Speicherung
- 💯 **Kostenlos:** Unbegrenzte Downloads
✨ Features im Detail
Unterstützte Plattformen:
**Instagram** 📸
- Reels herunterladen
- Stories herunterladen
- IGTV Videos
- Posts mit Videos
**TikTok** 🎵
- Videos ohne Wasserzeichen
- HD Qualität
- Mit Audio
**YouTube** 🎥
- Videos in verschiedenen Qualitäten
- Audio separat (MP3)
- Unterstützung für Shorts
**Facebook** 📘
- Videos von Posts
- Reels
- Stories
**Twitter/X** 🐦
- Video-Tweets
- GIFs
**Vimeo** 📹
- HD Videos
- 4K wenn verfügbar
💻 Technische Details
Dateien:
- **index.php** - Hauptseite mit Logo & UI
- **download.php** - Backend mit API-Integration
- **style.css** - Modernes Gradient-Design
- **impressum.php** - Impressum
- **datenschutz.php** - Datenschutzerklärung
Logo:
svg
Gradient-Download-Icon (Pink → Lila)
- SVG-basiert
- Skalierbar
- Eingebettet in HTML
🚀 Installation
Variante A: Ohne APIs (Basic)
1. **Dateien hochladen**
2. **Fertig!**
⚠️ **Hinweis:** Ohne APIs funktionieren nur begrenzte Plattformen. Für volle Funktionalität APIs einbinden.
Variante B: Mit APIs (Empfohlen)
1. **RapidAPI Account erstellen:**
- Gehe zu https://rapidapi.com
- Kostenlos registrieren
2. **APIs abonnieren:**
- **Instagram Downloader:** https://rapidapi.com/hub/instagram
- **TikTok Downloader:** https://rapidapi.com/hub/tiktok
- **Facebook Downloader:** https://rapidapi.com/hub/facebook
3. **API-Keys eintragen:**
Öffne `download.php` und ersetze `YOUR_RAPIDAPI_KEY` mit deinem echten Key:
php
'X-RapidAPI-Key: dein-echter-api-key-hier'
**Suche nach:** `YOUR_RAPIDAPI_KEY` (3x im Code)
4. **YouTube mit yt-dlp (Optional, empfohlen):**
bash
Auf Server installieren:
pip3 install yt-dlp
Oder via apt:
apt install yt-dlp
Dann funktioniert YouTube-Download automatisch!
📖 Benutzung
Als Besucher:
1. **Video finden** auf Instagram, TikTok, YouTube etc.
2. **Link kopieren** (Teilen → Link kopieren)
3. **DownVid öffnen**
4. **URL einfügen** in das Eingabefeld
5. **Download klicken**
6. **Video speichern**
Beispiel-URLs:
Instagram: https://www.instagram.com/p/ABCD123/
TikTok: https://www.tiktok.com/@user/video/123456789
YouTube: https://www.youtube.com/watch?v=dQw4w9WgXcQ
Facebook: https://www.facebook.com/watch/?v=123456789
🔧 Konfiguration
API-Keys eintragen:
**In download.php:**
php
// INSTAGRAM (Zeile ~54)
'X-RapidAPI-Key: DEIN_KEY_HIER',
// TIKTOK (Zeile ~80)
'X-RapidAPI-Key: DEIN_KEY_HIER',
// FACEBOOK (Zeile ~145)
'X-RapidAPI-Key: DEIN_KEY_HIER',
yt-dlp Pfad anpassen (falls nötig):
php
// Zeile ~110 in download.php
$command = "/usr/bin/yt-dlp -j --no-warnings " . escapeshellarg($url);
🎨 Design-Anpassung
Farben ändern:
**In style.css:**
css
:root {
--primary: ff006e; /* Pink */
--secondary: 8338ec; /* Lila */
--gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}
Logo-Farben:
**In index.php (SVG):**
html
<stop offset="0%" style="stop-color:ff006e" /> <!-- Start -->
<stop offset="100%" style="stop-color:8338ec" /> <!-- Ende -->
🐛 Troubleshooting
Problem: "Plattform nicht unterstützt"
**Lösung:**
- URL korrekt? (mit https://)
- Plattform wirklich unterstützt?
- API-Key eingetragen?
Problem: "Download fehlgeschlagen"
**Lösung:**
1. **API-Key prüfen** (richtig eingetragen?)
2. **API-Limit erreicht?** (RapidAPI Dashboard checken)
3. **Video privat?** (nicht downloadbar)
4. **cURL aktiviert?**
bash
php -m | grep curl
Problem: YouTube funktioniert nicht
**Lösung:**
1. **yt-dlp installiert?**
bash
yt-dlp --version
2. **shell_exec erlaubt?**
php
<?php echo shell_exec('whoami'); ?>
3. **Alternative:** YouTube-API nutzen
Problem: Keine Videos angezeigt
**Lösung:**
- Browser-Konsole öffnen (F12)
- Network-Tab checken
- Fehler in download.php?
- PHP Error-Log prüfen
🔒 Sicherheit
Implementiert:
- ✅ **Input-Validierung** (URL-Check)
- ✅ **HTTPS empfohlen**
- ✅ **Kein Datenspeichern**
- ✅ **Keine Cookies**
- ✅ **escapeshellarg()** bei shell_exec
Empfehlungen:
1. **HTTPS nutzen** (Let's Encrypt)
2. **Rate-Limiting** implementieren
3. **IP-Blocking** bei Missbrauch
4. **API-Keys geheim halten**
📊 API-Kosten
RapidAPI Pricing (Stand 2026):
**Free Plan:**
- 100-500 Requests/Monat
- Kostenlos
- Für Tests
**Basic Plan:**
- ~$5-10/Monat
- 10.000 Requests
- Für kleine Sites
**Pro Plan:**
- ~$20-50/Monat
- 100.000+ Requests
- Für größere Sites
**Tipp:** Mit mehreren Free-APIs kombinieren für mehr Requests!
💡 Tipps & Tricks
Performance:
1. **Caching:** Bereits heruntergeladene Videos cachen
2. **CDN:** Statische Dateien über CDN
3. **Kompression:** gzip aktivieren
Monetarisierung:
1. **Werbung:** Google AdSense
2. **Affiliate:** Amazon, eBay
3. **Donations:** PayPal, Patreon
4. **Premium:** Schnellerer Download, mehr Plattformen
SEO:
html
<!-- In index.php einfügen: -->
<meta name="description" content="Videos von Instagram, TikTok, YouTube kostenlos herunterladen">
<meta name="keywords" content="video download, instagram download, tiktok download">
🚀 Erweitungen (Zukünftig)
**Mögliche Features:**
- [ ] Batch-Download (mehrere URLs)
- [ ] Playlist-Download (YouTube)
- [ ] Audio-only Download
- [ ] Format-Auswahl (MP4, AVI, etc.)
- [ ] Qualitäts-Auswahl (720p, 1080p, 4K)
- [ ] Thumbnail-Download
- [ ] Video-Vorschau
- [ ] Browser-Extension
- [ ] API für Entwickler
- [ ] Mobile App
📱 Mobile Optimierung
**Bereits implementiert:**
- ✅ Responsive Design
- ✅ Touch-optimierte Buttons
- ✅ Mobile Navigation
- ✅ Schnelle Ladezeit
**PWA (Progressive Web App):**
Manifest.json hinzufügen:
json
{
"name": "DownVid",
"short_name": "DownVid",
"start_url": "/",
"display": "standalone",
"background_color": "0f0f1e",
"theme_color": "ff006e"
}
🌍 Mehrsprachigkeit
**Sprachen hinzufügen:**
1. Neues PHP-File: `lang/de.php`, `lang/en.php`
2. Translations-Array:
php
$lang = [
'title' => 'DownVid - Video Downloader',
'input_placeholder' => 'Video-URL hier einfügen...'
];
3. In Seiten einbinden
📞 Support
**Bei Problemen:**
1. README durchlesen
2. Troubleshooting checken
3. API-Dokumentation lesen
4. Server-Logs prüfen
📄 Rechtliches
Wichtig:
⚠️ **Urheberrecht beachten!**
- Nur eigene Videos oder mit Erlaubnis
- Nicht für kommerzielle Zwecke ohne Lizenz
- Fair-Use Regeln beachten
- Platform-Richtlinien einhalten
Disclaimer:
DownVid ist ein Tool zum persönlichen Gebrauch.
Nutzer sind selbst verantwortlich für die Einhaltung
von Urheberrechten und Plattform-Richtlinien.
🎯 Best Practices
User Experience:
1. **Klare Anweisungen** (4-Schritte-Guide)
2. **Fehlerbehandlung** (verständliche Meldungen)
3. **Loading-Indicator** (User weiß: es passiert was)
4. **Erfolgs-Feedback** (Thumbnail + Download-Button)
Code Quality:
1. **Kommentare** (auch für andere verständlich)
2. **Error-Handling** (try-catch überall)
3. **Security** (Input validieren)
4. **Performance** (APIs cachen)
📈 Analytics (Optional)
**Google Analytics einbinden:**
html
<!-- In index.php vor </head> -->
<script async src="https://www.googletagmanager.com/gtag/js?id=GA_TRACKING_ID"></script>
**Tracking Events:**
- Video-Download gestartet
- Platform ausgewählt
- Download erfolgreich
- Download fehlgeschlagen
🎨 Logo-Varianten
SVG (eingebettet):
- ✅ Skalierbar
- ✅ Kleine Dateigröße
- ✅ CSS-animierbar
Als PNG exportieren:
html
<!-- Rechtsklick auf SVG im Browser → "Als Bild speichern" -->
Größen: 512x512, 256x256, 128x128, 64x64
Favicon erstellen:
html
<link rel="icon" type="image/svg+xml" href="logo.svg">
📝 Changelog
Version 2.0 (Aktuell)
**Features:**
- ✅ Komplett neu in PHP 8.4
- ✅ Modernes Gradient-Design
- ✅ SVG-Logo eingebettet
- ✅ 6 Plattformen unterstützt
- ✅ API-Integration
- ✅ Mobile-optimiert
- ✅ DSGVO-konform
**Technisch:**
- ✅ PHP 8.4 kompatibel
- ✅ Responsive CSS
- ✅ AJAX ohne jQuery
- ✅ Modular aufgebaut
🏆 Credits
**Design inspiriert von:**
- Savefrom.net
- Y2Mate
- SnapTik
**APIs powered by:**
- RapidAPI
- yt-dlp
📄 Lizenz
Proprietär - Alle Rechte vorbehalten
🎉 Viel Erfolg mit DownVid!
**Version:** 2.0
**Stand:** Januar 2026
**Sprache:** Deutsch 🇩🇪
**PRODUKTIONSBEREIT!** 🚀
🆘 Quick-Start
bash
1. Dateien hochladen
2. Browser öffnen: https://deine-domain.de
3. URL einfügen
4. Download!
MIT APIs:
1. RapidAPI Key holen
2. In download.php eintragen
3. Profit! 💰
**Ohne APIs:** Begrenzte Funktionalität
**Mit APIs:** Volle Power! 🔥