{
  "name": "Qalin - Digital Library",
  "short_name": "Qalin",
  "description": "Your personal digital library for books and reading.",
  "id": "/",
  "start_url": "/home.html",
  "scope": "/",
  "display": "standalone",
  "display_override": ["standalone", "minimal-ui", "browser"],
  "background_color": "#ffffff",
  "theme_color": "#f15a29",
  "orientation": "portrait",
  "lang": "en",
  "dir": "ltr",
  "launch_handler": {
    "client_mode": "navigate-existing"
  },
  "capture_links": "existing-client-navigate",
  "icons": [
    {
      "src": "/assets/images/icon.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "any maskable"
    },
    {
      "src": "/assets/images/icon.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "any maskable"
    }
  ],
  "screenshots": [
    {
      "src": "/assets/images/screen1.png",
      "sizes": "1280x720",
      "type": "image/png",
      "form_factor": "wide"
    },
    {
      "src": "/assets/images/screenshot1.png",
      "sizes": "750x1334",
      "type": "image/png",
      "form_factor": "narrow"
    }
  ],
  "categories": ["books", "education", "lifestyle"],
  "prefer_related_applications": false,
  "shortcuts": [
    {
      "name": "Explore Books",
      "short_name": "Explore",
      "description": "Go to Explore page",
      "url": "/explore.html",
      "icons": [{"src": "/assets/images/icon.png", "sizes": "192x192"}]
    },
    {
      "name": "My Library",
      "short_name": "Library",
      "description": "Go to your library",
      "url": "/library.html",
      "icons": [{"src": "/assets/images/icon.png", "sizes": "192x192"}]
    }
  ],
  "file_handlers": [
    {
      "action": "/open-book",
      "accept": {
        "application/pdf": [".pdf"],
        "application/epub+zip": [".epub"]
      }
    }
  ],
  "share_target": {
    "action": "/share",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "title": "title",
      "text": "text",
      "files": [{"name": "file", "accept": ["image/*", "text/*"]}]
    }
  },
  "serviceworker": {
    "src": "/service-worker.js",
    "scope": "/",
    "type": "classic"
  }
}
