{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3d5231ee-af7b-4684-a38e-442eb99319f1",
    "slug": "Gpp7EW",
    "name": "RSSHub | Open Source RSS Generator for Sites Without Feeds",
    "description": "Turn any site into an RSS feed — 1000+ routes, Redis-cached",
    "url": "https://railway.com/deploy/Gpp7EW",
    "upstream": {
      "image": "ghcr.io/diygod/rsshub:chromium-bundled-2026-09-09"
    }
  },
  "services": [
    {
      "name": "RSSHub",
      "source": {
        "image": "ghcr.io/diygod/rsshub:chromium-bundled-2026-09-09"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.10.1-alpine"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "RSSHub",
      "description": "Port RSSHub listens on. Set explicitly rather than relying on port autodetection.",
      "secret": false,
      "strategy": "default",
      "default": "1200"
    },
    {
      "key": "NODE_ENV",
      "service": "RSSHub",
      "description": "Node environment.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "REDIS_URL",
      "service": "RSSHub",
      "description": "Cache connection string. `?family=0` lets ioredis accept the AAAA record of Railway's IPv6-only private network.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CACHE_TYPE",
      "service": "RSSHub",
      "description": "Cache backend. Redis keeps feeds warm across restarts.",
      "secret": false,
      "strategy": "default",
      "default": "redis"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Private connection string RSSHub uses for its cache.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Generated Redis password. Alphabet is letters-only on purpose: a `/` would corrupt the redis:// URL below.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "Gpp7EW"
      }
    },
    "cli": "railway deploy --template Gpp7EW",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3d5231ee-af7b-4684-a38e-442eb99319f1",
            "serializedConfig": {
              "services": {
                "6bf827e0-8a82-4180-b072-3f5c5885fbc2": {
                  "icon": null,
                  "name": "RSSHub",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 300,
                    "restartPolicyMaxRetries": 2
                  },
                  "source": {
                    "image": "ghcr.io/diygod/rsshub:chromium-bundled-2026-09-09"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port RSSHub listens on. Set explicitly rather than relying on port autodetection.",
                      "defaultValue": "1200"
                    },
                    "NODE_ENV": {
                      "isOptional": false,
                      "description": "Node environment.",
                      "defaultValue": "production"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Cache connection string. `?family=0` lets ioredis accept the AAAA record of Railway's IPv6-only private network.",
                      "defaultValue": "${{Redis.REDIS_URL}}/?family=0"
                    },
                    "CACHE_TYPE": {
                      "isOptional": false,
                      "description": "Cache backend. Redis keeps feeds warm across restarts.",
                      "defaultValue": "redis"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "dcd2b147-84bf-4b63-9f39-d4d3d1771a12": {
                  "icon": "https://devicons.railway.app/i/redis.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "sh -c 'exec redis-server --requirepass \"$REDIS_PASSWORD\" --appendonly yes --dir /data --bind 0.0.0.0 ::'",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 2
                  },
                  "source": {
                    "image": "redis:8.10.1-alpine"
                  },
                  "variables": {
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Private connection string RSSHub uses for its cache.",
                      "defaultValue": "redis://default:${{ REDIS_PASSWORD }}@${{ RAILWAY_PRIVATE_DOMAIN }}:6379"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated Redis password. Alphabet is letters-only on purpose: a `/` would corrupt the redis:// URL below.",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "dcd2b147-84bf-4b63-9f39-d4d3d1771a12": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "RSSHub",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-19T10:14:38.021Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T03:41:33.384Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_b97c0d14040d4dfd820e",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 80,
    "typical_build_seconds": 0,
    "typical_start_seconds": 20,
    "slowest_service": "RSSHub"
  }
}
