feat: 添加 PWA 支持

This commit is contained in:
2026-04-26 22:30:08 +08:00
parent 1e3e04f7d8
commit 89fa3740f9
9 changed files with 143 additions and 4 deletions
+33
View File
@@ -0,0 +1,33 @@
{
"name": "Simple LLM Chat UI",
"short_name": "LLM Chat",
"description": "A local-first chat panel for OpenAI-compatible LLM services.",
"id": "/",
"lang": "zh-CN",
"start_url": "/",
"scope": "/",
"display": "standalone",
"orientation": "any",
"background_color": "#ffffff",
"theme_color": "#111111",
"icons": [
{
"src": "/icons/icon-192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any"
},
{
"src": "/icons/icon-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any"
},
{
"src": "/icons/maskable-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
]
}