refactor: standalone dashboard folders with index.html, zip-based import/export (.tsd/.tss/.tsp)

- Each dashboard is now a self-contained folder: manifest.json + index.html
- Auto-scan dashboards/ and data/dashboards/ on startup
- Export: .tsd (dashboards), .tss (scenes), .tsp (game plugins) - all zip format
- Dashboard index.html is complete standalone page (WS + data binding)
- Aspect ratio constraints handled in each dashboard's own JS
- Removed template-based dashboard rendering in favor of static serve
- Import via file upload endpoints, export via direct file download
This commit is contained in:
2026-07-25 15:35:08 +08:00
parent d61bb61a83
commit 63e3c8d607
21 changed files with 752 additions and 380 deletions
+13
View File
@@ -0,0 +1,13 @@
{
"id": "gear_indicator",
"name": "档位指示器",
"category": "basic",
"description": "醒目大圆档位显示,适合竖屏手机副屏",
"author": "Yei.J. (AskaEth)",
"version": "1.0.0",
"config": {
"icon": "⚙️",
"aspect_ratio": "1:1",
"render_mode": "contain"
}
}