mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-03-11 17:45:38 +00:00
105 lines
3.1 KiB
HTML
105 lines
3.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Nuvio Trailer Server</title>
|
|
<style>
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
min-height: 100vh;
|
|
}
|
|
.container {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
backdrop-filter: blur(10px);
|
|
border-radius: 20px;
|
|
padding: 40px;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
|
|
}
|
|
h1 {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
font-size: 2.5em;
|
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
|
}
|
|
.endpoint {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
padding: 20px;
|
|
margin: 20px 0;
|
|
border-radius: 10px;
|
|
border-left: 4px solid #4CAF50;
|
|
}
|
|
.method {
|
|
font-weight: bold;
|
|
color: #4CAF50;
|
|
font-size: 1.2em;
|
|
}
|
|
.url {
|
|
font-family: 'Courier New', monospace;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
margin: 10px 0;
|
|
word-break: break-all;
|
|
}
|
|
.description {
|
|
margin-top: 10px;
|
|
opacity: 0.9;
|
|
}
|
|
.status {
|
|
text-align: center;
|
|
margin: 30px 0;
|
|
font-size: 1.5em;
|
|
color: #4CAF50;
|
|
}
|
|
.footer {
|
|
text-align: center;
|
|
margin-top: 40px;
|
|
opacity: 0.7;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>🎬 Nuvio Trailer Server</h1>
|
|
|
|
<div class="status">
|
|
✅ Server is running and ready!
|
|
</div>
|
|
|
|
<div class="endpoint">
|
|
<div class="method">GET</div>
|
|
<div class="url">/health</div>
|
|
<div class="description">Health check endpoint to verify server status</div>
|
|
</div>
|
|
|
|
<div class="endpoint">
|
|
<div class="method">GET</div>
|
|
<div class="url">/trailer?youtube_url=YOUTUBE_URL&title=TITLE&year=YEAR</div>
|
|
<div class="description">Convert YouTube trailer URL to direct streaming link using yt-dlp</div>
|
|
</div>
|
|
|
|
<div class="endpoint">
|
|
<div class="method">GET</div>
|
|
<div class="url">/cache</div>
|
|
<div class="description">View cached trailers (for debugging)</div>
|
|
</div>
|
|
|
|
<div class="endpoint">
|
|
<div class="method">DELETE</div>
|
|
<div class="url">/cache</div>
|
|
<div class="description">Clear all cached trailers</div>
|
|
</div>
|
|
|
|
<div class="footer">
|
|
<p>🚀 Powered by yt-dlp and Express.js</p>
|
|
<p>Built for Nuvio Streaming App</p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|