android-wireguard-client/website/index.html

489 lines
15 KiB
HTML

<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WireGuard TV - VPN für Fire TV</title>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
min-height: 100vh;
color: #fff;
line-height: 1.6;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 40px 20px;
}
.header {
text-align: center;
margin-bottom: 50px;
}
.logo {
width: 120px;
height: 120px;
margin-bottom: 20px;
}
h1 {
font-size: 2.5em;
margin-bottom: 10px;
background: linear-gradient(135deg, #FF5722, #FF9800);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.subtitle {
color: #88B4E7;
font-size: 1.2em;
}
.download-section {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 20px;
padding: 40px;
text-align: center;
margin-bottom: 40px;
}
.download-btn {
display: inline-flex;
align-items: center;
gap: 15px;
padding: 20px 40px;
background: linear-gradient(135deg, #FF5722 0%, #E64A19 100%);
border: none;
border-radius: 15px;
color: #fff;
font-size: 1.3em;
font-weight: 600;
text-decoration: none;
cursor: pointer;
transition: all 0.3s;
box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
}
.download-btn:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(255, 87, 34, 0.5);
}
.download-btn svg {
width: 28px;
height: 28px;
}
.version {
margin-top: 15px;
color: #888;
font-size: 0.9em;
}
.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 20px;
margin-bottom: 40px;
}
.feature {
background: rgba(255, 255, 255, 0.05);
border-radius: 15px;
padding: 25px;
text-align: center;
}
.feature-icon {
font-size: 2.5em;
margin-bottom: 15px;
}
.feature h3 {
color: #88B4E7;
margin-bottom: 10px;
}
.feature p {
color: #aaa;
font-size: 0.95em;
}
.install-section {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 20px;
padding: 30px;
margin-bottom: 40px;
}
.install-section h2 {
color: #FF5722;
margin-bottom: 20px;
text-align: center;
}
.install-steps {
counter-reset: step;
}
.step {
position: relative;
padding-left: 50px;
margin-bottom: 20px;
}
.step::before {
counter-increment: step;
content: counter(step);
position: absolute;
left: 0;
top: 0;
width: 35px;
height: 35px;
background: linear-gradient(135deg, #FF5722, #E64A19);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
}
.step h4 {
color: #88B4E7;
margin-bottom: 5px;
}
.step p {
color: #ccc;
}
code {
background: rgba(0, 0, 0, 0.3);
padding: 3px 8px;
border-radius: 5px;
font-family: 'Courier New', monospace;
font-size: 0.9em;
color: #4CAF50;
}
.tabs {
display: flex;
gap: 10px;
margin-bottom: 20px;
flex-wrap: wrap;
}
.tab-btn {
flex: 1;
min-width: 100px;
padding: 12px 20px;
background: rgba(255, 255, 255, 0.1);
border: 2px solid transparent;
border-radius: 10px;
color: #fff;
font-size: 1em;
cursor: pointer;
transition: all 0.3s;
}
.tab-btn:hover {
background: rgba(255, 255, 255, 0.15);
}
.tab-btn.active {
background: rgba(255, 87, 34, 0.2);
border-color: #FF5722;
}
.tab-content {
display: none;
}
.tab-content.active {
display: block;
}
.adb-section {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 20px;
padding: 30px;
margin-bottom: 40px;
}
.adb-section h2 {
color: #FF5722;
margin-bottom: 20px;
text-align: center;
}
.adb-section h3 {
color: #88B4E7;
margin: 20px 0 10px;
}
.adb-section p {
color: #ccc;
margin-bottom: 10px;
}
.adb-section ul {
color: #ccc;
margin-left: 20px;
margin-bottom: 15px;
}
.adb-section li {
margin-bottom: 8px;
}
.code-block {
background: rgba(0, 0, 0, 0.4);
padding: 15px;
border-radius: 10px;
margin: 10px 0;
overflow-x: auto;
}
.code-block code {
background: none;
padding: 0;
display: block;
white-space: pre;
}
.footer {
text-align: center;
color: #666;
padding-top: 30px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer a {
color: #88B4E7;
text-decoration: none;
}
.footer a:hover {
text-decoration: underline;
}
@media (max-width: 600px) {
h1 {
font-size: 1.8em;
}
.download-btn {
padding: 15px 30px;
font-size: 1.1em;
}
.container {
padding: 20px 15px;
}
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<svg class="logo" viewBox="0 0 48 48" fill="none">
<path d="M24 4L8 12v12c0 11.1 6.84 21.48 16 24 9.16-2.52 16-12.9 16-24V12L24 4z" fill="#FF5722"/>
<path d="M24 4L8 12v12c0 11.1 6.84 21.48 16 24V4z" fill="#E64A19"/>
<path d="M24 14c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm0 16c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6z" fill="#fff" opacity="0.9"/>
<circle cx="24" cy="24" r="3" fill="#fff"/>
</svg>
<h1>WireGuard TV</h1>
<p class="subtitle">VPN-Client für Amazon Fire TV</p>
</div>
<div class="download-section">
<a href="wg.apk" class="download-btn" download>
<svg viewBox="0 0 24 24" fill="currentColor">
<path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"/>
</svg>
APK herunterladen
</a>
<p class="version">Version 1.0 | Android 7.0+</p>
</div>
<div class="features">
<div class="feature">
<div class="feature-icon">🎮</div>
<h3>D-Pad optimiert</h3>
<p>Speziell für Fire TV Fernbedienung entwickelt</p>
</div>
<div class="feature">
<div class="feature-icon">🌐</div>
<h3>Web-Interface</h3>
<p>Configs bequem vom Handy hochladen</p>
</div>
<div class="feature">
<div class="feature-icon">🚀</div>
<h3>Autostart</h3>
<p>VPN automatisch beim Gerätestart verbinden</p>
</div>
<div class="feature">
<div class="feature-icon">🌍</div>
<h3>Geo-Location</h3>
<p>IP-Adresse und Standort anzeigen</p>
</div>
</div>
<div class="adb-section">
<h2>ADB Installation</h2>
<p style="text-align: center; margin-bottom: 20px;">ADB (Android Debug Bridge) wird benötigt, um die APK auf den Fire TV zu übertragen.</p>
<div class="tabs">
<button class="tab-btn active" onclick="showTab('windows')">Windows</button>
<button class="tab-btn" onclick="showTab('mac')">macOS</button>
<button class="tab-btn" onclick="showTab('linux')">Linux</button>
</div>
<div id="windows" class="tab-content active">
<h3>Option 1: Nur ADB (empfohlen)</h3>
<p>Lade die Platform Tools direkt von Google herunter:</p>
<ul>
<li><a href="https://dl.google.com/android/repository/platform-tools-latest-windows.zip" style="color: #4CAF50;">Platform Tools für Windows herunterladen</a></li>
<li>ZIP entpacken (z.B. nach <code>C:\adb</code>)</li>
<li>Eingabeaufforderung (CMD) öffnen und zum Ordner navigieren</li>
</ul>
<div class="code-block">
<code>cd C:\adb
adb connect 192.168.1.100:5555
adb install wireguard-tv.apk</code>
</div>
<h3>Option 2: Mit Chocolatey</h3>
<p>Falls Chocolatey installiert ist:</p>
<div class="code-block">
<code>choco install adb</code>
</div>
<h3>Option 3: Android Studio</h3>
<p>Bei installiertem Android Studio ist ADB bereits unter <code>%LOCALAPPDATA%\Android\Sdk\platform-tools</code> verfügbar.</p>
</div>
<div id="mac" class="tab-content">
<h3>Option 1: Mit Homebrew (empfohlen)</h3>
<div class="code-block">
<code>brew install android-platform-tools</code>
</div>
<h3>Option 2: Manueller Download</h3>
<ul>
<li><a href="https://dl.google.com/android/repository/platform-tools-latest-darwin.zip" style="color: #4CAF50;">Platform Tools für macOS herunterladen</a></li>
<li>ZIP entpacken</li>
<li>Terminal öffnen und zum Ordner navigieren</li>
</ul>
<div class="code-block">
<code>cd ~/Downloads/platform-tools
./adb connect 192.168.1.100:5555
./adb install wireguard-tv.apk</code>
</div>
<h3>Option 3: Zum PATH hinzufügen</h3>
<p>Für dauerhafte Nutzung:</p>
<div class="code-block">
<code>echo 'export PATH=$PATH:~/Downloads/platform-tools' >> ~/.zshrc
source ~/.zshrc</code>
</div>
</div>
<div id="linux" class="tab-content">
<h3>Debian / Ubuntu</h3>
<div class="code-block">
<code>sudo apt update
sudo apt install adb</code>
</div>
<h3>Fedora</h3>
<div class="code-block">
<code>sudo dnf install android-tools</code>
</div>
<h3>Arch Linux</h3>
<div class="code-block">
<code>sudo pacman -S android-tools</code>
</div>
<h3>Manueller Download</h3>
<ul>
<li><a href="https://dl.google.com/android/repository/platform-tools-latest-linux.zip" style="color: #4CAF50;">Platform Tools für Linux herunterladen</a></li>
<li>ZIP entpacken und Terminal öffnen</li>
</ul>
<div class="code-block">
<code>unzip platform-tools-latest-linux.zip
cd platform-tools
./adb connect 192.168.1.100:5555
./adb install wireguard-tv.apk</code>
</div>
</div>
</div>
<div class="install-section">
<h2>Fire TV einrichten</h2>
<div class="install-steps">
<div class="step">
<h4>Entwickleroptionen freischalten</h4>
<p>Einstellungen → Mein Fire TV → Info → 7x auf "Fire TV Stick" klicken bis "Du bist jetzt Entwickler" erscheint</p>
</div>
<div class="step">
<h4>Apps aus unbekannten Quellen erlauben</h4>
<p>Einstellungen → Mein Fire TV → Entwickleroptionen → "Apps aus unbekannten Quellen" aktivieren</p>
</div>
<div class="step">
<h4>ADB-Debugging aktivieren</h4>
<p>In den Entwickleroptionen "ADB-Debugging" einschalten. Fire TV IP-Adresse notieren (unter Einstellungen → Mein Fire TV → Info → Netzwerk)</p>
</div>
<div class="step">
<h4>ADB verbinden</h4>
<p>Am PC: <code>adb connect FIRE-TV-IP:5555</code> - Auf dem Fire TV die Verbindung bestätigen</p>
</div>
<div class="step">
<h4>APK installieren</h4>
<p>Via ADB: <code>adb install wireguard-tv.apk</code></p>
</div>
<div class="step">
<h4>App starten</h4>
<p>WireGuard TV erscheint im App-Menü. Beim ersten Start VPN-Berechtigung erteilen.</p>
</div>
</div>
</div>
<div class="footer">
<p>Made with ❤️ by HackerSoft</p>
</div>
</div>
<script>
function showTab(tabId) {
// Alle Tabs deaktivieren
document.querySelectorAll('.tab-content').forEach(tab => {
tab.classList.remove('active');
});
document.querySelectorAll('.tab-btn').forEach(btn => {
btn.classList.remove('active');
});
// Gewählten Tab aktivieren
document.getElementById(tabId).classList.add('active');
event.target.classList.add('active');
}
</script>
</body>
</html>