{
  "name": "Nishan Solar Forecast Dashboard",
  "short_name": "NishanSolar",
  "description": "Real-Time Solar Photovoltaic Telemetry, Irradiance Analysis, and Generation Forecasting",
  "id": "./?source=pwa",
  "start_url": "index.html?source=pwa",
  "scope": "./",
  "display": "standalone",
  "display_override": [
    "standalone",
    "fullscreen",
    "window-controls-overlay"
  ],
  "orientation": "any",
  "background_color": "#070a13",
  "theme_color": "#070a13",
  "lang": "en",
  "dir": "ltr",
  "categories": [
    "business",
    "utilities",
    "productivity"
  ],
  "prefer_related_applications": false,
  "handle_links": "preferred",
  "launch_handler": {
    "client_mode": [
      "navigate-existing",
      "auto"
    ]
  },
  "edge_side_panel": {
    "preferred_width": 480
  },
  "icons": [
    {
      "src": "icon-192.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "icon-512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "icon-maskable-512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "maskable"
    },
    {
      "src": "lo.png",
      "sizes": "1220x1304",
      "type": "image/png",
      "purpose": "any"
    }
  ],
  "screenshots": [
    {
      "src": "lo.png",
      "sizes": "1220x1304",
      "type": "image/png",
      "form_factor": "wide",
      "label": "Nishan Solar Forecast & Real-Time Telemetry Dashboard"
    },
    {
      "src": "icon-512.png",
      "sizes": "512x512",
      "type": "image/png",
      "form_factor": "narrow",
      "label": "Mobile Irradiance & Generation Monitor"
    }
  ],
  "shortcuts": [
    {
      "name": "Live Dashboard",
      "short_name": "Dashboard",
      "description": "View real-time solar simulation dashboard",
      "url": "dashboard.html",
      "icons": [
        {
          "src": "icon-192.png",
          "sizes": "192x192"
        }
      ]
    },
    {
      "name": "Login Screen",
      "short_name": "Login",
      "description": "Access authentication portal",
      "url": "index.html",
      "icons": [
        {
          "src": "icon-192.png",
          "sizes": "192x192"
        }
      ]
    },
    {
      "name": "Weather & Irradiance",
      "short_name": "Irradiance",
      "description": "Direct jump to DNI, GHI, and DHI charts",
      "url": "dashboard.html#weather",
      "icons": [
        {
          "src": "icon-192.png",
          "sizes": "192x192"
        }
      ]
    },
    {
      "name": "Energy Monitoring",
      "short_name": "SCADA",
      "description": "Direct launch into Alensoft monitoring portal",
      "url": "https://alensoft.net/alensoft/",
      "icons": [
        {
          "src": "icon-192.png",
          "sizes": "192x192"
        }
      ]
    }
  ],
  "file_handlers": [
    {
      "action": "dashboard.html",
      "name": "Solar Telemetry Simulation File",
      "icons": [
        {
          "src": "icon-192.png",
          "sizes": "192x192"
        }
      ],
      "accept": {
        "application/json": [".json"],
        "text/csv": [".csv"]
      }
    }
  ],
  "protocol_handlers": [
    {
      "protocol": "web+solar",
      "url": "dashboard.html?site=%s"
    }
  ],
  "share_target": {
    "action": "dashboard.html",
    "method": "GET",
    "params": {
      "title": "title",
      "text": "text",
      "url": "url"
    }
  },
  "widgets": [
    {
      "name": "Solar Quick Glance",
      "description": "Real-time solar irradiance and plant generation summary",
      "tag": "solar-quick-glance",
      "template": "widget-summary",
      "ms_ac_template": "widgets/glance.json",
      "data": "10092026_simulation_result.json",
      "type": "application/json",
      "screenshots": [
        {
          "src": "icon-512.png",
          "sizes": "512x512",
          "label": "Solar Quick Glance Widget"
        }
      ],
      "icons": [
        {
          "src": "icon-192.png",
          "sizes": "192x192"
        }
      ]
    }
  ]
}