{
  "name": "RepFlow — Train smarter. Flow harder.",
  "short_name": "RepFlow",
  "description": "Ton coach IA fitness. Séances, chrono intelligent, nutrition et Flow AI — Beta Full Access.",
  "start_url": "/",
  "scope": "/",
  "display": "standalone",
  "orientation": "portrait-primary",
  "background_color": "#111114",
  "theme_color": "#111114",
  "lang": "fr",
  "dir": "ltr",
  "categories": ["fitness", "health", "sports"],

  "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-512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "maskable"
    },
    {
      "src": "/icons/apple-touch-icon.png",
      "sizes": "180x180",
      "type": "image/png",
      "purpose": "any"
    }
  ],

  "shortcuts": [
    {
      "name": "Nouvelle séance",
      "short_name": "Séance",
      "description": "Démarrer une séance libre",
      "url": "/active-workout"
    },
    {
      "name": "Flow AI",
      "short_name": "Flow AI",
      "description": "Parler à Flow AI",
      "url": "/chat"
    },
    {
      "name": "Nutrition",
      "short_name": "Nutrition",
      "description": "Analyser un repas",
      "url": "/nutrition"
    }
  ],

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

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

  "share_target": {
    "action": "/share-target",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "title": "title",
      "text": "text",
      "url": "url"
    }
  }
}
