{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3587f918-3b02-40c7-b1ec-8fa995986206",
    "slug": "aionui",
    "name": "AionUi | Cowork AI Agent Workspace in Your Browser",
    "description": "AionUi WebUI: chat, files, scheduled tasks, teams of AI agents, any model.",
    "url": "https://railway.com/deploy/aionui",
    "upstream": {
      "repo_url": "https://github.com/nomideusz/aionui-railway"
    }
  },
  "services": [
    {
      "name": "aionui",
      "source": {
        "repo": "https://github.com/nomideusz/aionui-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "aionui",
      "description": "Port of the AionUi web server. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "25808"
    },
    {
      "key": "AIONUI_AGENTS",
      "service": "aionui",
      "description": "Agent CLIs to install on the volume and update on every boot: any of claude, codex, gemini, opencode, qwen, or npm package names, comma-separated. Set to none for none.",
      "secret": false,
      "strategy": "default",
      "default": "claude,codex,gemini,opencode"
    },
    {
      "key": "AIONUI_ADMIN_PASSWORD",
      "service": "aionui",
      "description": "Password for the `admin` login. Applied on every boot, so change it here and redeploy to rotate it.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "aionui"
      }
    },
    "cli": "railway deploy --template aionui",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3587f918-3b02-40c7-b1ec-8fa995986206",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "fb7f04b9-cb65-4e9a-ad59-b17d36aefc3b": {
                  "icon": "https://raw.githubusercontent.com/iOfficeAI/AionUi/main/resources/app.png",
                  "name": "aionui",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/auth/status",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/nomideusz/aionui-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port of the AionUi web server. Do not change.",
                      "defaultValue": "25808"
                    },
                    "AIONUI_AGENTS": {
                      "isOptional": true,
                      "description": "Agent CLIs to install on the volume and update on every boot: any of claude, codex, gemini, opencode, qwen, or npm package names, comma-separated. Set to none for none.",
                      "defaultValue": "claude,codex,gemini,opencode"
                    },
                    "GEMINI_API_KEY": {
                      "isOptional": true,
                      "description": "Optional. Google AI Studio key for Gemini CLI (free tier available).",
                      "defaultValue": ""
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "Optional. OpenAI API key for Codex CLI.",
                      "defaultValue": ""
                    },
                    "AIONUI_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the `admin` login. Applied on every boot, so change it here and redeploy to rotate it.",
                      "defaultValue": "{{AIONUI_ADMIN_PASSWORD}}"
                    },
                    "CLAUDE_CODE_OAUTH_TOKEN": {
                      "isOptional": true,
                      "description": "Optional. Use Claude Code with your Claude Pro/Max plan: run `claude setup-token` on your own computer and paste the token here.",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>:25808": {
                        "port": 25808
                      }
                    }
                  },
                  "volumeMounts": {
                    "fb7f04b9-cb65-4e9a-ad59-b17d36aefc3b": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "aionui",
      "method": "GET",
      "path": "/api/auth/status",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-06T04:14:42.626Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-05T08:01:45.565Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_990dda6f5c9942adb322",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 123,
    "typical_build_seconds": 41,
    "typical_start_seconds": 32,
    "slowest_service": "aionui"
  }
}
