{
  "id": "./",
  "name": "Waverify",
  "short_name": "Waverify",
  "description": "Analyze, review and normalize audio files locally in the browser — nothing is uploaded.",
  "lang": "en",
  "start_url": "./",
  "scope": "./",
  "display": "standalone",
  "orientation": "any",
  "theme_color": "#111214",
  "background_color": "#111214",
  "categories": ["music", "utilities", "productivity"],
  "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/icon-maskable-192.png", "sizes": "192x192", "type": "image/png", "purpose": "maskable" },
    { "src": "icons/icon-maskable-512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" },
    { "src": "icons/icon.svg", "sizes": "any", "type": "image/svg+xml", "purpose": "any" }
  ],
  "shortcuts": [
    { "name": "Analyzer", "url": "analyzer", "icons": [{ "src": "icons/icon-192.png", "sizes": "192x192" }] },
    { "name": "Normalizer", "url": "normalizer", "icons": [{ "src": "icons/icon-192.png", "sizes": "192x192" }] },
    { "name": "Export Viewer", "url": "analysis_viewer", "icons": [{ "src": "icons/icon-192.png", "sizes": "192x192" }] },
    { "name": "Link Builder", "url": "link_builder", "icons": [{ "src": "icons/icon-192.png", "sizes": "192x192" }] }
  ],
  "file_handlers": [
    {
      "action": "analyzer",
      "accept": {
        "audio/wav": [".wav", ".wave"],
        "audio/flac": [".flac"],
        "audio/mpeg": [".mp3"],
        "audio/aiff": [".aif", ".aiff", ".aifc"],
        "audio/ogg": [".ogg", ".oga", ".opus"],
        "audio/mp4": [".m4a"]
      }
    },
    {
      "action": "analysis_viewer",
      "accept": {
        "application/json": [".json"],
        "text/csv": [".csv"]
      }
    }
  ],
  "launch_handler": { "client_mode": "auto" },
  "share_target": {
    "action": "share-target",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "files": [
        { "name": "files", "accept": ["audio/*", ".wav", ".flac", ".mp3", ".aif", ".aiff", ".ogg", ".opus", ".m4a", "application/json", "text/csv", ".json", ".csv"] }
      ]
    }
  }
}
