{
  "name": "Document Reader: PDF Viewer",
  "short_name": "Document Reader",
  "description": "Open, read, edit and convert PDF, Word, Excel, PowerPoint, EPUB, images and archives in your browser. Merge, split, compress, sign, protect, OCR and scan. Files never leave your device.",
  "id": "/",
  "categories": ["productivity", "business", "education", "utilities"],
  "lang": "en",
  "related_applications": [{ "platform": "play", "url": "https://play.google.com/store/apps/details?id=com.ltsoft.ltdocsviewer", "id": "com.ltsoft.ltdocsviewer" }],
  "prefer_related_applications": false,
  "start_url": "./",
  "scope": "./",
  "display": "standalone",
  "background_color": "#FAFBFD",
  "theme_color": "#FAFBFD",
  "icons": [
    { "src": "icon-192.png", "sizes": "192x192", "type": "image/png" },
    { "src": "icon-512.png", "sizes": "512x512", "type": "image/png" }
  ],
  "shortcuts": [
    { "name": "Recent files", "short_name": "Recent", "url": "./#/recent", "icons": [{ "src": "icon-192.png", "sizes": "192x192", "type": "image/png" }] },
    { "name": "Open a file", "short_name": "Open File", "url": "./#/open", "icons": [{ "src": "icon-192.png", "sizes": "192x192", "type": "image/png" }] },
    { "name": "Scan a document", "short_name": "Scan", "url": "./#/scan", "icons": [{ "src": "icon-192.png", "sizes": "192x192", "type": "image/png" }] },
    { "name": "AI Chat", "short_name": "AI Chat", "url": "./#/ai", "icons": [{ "src": "icon-192.png", "sizes": "192x192", "type": "image/png" }] }
  ],
  "share_target": {
    "action": "./share-target",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": { "files": [ { "name": "files", "accept": ["application/pdf", ".pdf", "image/*", "audio/*", "video/*", "text/*", "application/pdf", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", ".docx", ".docm", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", ".xlsx", ".xlsm", "application/vnd.openxmlformats-officedocument.presentationml.presentation", ".pptx", ".pptm", "application/msword", ".doc", ".dot", "application/vnd.ms-excel", ".xls", "application/vnd.ms-powerpoint", ".ppt", ".pps", ".pot", "application/rtf", ".rtf", "application/vnd.oasis.opendocument.text", ".odt", ".ott", "application/vnd.oasis.opendocument.spreadsheet", ".ods", ".ots", "application/vnd.oasis.opendocument.presentation", ".odp", ".otp", "application/epub+zip", ".epub", ".txt", ".log", ".ini", ".properties", ".conf", ".cfg", ".toml", ".gradle", ".bat", ".ps1", ".sh", ".sql", ".srt", ".md", ".markdown", ".csv", ".tsv", "application/json", ".json", "application/xml", ".xml", "application/yaml", ".yml", ".yaml", ".html", ".htm", ".xhtml", ".js", ".mjs", ".ts", ".tsx", ".jsx", ".py", ".java", ".kt", ".c", ".h", ".cpp", ".cs", ".go", ".rs", ".php", ".rb", ".swift", ".css", ".png", ".jpg", ".jpeg", ".webp", ".gif", ".bmp", ".svg", ".tif", ".tiff", ".heic", ".heif", ".avif", ".ico", ".mp3", ".m4a", ".wav", ".ogg", ".opus", ".aac", ".flac", ".mp4", ".m4v", ".webm", ".mov", ".3gp", ".mkv", "application/zip", ".zip", "application/vnd.rar", ".rar", "application/x-7z-compressed", ".7z", "application/x-tar", ".tar", "application/gzip", ".gz", ".tgz", "application/x-bzip2", ".bz2", "application/x-xz", ".xz"] } ] }
  },
  "file_handlers": [
    {
      "action": "./",
      "accept": {
        "application/pdf": [".pdf"],
        "application/vnd.openxmlformats-officedocument.wordprocessingml.document": [".docx", ".docm"],
        "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": [".xlsx", ".xlsm"],
        "application/vnd.openxmlformats-officedocument.presentationml.presentation": [".pptx", ".pptm"],
        "application/msword": [".doc", ".dot"],
        "application/vnd.ms-excel": [".xls"],
        "application/vnd.ms-powerpoint": [".ppt", ".pps", ".pot"],
        "application/rtf": [".rtf"],
        "application/vnd.oasis.opendocument.text": [".odt", ".ott"],
        "application/vnd.oasis.opendocument.spreadsheet": [".ods", ".ots"],
        "application/vnd.oasis.opendocument.presentation": [".odp", ".otp"],
        "application/epub+zip": [".epub"],
        "text/plain": [".txt", ".log", ".ini", ".properties", ".conf", ".cfg", ".toml", ".gradle", ".bat", ".ps1", ".sh", ".sql", ".srt"],
        "text/markdown": [".md", ".markdown"],
        "text/csv": [".csv"],
        "text/tab-separated-values": [".tsv"],
        "application/json": [".json"],
        "application/xml": [".xml"],
        "application/yaml": [".yml", ".yaml"],
        "text/html": [".html", ".htm", ".xhtml"],
        "text/javascript": [".js", ".mjs", ".ts", ".tsx", ".jsx"],
        "text/x-source": [".py", ".java", ".kt", ".c", ".h", ".cpp", ".cs", ".go", ".rs", ".php", ".rb", ".swift", ".css"],
        "application/zip": [".zip"],
        "application/vnd.rar": [".rar"],
        "application/x-7z-compressed": [".7z"],
        "application/x-tar": [".tar"],
        "application/gzip": [".gz", ".tgz"],
        "application/x-bzip2": [".bz2"],
        "application/x-xz": [".xz"],
        "image/png": [".png"],
        "image/jpeg": [".jpg", ".jpeg"],
        "image/webp": [".webp"],
        "image/gif": [".gif"],
        "image/bmp": [".bmp"],
        "image/svg+xml": [".svg"],
        "image/tiff": [".tif", ".tiff"],
        "image/heic": [".heic"],
        "image/heif": [".heif"],
        "image/avif": [".avif"],
        "image/x-icon": [".ico"],
        "audio/mpeg": [".mp3"],
        "audio/mp4": [".m4a"],
        "audio/wav": [".wav"],
        "audio/ogg": [".ogg", ".opus"],
        "audio/aac": [".aac"],
        "audio/flac": [".flac"],
        "video/mp4": [".mp4", ".m4v"],
        "video/webm": [".webm"],
        "video/quicktime": [".mov"],
        "video/3gpp": [".3gp"],
        "video/x-matroska": [".mkv"]
      }
    }
  ]
}
