{
  "manifest_version": "1.0.0",
  "template": {
    "id": "b70a7b8a-b654-4544-93de-334518f324b2",
    "slug": "alYGiV",
    "name": "RailwayBot",
    "description": "A companion bot for railway users, including usage reports and crash alerts",
    "url": "https://railway.com/deploy/alYGiV",
    "upstream": {
      "repo_url": "https://github.com/LaCrak27/RailwayBot/"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "RailwayBot",
      "source": {
        "repo": "https://github.com/LaCrak27/RailwayBot/"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "LOGCHANNEL",
      "service": "RailwayBot",
      "description": "ID of the channel where deployments and crash logs will go",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DISCORDTOKEN",
      "service": "RailwayBot",
      "description": "Your discord bot token",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "USAGECHANNEL",
      "service": "RailwayBot",
      "description": "ID of the channel where the hourly usage reports will go.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "RAILWAYAPIKEY",
      "service": "RailwayBot",
      "description": "Railway API key linked to your personal account",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "alYGiV"
      }
    },
    "cli": "railway deploy --template alYGiV",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "b70a7b8a-b654-4544-93de-334518f324b2",
            "serializedConfig": {
              "services": {
                "fc02cba2-b9dc-44be-abe6-07b2b0c6e7f1": {
                  "name": "RailwayBot",
                  "build": {},
                  "deploy": {
                    "startCommand": "npm run start"
                  },
                  "source": {
                    "repo": "https://github.com/LaCrak27/RailwayBot/"
                  },
                  "variables": {
                    "TEAMID": {
                      "isOptional": true,
                      "description": "Team ID (only for teams, do not use on personal)"
                    },
                    "LOGCHANNEL": {
                      "isOptional": false,
                      "description": "ID of the channel where deployments and crash logs will go",
                      "defaultValue": "{{LOGCHANNEL}}"
                    },
                    "DISCORDTOKEN": {
                      "isOptional": false,
                      "description": "Your discord bot token",
                      "defaultValue": "{{DISCORDTOKEN}}"
                    },
                    "USAGECHANNEL": {
                      "isOptional": false,
                      "description": "ID of the channel where the hourly usage reports will go.",
                      "defaultValue": "{{USAGECHANNEL}}"
                    },
                    "RAILWAYAPIKEY": {
                      "isOptional": false,
                      "description": "Railway API key linked to your personal account",
                      "defaultValue": "{{RAILWAYAPIKEY}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0"
}
