{
  "manifest_version": "1.0.0",
  "template": {
    "id": "98e581e3-5a97-44dd-bafd-ee61c7872fa0",
    "slug": "rectify",
    "name": "Rectify",
    "description": "Deploy a website you can edit by drawing on it.",
    "url": "https://railway.com/deploy/rectify",
    "upstream": {
      "image": "ghcr.io/wenig/rectify:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "rectify",
      "source": {
        "image": "ghcr.io/wenig/rectify:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/site",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "LLM_API_KEY",
      "service": "rectify",
      "description": "API key to your LLM provider.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "LLM_MODEL_ID",
      "service": "rectify",
      "description": "Model ID for the LLM that adapt your website, e.g. anthropic/claude-sonnet-4-6",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "OWNER_PASSWORD",
      "service": "rectify",
      "description": "Password to login to edit mode.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "rectify"
      }
    },
    "cli": "railway deploy --template rectify",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "98e581e3-5a97-44dd-bafd-ee61c7872fa0",
            "serializedConfig": {
              "services": {
                "b521353d-3166-4d10-a04f-5d45ddcde0a2": {
                  "name": "rectify",
                  "deploy": {
                    "healthcheckPath": "/_platform/health"
                  },
                  "source": {
                    "image": "ghcr.io/wenig/rectify:latest"
                  },
                  "variables": {
                    "LLM_API_KEY": {
                      "description": "API key to your LLM provider.",
                      "defaultValue": "{{LLM_API_KEY}}"
                    },
                    "LLM_API_BASE": {
                      "isOptional": true,
                      "description": "URL to custom LLM provider. Leave empty if no custom provider used.",
                      "defaultValue": ""
                    },
                    "LLM_MODEL_ID": {
                      "description": "Model ID for the LLM that adapt your website, e.g. anthropic/claude-sonnet-4-6",
                      "defaultValue": "{{LLM_MODEL_ID}}"
                    },
                    "OWNER_PASSWORD": {
                      "description": "Password to login to edit mode.",
                      "defaultValue": "{{OWNER_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "b521353d-3166-4d10-a04f-5d45ddcde0a2": {
                      "mountPath": "/site",
                      "backupSchedules": [
                        "WEEKLY"
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "rectify",
      "method": "GET",
      "path": "/_platform/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0"
}
