{
  "manifest_version": "1.0.0",
  "template": {
    "id": "bea0055c-3dbc-4cb6-ae94-6e9c6765d917",
    "slug": "kFCDQY",
    "name": "Kutt | Open Source Bitly Alternative for URL Shortening",
    "description": "Self-hosted URL shortener with custom domains and click stats",
    "url": "https://railway.com/deploy/kFCDQY",
    "upstream": {
      "image": "kutt/kutt:v3.2.6"
    }
  },
  "services": [
    {
      "name": "kutt",
      "source": {
        "image": "kutt/kutt:v3.2.6"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/kutt",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "JWT_SECRET",
      "service": "kutt",
      "description": "This is used to sign authentication tokens",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DB_FILENAME",
      "service": "kutt",
      "description": "DB filename",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/kutt/data.sqlite"
    },
    {
      "key": "DEFAULT_DOMAIN",
      "service": "kutt",
      "description": "The domain address that this app runs on",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "kFCDQY"
      }
    },
    "cli": "railway deploy --template kFCDQY",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "bea0055c-3dbc-4cb6-ae94-6e9c6765d917",
            "serializedConfig": {
              "services": {
                "bd6e04d2-2aa1-4430-8f41-c6d670af98d9": {
                  "icon": null,
                  "name": "kutt",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 2
                  },
                  "source": {
                    "image": "kutt/kutt:v3.2.6"
                  },
                  "variables": {
                    "JWT_SECRET": {
                      "isOptional": false,
                      "description": "This is used to sign authentication tokens",
                      "defaultValue": "{{JWT_SECRET}}"
                    },
                    "DB_FILENAME": {
                      "description": "DB filename",
                      "defaultValue": "/var/lib/kutt/data.sqlite"
                    },
                    "DEFAULT_DOMAIN": {
                      "description": "The domain address that this app runs on",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "bd6e04d2-2aa1-4430-8f41-c6d670af98d9": {
                      "mountPath": "/var/lib/kutt"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-19T04:14:37.968Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T02:19:00.147Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_826e5421ec684933b5fa",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 71,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "kutt"
  }
}
