{
  "name": "SPOOL — Audio transcript workshop",
  "short_name": "SPOOL",
  "description": "Chunk and transcribe long audio with Groq Whisper, stitch the transcript, summarize it with Mistral, and keep every setting on your own device.",
  "start_url": "./",
  "scope": "./",
  "display": "standalone",
  "display_override": ["window-controls-overlay", "standalone", "minimal-ui"],
  "orientation": "any",
  "lang": "en",
  "dir": "ltr",
  "background_color": "#ffffff",
  "theme_color": "#ffffff",
  "categories": ["productivity", "utilities"],
  "icons": [
    {
      "src": "icons/icon.svg",
      "sizes": "any",
      "type": "image/svg+xml",
      "purpose": "any"
    },
    {
      "src": "icons/icon-maskable.svg",
      "sizes": "any",
      "type": "image/svg+xml",
      "purpose": "maskable"
    },
    {
      "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-512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "maskable"
    }
  ],
  "shortcuts": [
    {
      "name": "Transcribe audio",
      "short_name": "Transcribe",
      "description": "Chunk a recording and send it to Groq Whisper.",
      "url": "./?mode=transcribe",
      "icons": [{ "src": "icons/icon.svg", "sizes": "any", "type": "image/svg+xml" }]
    },
    {
      "name": "Re-summarize a transcript",
      "short_name": "Summarize",
      "description": "Generate a fresh Mistral summary for an existing transcript.",
      "url": "./?mode=resummarize",
      "icons": [{ "src": "icons/icon-maskable.svg", "sizes": "any", "type": "image/svg+xml" }]
    }
  ],
  "share_target": {
    "action": "./",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "title": "title",
      "text": "text",
      "url": "url",
      "files": [
        {
          "name": "media",
          "accept": [
            "audio/*",
            "video/*",
            "text/markdown",
            "text/plain",
            ".mp3",
            ".wav",
            ".m4a",
            ".mp4",
            ".mpeg",
            ".mpga",
            ".ogg",
            ".webm",
            ".flac",
            ".md",
            ".txt"
          ]
        }
      ]
    }
  },
  "file_handlers": [
    {
      "action": "./",
      "launch_type": "single-client",
      "icons": [{ "src": "icons/icon.svg", "sizes": "any", "type": "image/svg+xml" }],
      "accept": {
        "audio/*": [".mp3", ".wav", ".m4a", ".mp4", ".mpeg", ".mpga", ".ogg", ".webm", ".flac"],
        "text/markdown": [".md"],
        "text/plain": [".txt"]
      }
    }
  ]
}
