{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a2917643-2238-48f4-bbe9-6f7e788df7f9",
    "slug": "pinchtab",
    "name": "PinchTab",
    "description": "Browser control for AI agents with a fast HTTP API, ready in seconds.",
    "url": "https://railway.com/deploy/pinchtab",
    "upstream": {
      "image": "pinchtab/pinchtab:latest"
    }
  },
  "services": [
    {
      "name": "pinchtab",
      "source": {
        "image": "pinchtab/pinchtab:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "pinchtab",
      "description": "Railway public service port for Pinchtab",
      "secret": false,
      "strategy": "default",
      "default": "9867"
    },
    {
      "key": "PINCHTAB_TOKEN",
      "service": "pinchtab",
      "description": "Authentication token used to protect the Pinchtab API",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "pinchtab",
      "description": "Run Pinchtab as root",
      "secret": false,
      "strategy": "default",
      "default": "0"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "pinchtab"
      }
    },
    "cli": "railway deploy --template pinchtab",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a2917643-2238-48f4-bbe9-6f7e788df7f9",
            "serializedConfig": {
              "services": {
                "e7b94369-1599-4c5e-911b-32248eb37fc0": {
                  "icon": "https://pinchtab.com/mascot.png",
                  "name": "pinchtab",
                  "deploy": {
                    "startCommand": "/bin/sh -c 'pinchtab config set server.trustProxyHeaders true && pinchtab config set server.cookieSecure true && exec pinchtab server'"
                  },
                  "source": {
                    "image": "pinchtab/pinchtab:latest"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Railway public service port for Pinchtab",
                      "defaultValue": "9867"
                    },
                    "PINCHTAB_TOKEN": {
                      "description": "Authentication token used to protect the Pinchtab API",
                      "defaultValue": "{{PINCHTAB_TOKEN}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "description": "Run Pinchtab as root",
                      "defaultValue": "0"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:9867": {
                        "port": 9867
                      }
                    }
                  },
                  "volumeMounts": {
                    "e7b94369-1599-4c5e-911b-32248eb37fc0": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T14:24:59.948Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_2590ac748f034e01be6d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 69,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "pinchtab"
  }
}
