{
  "name": "XinWoRen — AI Digital Content Creation & Marketplace",
  "short_name": "XinWoRen",
  "description": "AI-powered short drama creation, digital content marketplace, and multi-platform distribution. Create, sell, and scale with AI Studio — from script to screen in minutes.",
  "version": "2.3.0",
  "start_url": "/?source=pwa",
  "scope": "/",
  "display": "standalone",
  "display_override": [
    "window-controls-overlay",
    "standalone",
    "minimal-ui",
    "browser"
  ],
  "orientation": "portrait-primary",
  "background_color": "#0a0a0a",
  "theme_color": "#0a0a0b",
  "dir": "auto",
  "lang": "en",
  "categories": [
    "business",
    "entertainment",
    "shopping",
    "productivity",
    "creativity"
  ],
  "launch_handler": {
    "client_mode": "navigate-existing"
  },
  "handle_links": "preferred",
  "prefer_related_applications": false,
  "edge_side_panel": {
    "preferred_width": 480
  },
  "icons": [
    {
      "src": "/icons/icon-any-192.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/icons/icon-any-512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/icons/icon-any-512.svg",
      "sizes": "any",
      "type": "image/svg+xml",
      "purpose": "any"
    },
    {
      "src": "/icons/icon-maskable-192.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "maskable"
    },
    {
      "src": "/icons/icon-maskable-512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "maskable"
    },
    {
      "src": "/icons/icon-maskable-512.svg",
      "sizes": "any",
      "type": "image/svg+xml",
      "purpose": "maskable"
    }
  ],
  "screenshots": [],
  "shortcuts": [
    {
      "name": "AI Hub",
      "short_name": "AI",
      "description": "AI capability center — multi-model chat, cross-channel orchestration, unified intelligence layer",
      "url": "/ai?source=pwa",
      "icons": [
        {
          "src": "/icons/icon-192.svg",
          "sizes": "192x192",
          "type": "image/svg+xml"
        }
      ]
    },
    {
      "name": "AI Studio",
      "short_name": "Studio",
      "description": "AI-powered content creation pipeline — script, video, music, comics, interactive",
      "url": "/studio?source=pwa",
      "icons": [
        {
          "src": "/icons/icon-192.svg",
          "sizes": "192x192",
          "type": "image/svg+xml"
        }
      ]
    },
    {
      "name": "Marketplace",
      "short_name": "Shop",
      "description": "Buy & sell AI-generated digital content and templates",
      "url": "/marketplace?source=pwa",
      "icons": [
        {
          "src": "/icons/icon-192.svg",
          "sizes": "192x192",
          "type": "image/svg+xml"
        }
      ]
    },
    {
      "name": "Community",
      "short_name": "Community",
      "description": "Connect with creators, chat in channels, and share updates",
      "url": "/community?source=pwa",
      "icons": [
        {
          "src": "/icons/icon-192.svg",
          "sizes": "192x192",
          "type": "image/svg+xml"
        }
      ]
    },
    {
      "name": "Reels",
      "short_name": "Reels",
      "description": "Browse AI-generated short videos and trending content",
      "url": "/reels?source=pwa",
      "icons": [
        {
          "src": "/icons/icon-192.svg",
          "sizes": "192x192",
          "type": "image/svg+xml"
        }
      ]
    },
    {
      "name": "New Chat",
      "short_name": "Chat",
      "description": "Start a new AI conversation",
      "url": "/ai?source=pwa&new=1",
      "icons": [
        {
          "src": "/icons/icon-192.svg",
          "sizes": "192x192",
          "type": "image/svg+xml"
        }
      ]
    }
  ],
  "share_target": {
    "action": "/studio/upload",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "title": "name",
      "text": "description",
      "files": [
        {
          "name": "file",
          "accept": [
            "image/*",
            "video/*",
            "audio/*",
            "text/*"
          ]
        }
      ]
    }
  },
  "id": "/?source=pwa",
  "protocol_handlers": [
    {
      "protocol": "web+xinworen",
      "url": "/handle?url=%s"
    }
  ],
  "file_handlers": [
    {
      "action": "/studio/upload",
      "accept": {
        "image/*": [
          ".png",
          ".jpg",
          ".jpeg",
          ".gif",
          ".webp"
        ],
        "video/*": [
          ".mp4",
          ".webm",
          ".mov"
        ],
        "audio/*": [
          ".mp3",
          ".wav",
          ".ogg"
        ],
        "text/*": [
          ".txt",
          ".md",
          ".json"
        ]
      }
    }
  ]
}