{
  "manifest_version": "1.0.0",
  "template": {
    "id": "be9c6f8a-9d39-48e1-9b7d-02f4f67ebec4",
    "slug": "whatsapp-group-analytics",
    "name": "WhatsApp Group Analytics Dashboard",
    "description": "Self-hosted engagement analytics for WhatsApp groups you admin",
    "url": "https://railway.com/deploy/whatsapp-group-analytics",
    "upstream": {
      "repo_url": "https://github.com/marinaglancy/whatsapp-group-monitor"
    }
  },
  "services": [
    {
      "name": "Whatsapp Group Monitor",
      "source": {
        "repo": "https://github.com/marinaglancy/whatsapp-group-monitor"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "LOG_LEVEL",
      "service": "Whatsapp Group Monitor",
      "description": "Provide a value for LOG_LEVEL.",
      "secret": false,
      "strategy": "default",
      "default": "warn"
    },
    {
      "key": "ADMIN_PASSWORD",
      "service": "Whatsapp Group Monitor",
      "description": "Password for web access",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "ADMIN_USERNAME",
      "service": "Whatsapp Group Monitor",
      "description": "Provide a value for ADMIN_USERNAME.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "whatsapp-group-analytics"
      }
    },
    "cli": "railway deploy --template whatsapp-group-analytics",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "be9c6f8a-9d39-48e1-9b7d-02f4f67ebec4",
            "serializedConfig": {
              "services": {
                "6d747573-b7a9-47cf-95fd-0a3075f9ca64": {
                  "icon": "https://devicons.railway.com/i/gitpod.svg",
                  "name": "Whatsapp Group Monitor",
                  "source": {
                    "repo": "marinaglancy/whatsapp-group-monitor",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "LOG_LEVEL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "warn"
                    },
                    "ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for web access",
                      "defaultValue": "{{ADMIN_PASSWORD}}"
                    },
                    "ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "admin"
                    }
                  },
                  "volumeMounts": {
                    "6d747573-b7a9-47cf-95fd-0a3075f9ca64": {
                      "mountPath": "/app/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T16:15:12.787Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T06:11:07.921Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_e06eb35a2df645cfa7d6",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 158,
    "typical_build_seconds": 107,
    "typical_start_seconds": 10,
    "slowest_service": "Whatsapp Group Monitor"
  }
}
