{
  "manifest_version": "1.0.0",
  "template": {
    "id": "b98e960d-27cf-4d69-9b33-df6ba5ed61cb",
    "slug": "kali-linux-20263-kde-desktop-in-your-bro",
    "name": "Kali Linux KDE Desktop in Your Browser",
    "description": "Kali Linux KDE desktop with Kali's top 10 tools, in a browser tab.",
    "url": "https://railway.com/deploy/kali-linux-20263-kde-desktop-in-your-bro",
    "upstream": {
      "repo_url": "https://github.com/baranberkay96/kali-desktop-railway"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Desktop",
      "source": {
        "repo": "https://github.com/baranberkay96/kali-desktop-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/config",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "Desktop",
      "description": "Time zone of the desktop clock and apps, e.g. Europe/Istanbul.",
      "secret": false,
      "strategy": "default",
      "default": "Etc/UTC"
    },
    {
      "key": "PORT",
      "service": "Desktop",
      "description": "Port of the desktop's web server (nginx). The public domain and the healthcheck use it. 3001 and 8082 are used internally.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "TITLE",
      "service": "Desktop",
      "description": "Browser tab title of the desktop page.",
      "secret": false,
      "strategy": "default",
      "default": "Kali Linux KDE Desktop"
    },
    {
      "key": "PASSWORD",
      "service": "Desktop",
      "description": "Browser login password, generated at deploy (copy it from this variable). Min 8 chars, 12+ recommended. The desktop does not start without it.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "CUSTOM_USER",
      "service": "Desktop",
      "description": "Browser login name (letters, digits, . _ @ -). The Linux account inside the desktop is 'abc', with passwordless sudo.",
      "secret": false,
      "strategy": "default",
      "default": "kali"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Desktop",
      "description": "Seconds between stop signal and kill on redeploy, so desktop apps and services shut down cleanly.",
      "secret": false,
      "strategy": "default",
      "default": "15"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "kali-linux-20263-kde-desktop-in-your-bro"
      }
    },
    "cli": "railway deploy --template kali-linux-20263-kde-desktop-in-your-bro",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "b98e960d-27cf-4d69-9b33-df6ba5ed61cb",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "869077d4-5a21-5a1a-8c1a-bad831b3992c": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/kali-linux.svg",
                  "name": "Desktop",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 600,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/kali-desktop-railway",
                    "branch": "main",
                    "rootDirectory": "/services/desktop"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": true,
                      "description": "Time zone of the desktop clock and apps, e.g. Europe/Istanbul.",
                      "defaultValue": "Etc/UTC"
                    },
                    "PORT": {
                      "isOptional": true,
                      "description": "Port of the desktop's web server (nginx). The public domain and the healthcheck use it. 3001 and 8082 are used internally.",
                      "defaultValue": "3000"
                    },
                    "TITLE": {
                      "isOptional": true,
                      "description": "Browser tab title of the desktop page.",
                      "defaultValue": "Kali Linux KDE Desktop"
                    },
                    "PASSWORD": {
                      "isOptional": true,
                      "description": "Browser login password, generated at deploy (copy it from this variable). Min 8 chars, 12+ recommended. The desktop does not start without it.",
                      "defaultValue": "{{PASSWORD}}"
                    },
                    "CUSTOM_USER": {
                      "isOptional": true,
                      "description": "Browser login name (letters, digits, . _ @ -). The Linux account inside the desktop is 'abc', with passwordless sudo.",
                      "defaultValue": "kali"
                    },
                    "APT_PACKAGES": {
                      "isOptional": true,
                      "description": "Optional. Kali packages (space-separated) reinstalled in the background after every redeploy, e.g. 'seclists nikto'.",
                      "defaultValue": ""
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": true,
                      "description": "Seconds between stop signal and kill on redeploy, so desktop apps and services shut down cleanly.",
                      "defaultValue": "15"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {
                    "0e83d94e-476b-5e8e-9256-f92cf5665492": {
                      "mountPath": "/config"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Desktop",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-11-11T04:15:11.344Z",
  "generator_version": "0.1.0"
}
