{
  "manifest_version": "1.0.0",
  "template": {
    "id": "db8e36c0-8580-40a8-987d-15cd8f774844",
    "slug": "github-statcrab",
    "name": "github-statcrab",
    "description": "GitHub profile stats for Readme file generated on the fly!",
    "url": "https://railway.com/deploy/github-statcrab",
    "upstream": {
      "image": "ghcr.io/samgozman/github-statcrab/server:latest"
    }
  },
  "services": [
    {
      "name": "github-statcrab",
      "source": {
        "image": "ghcr.io/samgozman/github-statcrab/server:latest"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "GITHUB_TOKEN",
      "service": "github-statcrab",
      "description": "GitHub Personal Access Token: https://github.com/settings/tokens. Generate new token (classic) with repo and user scopes",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "github-statcrab"
      }
    },
    "cli": "railway deploy --template github-statcrab",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "db8e36c0-8580-40a8-987d-15cd8f774844",
            "serializedConfig": {
              "services": {
                "6728cdd3-75ef-4e70-b4fc-f87664241b45": {
                  "icon": "https://raw.githubusercontent.com/samgozman/github-statcrab/refs/heads/main/assets/icon.png",
                  "name": "github-statcrab",
                  "deploy": {
                    "healthcheckPath": "/api/health"
                  },
                  "source": {
                    "image": "ghcr.io/samgozman/github-statcrab/server:latest"
                  },
                  "variables": {
                    "GITHUB_TOKEN": {
                      "isOptional": false,
                      "description": "GitHub Personal Access Token: https://github.com/settings/tokens. Generate new token (classic) with repo and user scopes",
                      "defaultValue": "{{GITHUB_TOKEN}}"
                    },
                    "ALLOWED_USERNAMES": {
                      "isOptional": true,
                      "description": "Comma-separated list of GitHub usernames allowed to use the API. Leave empty to allow all users ",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "github-statcrab",
      "method": "GET",
      "path": "/api/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T19:42:42.766Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_1750d63b14af4d9d81d8",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 51,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "github-statcrab"
  }
}
