{
  "id": "./",
  "name": "Kasm UI",
  "short_name": "Kasm",
  "description": "A bleeding-edge React desktop environment with docking, collaborative editing, virtual filesystem, and window management.",
  "start_url": "./",
  "scope": "./",
  "lang": "en-US",
  "dir": "ltr",
  "categories": ["productivity", "utilities", "developer tools"],

  "display": "standalone",
  "display_override": [
    "window-controls-overlay",
    "tabbed",
    "standalone",
    "minimal-ui"
  ],

  "orientation": "any",
  "theme_color": "#1a1a2e",
  "background_color": "#0a0a1a",

  "icons": [
    {
      "src": "./icons/icon-48.svg",
      "sizes": "48x48",
      "type": "image/svg+xml",
      "purpose": "any"
    },
    {
      "src": "./icons/icon-72.svg",
      "sizes": "72x72",
      "type": "image/svg+xml",
      "purpose": "any"
    },
    {
      "src": "./icons/icon-96.svg",
      "sizes": "96x96",
      "type": "image/svg+xml",
      "purpose": "any"
    },
    {
      "src": "./icons/icon-128.svg",
      "sizes": "128x128",
      "type": "image/svg+xml",
      "purpose": "any"
    },
    {
      "src": "./icons/icon-192.svg",
      "sizes": "192x192",
      "type": "image/svg+xml",
      "purpose": "any"
    },
    {
      "src": "./icons/icon-512.svg",
      "sizes": "512x512",
      "type": "image/svg+xml",
      "purpose": "any"
    },
    {
      "src": "./icons/icon-maskable.svg",
      "sizes": "512x512",
      "type": "image/svg+xml",
      "purpose": "maskable"
    }
  ],

  "screenshots": [
    {
      "src": "./icons/screenshot-wide.svg",
      "sizes": "1280x720",
      "type": "image/svg+xml",
      "form_factor": "wide",
      "label": "Kasm UI desktop environment with windows, panel, and apps"
    },
    {
      "src": "./icons/screenshot-narrow.svg",
      "sizes": "390x844",
      "type": "image/svg+xml",
      "form_factor": "narrow",
      "label": "Kasm UI mobile view"
    }
  ],

  "shortcuts": [
    {
      "name": "Terminal",
      "short_name": "Term",
      "description": "Open a terminal emulator",
      "url": "./?app=terminal",
      "icons": [{ "src": "./icons/icon-terminal.svg", "sizes": "96x96", "type": "image/svg+xml" }]
    },
    {
      "name": "File Manager",
      "short_name": "Files",
      "description": "Browse and manage files",
      "url": "./?app=file-manager",
      "icons": [{ "src": "./icons/icon-files.svg", "sizes": "96x96", "type": "image/svg+xml" }]
    },
    {
      "name": "Text Editor",
      "short_name": "Editor",
      "description": "Edit text files",
      "url": "./?app=text-editor",
      "icons": [{ "src": "./icons/icon-editor.svg", "sizes": "96x96", "type": "image/svg+xml" }]
    },
    {
      "name": "Settings",
      "short_name": "Settings",
      "description": "System preferences",
      "url": "./?app=settings"
    }
  ],

  "tab_strip": {
    "home_tab": {
      "url": "./",
      "icons": [{ "src": "./icons/icon-48.svg", "sizes": "48x48" }]
    },
    "new_tab_button": {
      "url": "./"
    }
  },

  "launch_handler": {
    "client_mode": ["navigate-existing", "auto"]
  },

  "handle_links": "preferred",

  "share_target": {
    "action": "/",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "title": "shared_title",
      "text": "shared_text",
      "url": "shared_url",
      "files": [
        {
          "name": "shared_files",
          "accept": [
            "text/*",
            "application/json",
            "application/javascript",
            "application/typescript",
            "image/*",
            ".md", ".txt", ".json", ".js", ".ts", ".tsx", ".jsx", ".css", ".html",
            ".py", ".rs", ".go", ".java", ".c", ".cpp", ".h", ".sh"
          ]
        }
      ]
    }
  },

  "file_handlers": [
    {
      "action": "/",
      "accept": {
        "text/plain": [".txt", ".md", ".log"],
        "text/javascript": [".js", ".mjs"],
        "text/typescript": [".ts", ".tsx"],
        "text/css": [".css"],
        "text/html": [".html", ".htm"],
        "application/json": [".json"],
        "text/x-python": [".py"],
        "text/x-rustsrc": [".rs"],
        "text/x-go": [".go"],
        "text/x-shellscript": [".sh", ".bash", ".zsh"]
      },
      "launch_type": "single-client"
    }
  ],

  "protocol_handlers": [
    {
      "protocol": "web+kasm",
      "url": "./?protocol=%s"
    }
  ],

  "edge_side_panel": {
    "preferred_width": 480
  },

  "related_applications": [],
  "prefer_related_applications": false
}
