{
  "manifest_version": "1.0.0",
  "template": {
    "id": "8e3dd4f4-8f81-4083-b301-e86e36545fb0",
    "slug": "no-code-architects-toolkit",
    "name": "No-Code Architects Toolkit",
    "description": "NCA Toolkit with CPU-only PyTorch, FFmpeg, Whisper, Chromium, API auth.",
    "url": "https://railway.com/deploy/no-code-architects-toolkit",
    "upstream": {
      "repo_url": "https://github.com/hallcyn/no-code-architects-toolkit"
    }
  },
  "services": [
    {
      "name": "nca-toolkit",
      "source": {
        "repo": "https://github.com/hallcyn/no-code-architects-toolkit"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "API_KEY",
      "service": "nca-toolkit",
      "description": "Secret API key used to authenticate requests through the X-API-Key header. Keep this value private.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "S3_REGION",
      "service": "nca-toolkit",
      "description": "S3 region used by the attached Railway Bucket. Automatically provided by the bucket service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_ACCESS_KEY",
      "service": "nca-toolkit",
      "description": "Access key used to authenticate with the attached Railway Bucket. Automatically provided by the bucket service.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_SECRET_KEY",
      "service": "nca-toolkit",
      "description": "Secret access key used to authenticate with the attached Railway Bucket. Keep this value private.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_BUCKET_NAME",
      "service": "nca-toolkit",
      "description": "Name of the attached Railway Bucket used to store generated files.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_ENDPOINT_URL",
      "service": "nca-toolkit",
      "description": "S3-compatible endpoint of the attached Railway Bucket. Automatically provided by Railway.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_ADDRESSING_STYLE",
      "service": "nca-toolkit",
      "description": "S3 URL addressing mode. Keep set to virtual for current Railway Buckets.",
      "secret": false,
      "strategy": "default",
      "default": "virtual"
    },
    {
      "key": "S3_PRESIGNED_URL_EXPIRY",
      "service": "nca-toolkit",
      "description": "Lifetime in seconds of signed download URLs returned for files stored in the private bucket.",
      "secret": false,
      "strategy": "default",
      "default": "604800"
    },
    {
      "key": "S3_RETURN_PRESIGNED_URL",
      "service": "nca-toolkit",
      "description": "When enabled, generated files are returned as temporary presigned URLs instead of public bucket URLs.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "nca-toolkit",
      "description": "Grace period in seconds used when Railway replaces or stops a deployment, allowing in-flight requests to finish.",
      "secret": false,
      "strategy": "default",
      "default": "600"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "no-code-architects-toolkit"
      }
    },
    "cli": "railway deploy --template no-code-architects-toolkit",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "8e3dd4f4-8f81-4083-b301-e86e36545fb0",
            "serializedConfig": {
              "buckets": {
                "32b75430-fc4e-4fef-b847-28a3631f8d98": {
                  "name": "nca-storage"
                }
              },
              "services": {
                "76fe0eb5-e919-4771-9aa7-36bdd12e256e": {
                  "icon": "https://raw.githubusercontent.com/hallcyn/no-code-architects-toolkit/refs/heads/main/assets/icon.png",
                  "name": "nca-toolkit",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/hallcyn/no-code-architects-toolkit",
                    "rootDirectory": null
                  },
                  "variables": {
                    "API_KEY": {
                      "isOptional": false,
                      "description": "Secret API key used to authenticate requests through the X-API-Key header. Keep this value private.",
                      "defaultValue": "{{API_KEY}}"
                    },
                    "S3_REGION": {
                      "isOptional": false,
                      "description": "S3 region used by the attached Railway Bucket. Automatically provided by the bucket service.",
                      "defaultValue": "${{nca-storage.REGION}}"
                    },
                    "S3_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Access key used to authenticate with the attached Railway Bucket. Automatically provided by the bucket service.",
                      "defaultValue": "${{nca-storage.ACCESS_KEY_ID}}"
                    },
                    "S3_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Secret access key used to authenticate with the attached Railway Bucket. Keep this value private.",
                      "defaultValue": "${{nca-storage.SECRET_ACCESS_KEY}}"
                    },
                    "S3_BUCKET_NAME": {
                      "isOptional": false,
                      "description": "Name of the attached Railway Bucket used to store generated files.",
                      "defaultValue": "${{nca-storage.BUCKET}}"
                    },
                    "S3_ENDPOINT_URL": {
                      "isOptional": false,
                      "description": "S3-compatible endpoint of the attached Railway Bucket. Automatically provided by Railway.",
                      "defaultValue": "${{nca-storage.ENDPOINT}}"
                    },
                    "S3_ADDRESSING_STYLE": {
                      "isOptional": false,
                      "description": "S3 URL addressing mode. Keep set to virtual for current Railway Buckets.",
                      "defaultValue": "virtual"
                    },
                    "S3_PRESIGNED_URL_EXPIRY": {
                      "isOptional": false,
                      "description": "Lifetime in seconds of signed download URLs returned for files stored in the private bucket.",
                      "defaultValue": "604800"
                    },
                    "S3_RETURN_PRESIGNED_URL": {
                      "isOptional": false,
                      "description": "When enabled, generated files are returned as temporary presigned URLs instead of public bucket URLs.",
                      "defaultValue": "true"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Grace period in seconds used when Railway replaces or stops a deployment, allowing in-flight requests to finish.",
                      "defaultValue": "600"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-04T13:53:13.200Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_298aee0129cc4bef9f3a",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 352,
    "typical_build_seconds": 163,
    "typical_start_seconds": 30,
    "slowest_service": "nca-toolkit"
  }
}
