{
  "id": "./",
  "name": "NoteTisa Reader",
  "short_name": "NoteTisa",
  "description": "Read and mark up PDFs, e-books, images, documents, spreadsheets and slides. Works offline; files stay on your device.",
  "start_url": "./",
  "scope": "./",
  "display": "standalone",
  "orientation": "any",
  "background_color": "#F4F5F7",
  "theme_color": "#F4F5F7",
  "categories": [
    "productivity",
    "education",
    "utilities"
  ],
  "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"
    },
    {
      "src": "icons/maskable-512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "maskable"
    }
  ],
  "shortcuts": [
    {
      "name": "New notebook",
      "short_name": "Notebook",
      "url": "./?action=notebook",
      "icons": [
        {
          "src": "icons/shortcut-notebook.png",
          "sizes": "96x96",
          "type": "image/png"
        }
      ]
    },
    {
      "name": "Study cards",
      "short_name": "Study",
      "url": "./?action=study"
    },
    {
      "name": "Library",
      "url": "./"
    }
  ],
  "file_handlers": [
    {
      "action": "./",
      "accept": {
        "application/pdf": [
          ".pdf"
        ]
      },
      "launch_type": "single-client"
    },
    {
      "action": "./",
      "accept": {
        "image/png": [
          ".png"
        ],
        "image/jpeg": [
          ".jpg",
          ".jpeg"
        ],
        "image/webp": [
          ".webp"
        ],
        "image/gif": [
          ".gif"
        ],
        "image/svg+xml": [
          ".svg"
        ],
        "image/bmp": [
          ".bmp",
          ".dib"
        ],
        "image/tiff": [
          ".tif",
          ".tiff"
        ],
        "image/x-icon": [
          ".ico"
        ],
        "image/avif": [
          ".avif"
        ],
        "image/x-tga": [
          ".tga"
        ],
        "application/vnd.openxmlformats-officedocument.wordprocessingml.document": [
          ".docx"
        ],
        "application/rtf": [
          ".rtf"
        ],
        "text/markdown": [
          ".md",
          ".markdown"
        ],
        "text/plain": [
          ".txt"
        ],
        "text/csv": [
          ".csv"
        ],
        "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": [
          ".xlsx",
          ".xlsm"
        ],
        "application/vnd.oasis.opendocument.spreadsheet": [
          ".ods"
        ],
        "application/vnd.openxmlformats-officedocument.presentationml.presentation": [
          ".pptx",
          ".ppsx",
          ".potx",
          ".pptm"
        ],
        "application/epub+zip": [
          ".epub",
          ".kepub"
        ],
        "application/x-mobipocket-ebook": [
          ".mobi",
          ".azw",
          ".azw3",
          ".prc"
        ],
        "application/x-fictionbook+xml": [
          ".fb2"
        ],
        "application/vnd.comicbook+zip": [
          ".cbz"
        ]
      },
      "launch_type": "single-client"
    }
  ],
  "protocol_handlers": [
    {
      "protocol": "web+notetisa",
      "url": "./?open=%s"
    }
  ],
  "share_target": {
    "action": "./share",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "title": "title",
      "text": "text",
      "url": "url",
      "files": [
        {
          "name": "files",
          "accept": [
            "application/pdf",
            "image/*",
            "text/*",
            ".pdf",
            ".docx",
            ".rtf",
            ".md",
            ".csv",
            "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
            "application/vnd.openxmlformats-officedocument.presentationml.presentation",
            "application/vnd.oasis.opendocument.spreadsheet",
            ".xlsx",
            ".pptx",
            ".ods",
            ".bmp",
            ".tif",
            ".tiff",
            ".tga",
            ".ico",
            "application/epub+zip",
            ".epub",
            ".mobi",
            ".azw3",
            ".fb2",
            ".cbz"
          ]
        }
      ]
    }
  },
  "launch_handler": {
    "client_mode": [
      "focus-existing",
      "auto"
    ]
  }
}
