{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ec546e93-8b25-4c4b-83f7-870e2fe67d39",
    "slug": "YirLEs",
    "name": "Whoogle",
    "description": "A self-hosted, ad-free, privacy-respecting metasearch engine",
    "url": "https://railway.com/deploy/YirLEs",
    "upstream": {
      "image": "benbusby/whoogle-search"
    }
  },
  "services": [
    {
      "name": "Whoogle Search",
      "source": {
        "image": "benbusby/whoogle-search"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Whoogle Search",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "5000"
    },
    {
      "key": "WHOOGLE_CONFIG_URL",
      "service": "Whoogle Search",
      "description": "The root url of the instance",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "WHOOGLE_TOR_SERVICE",
      "service": "Whoogle Search",
      "description": "Use Tor",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "WHOOGLE_CONFIG_GET_ONLY",
      "service": "Whoogle Search",
      "description": "Search using GET requests only",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "WHOOGLE_CONFIG_PREFERENCES_KEY",
      "service": "Whoogle Search",
      "description": "Key to encrypt preferences in URL",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "YirLEs"
      }
    },
    "cli": "railway deploy --template YirLEs",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ec546e93-8b25-4c4b-83f7-870e2fe67d39",
            "serializedConfig": {
              "services": {
                "d3223077-7bc6-4d13-889e-0e7e8503c081": {
                  "name": "Whoogle Search",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "image": "benbusby/whoogle-search"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "defaultValue": "5000"
                    },
                    "WHOOGLE_PASS": {
                      "isOptional": true,
                      "description": "password for basic auth"
                    },
                    "WHOOGLE_USER": {
                      "isOptional": true,
                      "description": "username for basic auth"
                    },
                    "WHOOGLE_CONFIG_URL": {
                      "isOptional": true,
                      "description": "The root url of the instance",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}/"
                    },
                    "WHOOGLE_TOR_SERVICE": {
                      "isOptional": true,
                      "description": "Use Tor",
                      "defaultValue": "0"
                    },
                    "WHOOGLE_CONFIG_GET_ONLY": {
                      "isOptional": true,
                      "description": "Search using GET requests only",
                      "defaultValue": "1"
                    },
                    "WHOOGLE_CONFIG_PREFERENCES_KEY": {
                      "isOptional": true,
                      "description": "Key to encrypt preferences in URL",
                      "defaultValue": "{{WHOOGLE_CONFIG_PREFERENCES_KEY}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T22:14:37.505Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T06:45:24.194Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_f24bb0da867d41fdbcb2",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 62,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "Whoogle Search"
  }
}
