{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6572134b-b1f7-4b5b-a426-77bcc982a816",
    "slug": "neko",
    "name": "Neko | Shared Cloud Browser for Watch Parties",
    "description": "Self-hosted shared browser: watch together, co-browse, with audio. WebRTC.",
    "url": "https://railway.com/deploy/neko",
    "upstream": {
      "repo_url": "https://github.com/two-workspaces/neko"
    }
  },
  "services": [
    {
      "name": "neko",
      "source": {
        "repo": "https://github.com/two-workspaces/neko"
      },
      "needs_volume": false,
      "tcp_ports": [
        59000
      ],
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "neko",
      "description": "Port of the neko web client behind the Railway domain - leave as is.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "NEKO_IMAGE",
      "service": "neko",
      "description": "The app to stream. Swap firefox for chromium, brave, google-chrome, microsoft-edge, vivaldi, tor-browser, xfce, kde or vlc and redeploy.",
      "secret": false,
      "strategy": "default",
      "default": "ghcr.io/m1k1o/neko/firefox:3.1.6"
    },
    {
      "key": "NEKO_DESKTOP_SCREEN",
      "service": "neko",
      "description": "Stream resolution and frame rate. 1920x1080@30 looks sharper but costs more CPU and bandwidth.",
      "secret": false,
      "strategy": "default",
      "default": "1280x720@30"
    },
    {
      "key": "NEKO_MEMBER_PROVIDER",
      "service": "neko",
      "description": "Login mode: one shared viewer password plus one admin password. Leave as is.",
      "secret": false,
      "strategy": "default",
      "default": "multiuser"
    },
    {
      "key": "NEKO_MEMBER_MULTIUSER_USER_PASSWORD",
      "service": "neko",
      "description": "Password for viewers. Share it with the people you watch with - they join with any display name.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "NEKO_MEMBER_MULTIUSER_ADMIN_PASSWORD",
      "service": "neko",
      "description": "Admin password: same login, but can take control from anyone, kick and lock the room. Keep it to yourself.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "neko"
      }
    },
    "cli": "railway deploy --template neko",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6572134b-b1f7-4b5b-a426-77bcc982a816",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "58d75ddc-74e4-431d-b11d-f697b467b3da": {
                  "icon": "https://raw.githubusercontent.com/two-workspaces/neko/main/icon.png",
                  "name": "neko",
                  "build": {
                    "dockerfilePath": "Dockerfile"
                  },
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/two-workspaces/neko",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port of the neko web client behind the Railway domain - leave as is.",
                      "defaultValue": "8080"
                    },
                    "NEKO_IMAGE": {
                      "isOptional": false,
                      "description": "The app to stream. Swap firefox for chromium, brave, google-chrome, microsoft-edge, vivaldi, tor-browser, xfce, kde or vlc and redeploy.",
                      "defaultValue": "ghcr.io/m1k1o/neko/firefox:3.1.6"
                    },
                    "NEKO_DESKTOP_SCREEN": {
                      "isOptional": false,
                      "description": "Stream resolution and frame rate. 1920x1080@30 looks sharper but costs more CPU and bandwidth.",
                      "defaultValue": "1280x720@30"
                    },
                    "NEKO_MEMBER_PROVIDER": {
                      "isOptional": false,
                      "description": "Login mode: one shared viewer password plus one admin password. Leave as is.",
                      "defaultValue": "multiuser"
                    },
                    "NEKO_MEMBER_MULTIUSER_USER_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for viewers. Share it with the people you watch with - they join with any display name.",
                      "defaultValue": "{{NEKO_MEMBER_MULTIUSER_USER_PASSWORD}}"
                    },
                    "NEKO_MEMBER_MULTIUSER_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Admin password: same login, but can take control from anyone, kick and lock the room. Keep it to yourself.",
                      "defaultValue": "{{NEKO_MEMBER_MULTIUSER_ADMIN_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "59000": {}
                    },
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "neko",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-10-23T22:14:47.579Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-18T15:48:26.973Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_69d8af994f6440919ff4",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 154,
    "typical_build_seconds": 106,
    "typical_start_seconds": 20,
    "slowest_service": "neko"
  }
}
