Add 3 files
Browse files- README.md +7 -5
- index.html +468 -19
- prompts.txt +0 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: unmsapi
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: purple
|
| 5 |
+
colorTo: gray
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,468 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Meting API - Elegant Music Service</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
|
| 11 |
+
|
| 12 |
+
body {
|
| 13 |
+
font-family: 'Poppins', sans-serif;
|
| 14 |
+
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
| 15 |
+
min-height: 100vh;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
.card {
|
| 19 |
+
transition: all 0.3s ease;
|
| 20 |
+
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
|
| 21 |
+
border-radius: 12px;
|
| 22 |
+
overflow: hidden;
|
| 23 |
+
background: rgba(255,255,255,0.9);
|
| 24 |
+
backdrop-filter: blur(10px);
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
.card:hover {
|
| 28 |
+
transform: translateY(-5px);
|
| 29 |
+
box-shadow: 0 15px 30px rgba(0,0,0,0.15);
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
.music-player {
|
| 33 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 34 |
+
color: white;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
.api-endpoint {
|
| 38 |
+
position: relative;
|
| 39 |
+
overflow: hidden;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
.api-endpoint::before {
|
| 43 |
+
content: '';
|
| 44 |
+
position: absolute;
|
| 45 |
+
top: 0;
|
| 46 |
+
left: 0;
|
| 47 |
+
width: 4px;
|
| 48 |
+
height: 100%;
|
| 49 |
+
background: linear-gradient(to bottom, #667eea, #764ba2);
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
.btn-primary {
|
| 53 |
+
background: linear-gradient(to right, #667eea, #764ba2);
|
| 54 |
+
transition: all 0.3s ease;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
.btn-primary:hover {
|
| 58 |
+
transform: translateY(-2px);
|
| 59 |
+
box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
.animate-pulse-slow {
|
| 63 |
+
animation: pulse 3s infinite;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
@keyframes pulse {
|
| 67 |
+
0%, 100% {
|
| 68 |
+
opacity: 1;
|
| 69 |
+
}
|
| 70 |
+
50% {
|
| 71 |
+
opacity: 0.6;
|
| 72 |
+
}
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
.wave {
|
| 76 |
+
position: relative;
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
.wave::after {
|
| 80 |
+
content: "";
|
| 81 |
+
position: absolute;
|
| 82 |
+
bottom: 0;
|
| 83 |
+
left: 0;
|
| 84 |
+
width: 100%;
|
| 85 |
+
height: 100px;
|
| 86 |
+
background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23667eea"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23667eea"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,233.58-19.2,13.27,4.81,22.45,14.91,28.75,23.68,9.23,13.21,12.15,28.66,6.51,44.69C1209.49,86.99,1159,93.2,1200,103.89V0Z" fill="%23667eea"/></svg>');
|
| 87 |
+
background-size: cover;
|
| 88 |
+
z-index: -1;
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
.music-visualizer {
|
| 92 |
+
display: flex;
|
| 93 |
+
align-items: flex-end;
|
| 94 |
+
height: 40px;
|
| 95 |
+
gap: 3px;
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
.music-bar {
|
| 99 |
+
width: 4px;
|
| 100 |
+
background: white;
|
| 101 |
+
border-radius: 2px;
|
| 102 |
+
animation: equalize 1.5s infinite ease-in-out;
|
| 103 |
+
}
|
| 104 |
+
|
| 105 |
+
@keyframes equalize {
|
| 106 |
+
0%, 100% {
|
| 107 |
+
height: 5px;
|
| 108 |
+
}
|
| 109 |
+
50% {
|
| 110 |
+
height: 20px;
|
| 111 |
+
}
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.music-bar:nth-child(1) { animation-delay: -0.9s; }
|
| 115 |
+
.music-bar:nth-child(2) { animation-delay: -1.2s; }
|
| 116 |
+
.music-bar:nth-child(3) { animation-delay: -0.6s; }
|
| 117 |
+
.music-bar:nth-child(4) { animation-delay: -0.3s; }
|
| 118 |
+
.music-bar:nth-child(5) { animation-delay: -0.1s; }
|
| 119 |
+
.music-bar:nth-child(6) { animation-delay: -0.7s; }
|
| 120 |
+
.music-bar:nth-child(7) { animation-delay: -0.5s; }
|
| 121 |
+
.music-bar:nth-child(8) { animation-delay: -0.2s; }
|
| 122 |
+
</style>
|
| 123 |
+
</head>
|
| 124 |
+
<body class="text-gray-800">
|
| 125 |
+
<div class="wave">
|
| 126 |
+
<div class="container mx-auto px-4 py-12">
|
| 127 |
+
<!-- Header -->
|
| 128 |
+
<header class="flex flex-col items-center mb-12">
|
| 129 |
+
<div class="flex items-center justify-center mb-4">
|
| 130 |
+
<div class="music-visualizer mr-4">
|
| 131 |
+
<div class="music-bar w-1 h-5"></div>
|
| 132 |
+
<div class="music-bar w-1 h-5"></div>
|
| 133 |
+
<div class="music-bar w-1 h-5"></div>
|
| 134 |
+
<div class="music-bar w-1 h-5"></div>
|
| 135 |
+
<div class="music-bar w-1 h-5"></div>
|
| 136 |
+
<div class="music-bar w-1 h-5"></div>
|
| 137 |
+
<div class="music-bar w-1 h-5"></div>
|
| 138 |
+
<div class="music-bar w-1 h-5"></div>
|
| 139 |
+
</div>
|
| 140 |
+
<h1 class="text-4xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-indigo-500 to-purple-600">
|
| 141 |
+
Meting API
|
| 142 |
+
</h1>
|
| 143 |
+
</div>
|
| 144 |
+
<p class="text-xl text-center text-gray-600 max-w-2xl">
|
| 145 |
+
强大而优雅的音乐服务接口,支持多平台无缝集成
|
| 146 |
+
</p>
|
| 147 |
+
</header>
|
| 148 |
+
|
| 149 |
+
<!-- Platforms Section -->
|
| 150 |
+
<section class="mb-16">
|
| 151 |
+
<h2 class="text-2xl font-semibold mb-6 flex items-center">
|
| 152 |
+
<i class="fas fa-plug mr-3 text-indigo-500"></i> 支持平台
|
| 153 |
+
</h2>
|
| 154 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
|
| 155 |
+
<!-- Netease Card -->
|
| 156 |
+
<div class="card p-6 flex flex-col items-center">
|
| 157 |
+
<div class="w-16 h-16 bg-red-100 rounded-full flex items-center justify-center mb-4">
|
| 158 |
+
<i class="fab fa-napster text-3xl text-red-500"></i>
|
| 159 |
+
</div>
|
| 160 |
+
<h3 class="text-xl font-semibold mb-2">网易云音乐</h3>
|
| 161 |
+
<p class="text-gray-600 text-center mb-4">中国领先的音乐平台</p>
|
| 162 |
+
<span class="px-3 py-1 bg-red-100 text-red-600 rounded-full text-sm">netease</span>
|
| 163 |
+
</div>
|
| 164 |
+
|
| 165 |
+
<!-- QQ Music Card -->
|
| 166 |
+
<div class="card p-6 flex flex-col items-center">
|
| 167 |
+
<div class="w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mb-4">
|
| 168 |
+
<i class="fas fa-music text-3xl text-green-500"></i>
|
| 169 |
+
</div>
|
| 170 |
+
<h3 class="text-xl font-semibold mb-2">QQ音乐</h3>
|
| 171 |
+
<p class="text-gray-600 text-center mb-4">腾讯旗下音乐服务</p>
|
| 172 |
+
<span class="px-3 py-1 bg-green-100 text-green-600 rounded-full text-sm">tencent</span>
|
| 173 |
+
</div>
|
| 174 |
+
|
| 175 |
+
<!-- Kugou Card -->
|
| 176 |
+
<div class="card p-6 flex flex-col items-center">
|
| 177 |
+
<div class="w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mb-4">
|
| 178 |
+
<i class="fas fa-headphones text-3xl text-blue-500"></i>
|
| 179 |
+
</div>
|
| 180 |
+
<h3 class="text-xl font-semibold mb-2">酷狗音乐</h3>
|
| 181 |
+
<p class="text-gray-600 text-center mb-4">高品质音乐平台</p>
|
| 182 |
+
<span class="px-3 py-1 bg-blue-100 text-blue-600 rounded-full text-sm">kugou</span>
|
| 183 |
+
</div>
|
| 184 |
+
|
| 185 |
+
<!-- Kuwo Card -->
|
| 186 |
+
<div class="card p-6 flex flex-col items-center">
|
| 187 |
+
<div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mb-4">
|
| 188 |
+
<i class="fas fa-compact-disc text-3xl text-purple-500"></i>
|
| 189 |
+
</div>
|
| 190 |
+
<h3 class="text-xl font-semibold mb-2">酷我音乐</h3>
|
| 191 |
+
<p class="text-gray-600 text-center mb-4">海量正版音乐</p>
|
| 192 |
+
<span class="px-3 py-1 bg-purple-100 text-purple-600 rounded-full text-sm">kuwo</span>
|
| 193 |
+
</div>
|
| 194 |
+
</div>
|
| 195 |
+
</section>
|
| 196 |
+
|
| 197 |
+
<!-- API Demo Section -->
|
| 198 |
+
<section class="mb-16">
|
| 199 |
+
<h2 class="text-2xl font-semibold mb-6 flex items-center">
|
| 200 |
+
<i class="fas fa-code mr-3 text-indigo-500"></i> API 接口
|
| 201 |
+
</h2>
|
| 202 |
+
|
| 203 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
|
| 204 |
+
<!-- Parameters Card -->
|
| 205 |
+
<div class="card p-6">
|
| 206 |
+
<h3 class="text-xl font-semibold mb-4 flex items-center">
|
| 207 |
+
<i class="fas fa-sliders-h mr-2 text-indigo-500"></i> 接口参数
|
| 208 |
+
</h3>
|
| 209 |
+
|
| 210 |
+
<div class="space-y-4">
|
| 211 |
+
<div>
|
| 212 |
+
<h4 class="font-medium text-gray-700 mb-1">数据源 (server)</h4>
|
| 213 |
+
<div class="flex flex-wrap gap-2">
|
| 214 |
+
<span class="px-2 py-1 bg-red-100 text-red-600 rounded text-xs">netease</span>
|
| 215 |
+
<span class="px-2 py-1 bg-green-100 text-green-600 rounded text-xs">tencent</span>
|
| 216 |
+
<span class="px-2 py-1 bg-blue-100 text-blue-600 rounded text-xs">kugou</span>
|
| 217 |
+
<span class="px-2 py-1 bg-purple-100 text-purple-600 rounded text-xs">kuwo</span>
|
| 218 |
+
</div>
|
| 219 |
+
<p class="text-gray-500 text-sm mt-1">默认: netease</p>
|
| 220 |
+
</div>
|
| 221 |
+
|
| 222 |
+
<div>
|
| 223 |
+
<h4 class="font-medium text-gray-700 mb-1">类型 (type)</h4>
|
| 224 |
+
<div class="flex flex-wrap gap-2">
|
| 225 |
+
<span class="px-2 py-1 bg-gray-100 text-gray-600 rounded text-xs">name</span>
|
| 226 |
+
<span class="px-2 py-1 bg-gray-100 text-gray-600 rounded text-xs">artist</span>
|
| 227 |
+
<span class="px-2 py-1 bg-indigo-100 text-indigo-600 rounded text-xs">url</span>
|
| 228 |
+
<span class="px-2 py-1 bg-indigo-100 text-indigo-600 rounded text-xs">pic</span>
|
| 229 |
+
<span class="px-2 py-1 bg-indigo-100 text-indigo-600 rounded text-xs">lrc</span>
|
| 230 |
+
<span class="px-2 py-1 bg-gray-100 text-gray-600 rounded text-xs">song</span>
|
| 231 |
+
<span class="px-2 py-1 bg-gray-100 text-gray-600 rounded text-xs">playlist</span>
|
| 232 |
+
</div>
|
| 233 |
+
<p class="text-gray-500 text-sm mt-1">红色标注需要鉴权</p>
|
| 234 |
+
</div>
|
| 235 |
+
</div>
|
| 236 |
+
</div>
|
| 237 |
+
|
| 238 |
+
<!-- Examples Card -->
|
| 239 |
+
<div class="card p-6">
|
| 240 |
+
<h3 class="text-xl font-semibold mb-4 flex items-center">
|
| 241 |
+
<i class="fas fa-laptop-code mr-2 text-indigo-500"></i> 接口示例
|
| 242 |
+
</h3>
|
| 243 |
+
|
| 244 |
+
<div class="space-y-4">
|
| 245 |
+
<div class="api-endpoint bg-gray-50 p-4 rounded">
|
| 246 |
+
<h4 class="font-medium text-gray-700 mb-1 flex items-center">
|
| 247 |
+
<i class="fas fa-link mr-2 text-sm text-indigo-500"></i> GET 获取音乐URL (需要鉴权)
|
| 248 |
+
</h4>
|
| 249 |
+
<div class="text-sm bg-gray-800 text-gray-200 p-3 rounded overflow-x-auto">
|
| 250 |
+
https://api.ixingchen.org.cn/unms/u/?type=url&id=416892104&auth=2decad9d48290bd57cfa2f3b77dec5d139817a512c79e3269913039eaecb6d69|1746462897|2cd1d4182535f7943b7ea238f6b21bf4
|
| 251 |
+
</div>
|
| 252 |
+
<p class="text-gray-500 text-xs mt-1">注意: auth参数包含签名、时间戳和随机数,有效期为300秒</p>
|
| 253 |
+
</div>
|
| 254 |
+
|
| 255 |
+
<div class="api-endpoint bg-gray-50 p-4 rounded">
|
| 256 |
+
<h4 class="font-medium text-gray-700 mb-1 flex items-center">
|
| 257 |
+
<i class="fas fa-info-circle mr-2 text-sm text-indigo-500"></i> GET 获取歌曲信息
|
| 258 |
+
</h4>
|
| 259 |
+
<div class="text-sm bg-gray-800 text-gray-200 p-3 rounded overflow-x-auto">
|
| 260 |
+
https://api.ixingchen.org.cn/unms/u/?type=song&id=591321
|
| 261 |
+
</div>
|
| 262 |
+
<p class="text-gray-500 text-xs mt-1">提示: 返回的URL、封面和歌词链接已包含鉴权参数</p>
|
| 263 |
+
</div>
|
| 264 |
+
</div>
|
| 265 |
+
</div>
|
| 266 |
+
</div>
|
| 267 |
+
</section>
|
| 268 |
+
|
| 269 |
+
<!-- Authentication Section -->
|
| 270 |
+
<section class="mb-16">
|
| 271 |
+
<h2 class="text-2xl font-semibold mb-6 flex items-center">
|
| 272 |
+
<i class="fas fa-lock mr-3 text-indigo-500"></i> 鉴权说明
|
| 273 |
+
</h2>
|
| 274 |
+
|
| 275 |
+
<div class="card p-6">
|
| 276 |
+
<div class="flex flex-col md:flex-row gap-6">
|
| 277 |
+
<div class="flex-1">
|
| 278 |
+
<h3 class="text-lg font-semibold mb-3 text-indigo-600">需要鉴权的API</h3>
|
| 279 |
+
<ul class="space-y-2">
|
| 280 |
+
<li class="flex items-start">
|
| 281 |
+
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
|
| 282 |
+
<span>获取音乐URL (type=url)</span>
|
| 283 |
+
</li>
|
| 284 |
+
<li class="flex items-start">
|
| 285 |
+
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
|
| 286 |
+
<span>获取封面图片 (type=pic)</span>
|
| 287 |
+
</li>
|
| 288 |
+
<li class="flex items-start">
|
| 289 |
+
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
|
| 290 |
+
<span>获取歌词 (type=lrc)</span>
|
| 291 |
+
</li>
|
| 292 |
+
</ul>
|
| 293 |
+
</div>
|
| 294 |
+
|
| 295 |
+
<div class="flex-1">
|
| 296 |
+
<h3 class="text-lg font-semibold mb-3 text-indigo-600">鉴权参数格式</h3>
|
| 297 |
+
<div class="bg-gray-800 text-gray-200 p-4 rounded">
|
| 298 |
+
<code>auth=签名|时间戳|随机数</code>
|
| 299 |
+
</div>
|
| 300 |
+
<p class="text-gray-600 mt-3 text-sm">
|
| 301 |
+
签名由服务器使用HMAC-SHA256算法生成,包含时间戳和随机数以防止重放攻击。
|
| 302 |
+
</p>
|
| 303 |
+
</div>
|
| 304 |
+
</div>
|
| 305 |
+
</div>
|
| 306 |
+
</section>
|
| 307 |
+
|
| 308 |
+
<!-- Music Player Demo -->
|
| 309 |
+
<section class="mb-16">
|
| 310 |
+
<h2 class="text-2xl font-semibold mb-6 flex items-center">
|
| 311 |
+
<i class="fas fa-play-circle mr-3 text-indigo-500"></i> 音乐播放演示
|
| 312 |
+
</h2>
|
| 313 |
+
|
| 314 |
+
<div class="card music-player p-0 overflow-hidden">
|
| 315 |
+
<div class="flex flex-col md:flex-row">
|
| 316 |
+
<div class="md:w-1/3 p-6 flex flex-col items-center justify-center">
|
| 317 |
+
<div class="w-40 h-40 bg-white bg-opacity-20 rounded-full flex items-center justify-center mb-6 animate-pulse-slow">
|
| 318 |
+
<img src="https://p2.music.126.net/4HGEnXVexEfBACKi2Q2XGg==/109951165136101673.jpg" alt="Album Cover" class="w-32 h-32 rounded-full object-cover shadow-lg">
|
| 319 |
+
</div>
|
| 320 |
+
<h3 class="text-xl font-bold text-white">夜曲</h3>
|
| 321 |
+
<p class="text-white text-opacity-80">周杰伦</p>
|
| 322 |
+
</div>
|
| 323 |
+
|
| 324 |
+
<div class="md:w-2/3 p-6 bg-white bg-opacity-10">
|
| 325 |
+
<div class="flex items-center justify-between mb-6">
|
| 326 |
+
<div class="flex items-center">
|
| 327 |
+
<button class="w-10 h-10 rounded-full bg-white bg-opacity-20 flex items-center justify-center text-white mr-4 hover:bg-opacity-30 transition">
|
| 328 |
+
<i class="fas fa-step-backward"></i>
|
| 329 |
+
</button>
|
| 330 |
+
<button class="w-12 h-12 rounded-full bg-white flex items-center justify-center text-indigo-600 shadow-lg hover:scale-105 transition transform">
|
| 331 |
+
<i class="fas fa-play"></i>
|
| 332 |
+
</button>
|
| 333 |
+
<button class="w-10 h-10 rounded-full bg-white bg-opacity-20 flex items-center justify-center text-white ml-4 hover:bg-opacity-30 transition">
|
| 334 |
+
<i class="fas fa-step-forward"></i>
|
| 335 |
+
</button>
|
| 336 |
+
</div>
|
| 337 |
+
|
| 338 |
+
<div class="flex items-center">
|
| 339 |
+
<button class="w-8 h-8 rounded-full bg-white bg-opacity-20 flex items-center justify-center text-white mr-2 hover:bg-opacity-30 transition">
|
| 340 |
+
<i class="fas fa-random"></i>
|
| 341 |
+
</button>
|
| 342 |
+
<button class="w-8 h-8 rounded-full bg-white bg-opacity-20 flex items-center justify-center text-white hover:bg-opacity-30 transition">
|
| 343 |
+
<i class="fas fa-redo"></i>
|
| 344 |
+
</button>
|
| 345 |
+
</div>
|
| 346 |
+
</div>
|
| 347 |
+
|
| 348 |
+
<div class="mb-4">
|
| 349 |
+
<div class="h-1 bg-white bg-opacity-20 rounded-full mb-1">
|
| 350 |
+
<div class="h-1 bg-white rounded-full w-1/3"></div>
|
| 351 |
+
</div>
|
| 352 |
+
<div class="flex justify-between text-white text-opacity-80 text-sm">
|
| 353 |
+
<span>1:23</span>
|
| 354 |
+
<span>4:12</span>
|
| 355 |
+
</div>
|
| 356 |
+
</div>
|
| 357 |
+
|
| 358 |
+
<div class="flex items-center justify-between">
|
| 359 |
+
<div class="flex items-center">
|
| 360 |
+
<button class="w-8 h-8 rounded-full bg-white bg-opacity-20 flex items-center justify-center text-white mr-2 hover:bg-opacity-30 transition">
|
| 361 |
+
<i class="fas fa-volume-up"></i>
|
| 362 |
+
</button>
|
| 363 |
+
<div class="w-20 h-1 bg-white bg-opacity-20 rounded-full">
|
| 364 |
+
<div class="h-1 bg-white rounded-full w-3/4"></div>
|
| 365 |
+
</div>
|
| 366 |
+
</div>
|
| 367 |
+
|
| 368 |
+
<div class="flex items-center">
|
| 369 |
+
<button class="w-8 h-8 rounded-full bg-white bg-opacity-20 flex items-center justify-center text-white mr-2 hover:bg-opacity-30 transition">
|
| 370 |
+
<i class="fas fa-microphone"></i>
|
| 371 |
+
</button>
|
| 372 |
+
<button class="w-8 h-8 rounded-full bg-white bg-opacity-20 flex items-center justify-center text-white hover:bg-opacity-30 transition">
|
| 373 |
+
<i class="fas fa-list-ul"></i>
|
| 374 |
+
</button>
|
| 375 |
+
</div>
|
| 376 |
+
</div>
|
| 377 |
+
</div>
|
| 378 |
+
</div>
|
| 379 |
+
</div>
|
| 380 |
+
</section>
|
| 381 |
+
|
| 382 |
+
<!-- Call to Action -->
|
| 383 |
+
<section class="text-center">
|
| 384 |
+
<h2 class="text-2xl font-semibold mb-4">开始使用 Meting API</h2>
|
| 385 |
+
<p class="text-gray-600 mb-8 max-w-2xl mx-auto">
|
| 386 |
+
此API基于 Meting 构建,提供强大而优雅的音乐服务接口,支持多平台无缝集成
|
| 387 |
+
</p>
|
| 388 |
+
<div class="flex justify-center space-x-4">
|
| 389 |
+
<a href="https://github.com/metowolf/Meting" class="btn-primary px-6 py-3 rounded-full text-white font-medium inline-flex items-center">
|
| 390 |
+
<i class="fab fa-github mr-2"></i> GitHub 项目
|
| 391 |
+
</a>
|
| 392 |
+
<a href="#" class="px-6 py-3 rounded-full border border-indigo-500 text-indigo-500 font-medium hover:bg-indigo-50 transition inline-flex items-center">
|
| 393 |
+
<i class="fas fa-book mr-2"></i> 文档指南
|
| 394 |
+
</a>
|
| 395 |
+
</div>
|
| 396 |
+
</section>
|
| 397 |
+
</div>
|
| 398 |
+
</div>
|
| 399 |
+
|
| 400 |
+
<footer class="bg-gray-900 text-gray-400 py-8">
|
| 401 |
+
<div class="container mx-auto px-4">
|
| 402 |
+
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 403 |
+
<div class="mb-4 md:mb-0">
|
| 404 |
+
<div class="flex items-center">
|
| 405 |
+
<div class="music-visualizer mr-3">
|
| 406 |
+
<div class="music-bar w-1 h-3"></div>
|
| 407 |
+
<div class="music-bar w-1 h-3"></div>
|
| 408 |
+
<div class="music-bar w-1 h-3"></div>
|
| 409 |
+
</div>
|
| 410 |
+
<span class="text-white font-medium">Meting API</span>
|
| 411 |
+
</div>
|
| 412 |
+
<p class="text-sm mt-2">强大而优雅的音乐服务接口</p>
|
| 413 |
+
</div>
|
| 414 |
+
|
| 415 |
+
<div class="flex space-x-6">
|
| 416 |
+
<a href="#" class="hover:text-white transition">
|
| 417 |
+
<i class="fab fa-github text-lg"></i>
|
| 418 |
+
</a>
|
| 419 |
+
<a href="#" class="hover:text-white transition">
|
| 420 |
+
<i class="fab fa-twitter text-lg"></i>
|
| 421 |
+
</a>
|
| 422 |
+
<a href="#" class="hover:text-white transition">
|
| 423 |
+
<i class="fab fa-discord text-lg"></i>
|
| 424 |
+
</a>
|
| 425 |
+
<a href="#" class="hover:text-white transition">
|
| 426 |
+
<i class="fas fa-envelope text-lg"></i>
|
| 427 |
+
</a>
|
| 428 |
+
</div>
|
| 429 |
+
</div>
|
| 430 |
+
|
| 431 |
+
<div class="border-t border-gray-800 mt-8 pt-8 text-sm text-center">
|
| 432 |
+
<p>© 2023 Meting API. All rights reserved.</p>
|
| 433 |
+
</div>
|
| 434 |
+
</div>
|
| 435 |
+
</footer>
|
| 436 |
+
|
| 437 |
+
<script>
|
| 438 |
+
// Simple animation for music bars
|
| 439 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 440 |
+
const bars = document.querySelectorAll('.music-bar');
|
| 441 |
+
|
| 442 |
+
function animateBars() {
|
| 443 |
+
bars.forEach(bar => {
|
| 444 |
+
const randomHeight = Math.floor(Math.random() * 20) + 5;
|
| 445 |
+
bar.style.height = `${randomHeight}px`;
|
| 446 |
+
});
|
| 447 |
+
|
| 448 |
+
setTimeout(animateBars, 300);
|
| 449 |
+
}
|
| 450 |
+
|
| 451 |
+
animateBars();
|
| 452 |
+
|
| 453 |
+
// Play button interaction
|
| 454 |
+
const playButton = document.querySelector('.music-player .fa-play').parentElement;
|
| 455 |
+
playButton.addEventListener('click', function() {
|
| 456 |
+
const icon = this.querySelector('i');
|
| 457 |
+
if(icon.classList.contains('fa-play')) {
|
| 458 |
+
icon.classList.remove('fa-play');
|
| 459 |
+
icon.classList.add('fa-pause');
|
| 460 |
+
} else {
|
| 461 |
+
icon.classList.remove('fa-pause');
|
| 462 |
+
icon.classList.add('fa-play');
|
| 463 |
+
}
|
| 464 |
+
});
|
| 465 |
+
});
|
| 466 |
+
</script>
|
| 467 |
+
<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=ixingchen/unmsapi" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 468 |
+
</html>
|
prompts.txt
ADDED
|
File without changes
|