{
  "manifest_version": "1.0.0",
  "template": {
    "id": "8452ca21-d497-41cd-97d1-8553bf088250",
    "slug": "needline",
    "name": "needline",
    "description": "Open source self-hostable customer portal built on Linear",
    "url": "https://railway.com/deploy/needline",
    "upstream": {
      "repo_url": "https://github.com/princhman/needline"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "needline",
      "source": {
        "repo": "https://github.com/princhman/needline"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "AUTH_URL",
      "service": "needline",
      "description": "Provide a value for AUTH_URL.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "LABEL_NAME",
      "service": "needline",
      "description": "Provide a value for LABEL_NAME.",
      "secret": false,
      "strategy": "default",
      "default": "\"needline\""
    },
    {
      "key": "CLIENT_TOKEN",
      "service": "needline",
      "description": "Provide a value for CLIENT_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "PUBLIC_BASE_URL",
      "service": "needline",
      "description": "Provide a value for PUBLIC_BASE_URL.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PUBLIC_CLIENT_ID",
      "service": "needline",
      "description": "Provide a value for PUBLIC_CLIENT_ID.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "COOKIE_ENCRYPTION_KEY",
      "service": "needline",
      "description": "Provide a value for COOKIE_ENCRYPTION_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "JWT_ENCRYPTION_PUBLIC_KEY",
      "service": "needline",
      "description": "Provide a value for JWT_ENCRYPTION_PUBLIC_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "STORE_FILE_ENCRYPTION_KEY",
      "service": "needline",
      "description": "Provide a value for STORE_FILE_ENCRYPTION_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "needline"
      }
    },
    "cli": "railway deploy --template needline",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "8452ca21-d497-41cd-97d1-8553bf088250",
            "serializedConfig": {
              "services": {
                "797312df-1313-4685-b07f-24a5142981b5": {
                  "icon": "https://needline.princhman.com/logo.svg",
                  "name": "needline",
                  "source": {
                    "repo": "princhman/needline",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "AUTH_URL": {
                      "defaultValue": "{{AUTH_URL}}"
                    },
                    "LABEL_NAME": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "\"needline\""
                    },
                    "CLIENT_TOKEN": {
                      "defaultValue": "{{CLIENT_TOKEN}}"
                    },
                    "PUBLIC_BASE_URL": {
                      "defaultValue": "{{PUBLIC_BASE_URL}}"
                    },
                    "PUBLIC_CLIENT_ID": {
                      "defaultValue": "{{PUBLIC_CLIENT_ID}}"
                    },
                    "COOKIE_ENCRYPTION_KEY": {
                      "defaultValue": "{{COOKIE_ENCRYPTION_KEY}}"
                    },
                    "JWT_ENCRYPTION_PUBLIC_KEY": {
                      "defaultValue": "{{JWT_ENCRYPTION_PUBLIC_KEY}}"
                    },
                    "STORE_FILE_ENCRYPTION_KEY": {
                      "defaultValue": "{{STORE_FILE_ENCRYPTION_KEY}}"
                    }
                  },
                  "volumeMounts": {
                    "797312df-1313-4685-b07f-24a5142981b5": {
                      "mountPath": "/app/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0"
}
