{
  "name": "TaleSpinner",
  "short_name": "TaleSpinner",
  "id": "/",
  "description": "Create personalized stories, poems, speeches and cards with AI-generated illustrations.",
  "start_url": "/",
  "display": "standalone",
  "display_override": ["window-controls-overlay", "tabbed", "standalone"],
  "launch_handler": {
    "client_mode": "navigate-existing"
  },
  "background_color": "#fdf9f0",
  "theme_color": "#5b21b6",
  "orientation": "portrait-primary",
  "scope": "/",
  "lang": "en",
  "dir": "ltr",
  "prefer_related_applications": false,
  "categories": ["education", "kids", "entertainment"],
  "edge_side_panel": {
    "preferred_width": 420
  },
  "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 maskable"
    }
  ],
  "screenshots": [
    {
      "src": "/screenshots/home-wide.png",
      "sizes": "1280x720",
      "type": "image/png",
      "form_factor": "wide",
      "label": "TaleSpinner story creation homepage on desktop"
    },
    {
      "src": "/screenshots/home-narrow.png",
      "sizes": "390x844",
      "type": "image/png",
      "form_factor": "narrow",
      "label": "TaleSpinner story creation homepage on mobile"
    }
  ],
  "file_handlers": [
    {
      "action": "/create?source=file-handler",
      "name": "Open in TaleSpinner",
      "accept": {
        "application/pdf": [".pdf"],
        "text/plain": [".txt", ".text"],
        "text/markdown": [".md", ".markdown"]
      }
    }
  ],
  "protocol_handlers": [
    {
      "protocol": "web+talespinner",
      "url": "/create?source=protocol&url=%s"
    }
  ],
  "share_target": {
    "action": "/create",
    "method": "GET",
    "params": {
      "title": "title",
      "text": "text",
      "url": "url"
    }
  },
  "note_taking": {
    "new_note_url": "/create?source=note-taking"
  },
  "widgets": [
    {
      "name": "Create a Story",
      "short_name": "Create",
      "description": "Start a personalized TaleSpinner story from your desktop.",
      "tag": "create-story",
      "template": "/widgets/create-story-template.json",
      "ms_ac_template": "/widgets/create-story-template.json",
      "data": "/widgets/create-story-data.json",
      "type": "application/json",
      "icons": [
        {
          "src": "/icons/icon-192.png",
          "sizes": "192x192",
          "type": "image/png"
        }
      ]
    }
  ],
  "shortcuts": [
    {
      "name": "Create a Story",
      "short_name": "Create",
      "description": "Start a new personalised story",
      "url": "/create",
      "icons": [
        {
          "src": "/icons/icon-192.png",
          "sizes": "192x192",
          "type": "image/png",
          "purpose": "any"
        }
      ]
    },
    {
      "name": "My Library",
      "short_name": "Library",
      "description": "View your saved stories",
      "url": "/library",
      "icons": [
        {
          "src": "/icons/icon-192.png",
          "sizes": "192x192",
          "type": "image/png",
          "purpose": "any"
        }
      ]
    }
  ]
}
