manifest.json 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "name": "🎓🍅♨️",
  3. "short_name": "🍅",
  4. "description": "🎓🍅♨️ - 高效记录进度的番茄钟应用",
  5. "start_url": "/",
  6. "display": "standalone",
  7. "background_color": "#f5f5f5",
  8. "theme_color": "#4caf50",
  9. "orientation": "any",
  10. "scope": "/",
  11. "lang": "zh-Hans-CN",
  12. "dir": "ltr",
  13. "categories": ["productivity", "education", "utilities"],
  14. "icons": [
  15. {
  16. "src": "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' fill='%234caf50'/%3E%3Ctext x='50' y='65' font-size='50' text-anchor='middle' fill='white'%3E🍅%3C/text%3E%3C/svg%3E",
  17. "sizes": "any",
  18. "type": "image/svg+xml",
  19. "purpose": "any maskable"
  20. },
  21. {
  22. "src": "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 192 192'%3E%3Crect width='192' height='192' fill='%234caf50' rx='24'/%3E%3Ctext x='96' y='120' font-size='96' text-anchor='middle' fill='white'%3E🍅%3C/text%3E%3C/svg%3E",
  23. "sizes": "192x192",
  24. "type": "image/svg+xml",
  25. "purpose": "any"
  26. },
  27. {
  28. "src": "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Crect width='512' height='512' fill='%234caf50' rx='64'/%3E%3Ctext x='256' y='320' font-size='256' text-anchor='middle' fill='white'%3E🍅%3C/text%3E%3C/svg%3E",
  29. "sizes": "512x512",
  30. "type": "image/svg+xml",
  31. "purpose": "any"
  32. }
  33. ],
  34. "shortcuts": [
  35. {
  36. "name": "开始番茄钟",
  37. "short_name": "番茄钟",
  38. "description": "快速开始 25 分钟番茄钟计时",
  39. "url": "/?action=pomodoro",
  40. "icons": [
  41. {
  42. "src": "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' fill='%23ff5722' rx='16'/%3E%3Ctext x='50' y='65' font-size='50' text-anchor='middle' fill='white'%3E🍅%3C/text%3E%3C/svg%3E",
  43. "sizes": "96x96"
  44. }
  45. ]
  46. },
  47. {
  48. "name": "开始休息",
  49. "short_name": "休息",
  50. "description": "快速开始 5 分钟休息计时",
  51. "url": "/?action=idle",
  52. "icons": [
  53. {
  54. "src": "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' fill='%232196f3' rx='16'/%3E%3Ctext x='50' y='65' font-size='50' text-anchor='middle' fill='white'%3E♨️%3C/text%3E%3C/svg%3E",
  55. "sizes": "96x96"
  56. }
  57. ]
  58. },
  59. {
  60. "name": "查看学习统计",
  61. "short_name": "统计",
  62. "description": "查看总学习时长",
  63. "url": "/?action=stats",
  64. "icons": [
  65. {
  66. "src": "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' fill='%234caf50' rx='16'/%3E%3Ctext x='50' y='65' font-size='50' text-anchor='middle' fill='white'%3E🎓%3C/text%3E%3C/svg%3E",
  67. "sizes": "96x96"
  68. }
  69. ]
  70. }
  71. ],
  72. "screenshots": [
  73. {
  74. "src": "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 640'%3E%3Crect width='360' height='640' fill='%23f5f5f5'/%3E%3Ctext x='180' y='320' font-size='24' text-anchor='middle' fill='%23333'%3E番茄钟应用截图%3C/text%3E%3C/svg%3E",
  75. "sizes": "360x640",
  76. "type": "image/svg+xml",
  77. "form_factor": "narrow"
  78. },
  79. {
  80. "src": "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 720'%3E%3Crect width='1280' height='720' fill='%23f5f5f5'/%3E%3Ctext x='640' y='360' font-size='48' text-anchor='middle' fill='%23333'%3E番茄钟应用桌面视图%3C/text%3E%3C/svg%3E",
  81. "sizes": "1280x720",
  82. "type": "image/svg+xml",
  83. "form_factor": "wide"
  84. }
  85. ],
  86. "related_applications": [],
  87. "prefer_related_applications": false,
  88. "edge_side_panel": {
  89. "preferred_width": 400
  90. }
  91. }