{
  "id": "/reader/",
  "name": "eBookSync",
  "short_name": "eBookSync",
  "description": "Bibliothèque personnelle de livres EPUB",
  "lang": "fr",
  "dir": "ltr",
  "categories": ["books", "education"],
  "start_url": "/reader/",
  "scope": "/reader/",
  "display": "standalone",
  "display_override": ["standalone", "minimal-ui"],
  "launch_handler": { "client_mode": "focus-existing" },
  "background_color": "#0a0b0e",
  "theme_color": "#0a0b0e",
  "orientation": "any",
  "shortcuts": [
    {
      "name": "Ajouter un livre",
      "short_name": "Ajouter",
      "description": "Importer un nouvel EPUB dans la bibliothèque",
      "url": "/reader/?action=upload",
      "icons": [
        { "src": "/reader/icons/icon-192.png", "sizes": "192x192" }
      ]
    }
  ],
  "file_handlers": [
    {
      "action": "/reader/",
      "accept": {
        "application/epub+zip": [".epub"]
      }
    }
  ],
  "share_target": {
    "action": "/reader/share-target",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "files": [
        { "name": "epub", "accept": ["application/epub+zip", ".epub"] }
      ]
    }
  },
  "screenshots": [
    {
      "src": "/reader/screenshots/library-wide.png",
      "sizes": "1280x800",
      "type": "image/png",
      "form_factor": "wide",
      "label": "Bibliothèque sur ordinateur"
    },
    {
      "src": "/reader/screenshots/library-narrow.png",
      "sizes": "412x915",
      "type": "image/png",
      "form_factor": "narrow",
      "label": "Bibliothèque sur mobile"
    }
  ],
  "icons": [
    {
      "src": "/reader/icons/icon-192.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "any maskable"
    },
    {
      "src": "/reader/icons/icon-512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "any maskable"
    }
  ]
}

