{
  "manifest_version": "1.0.0",
  "template": {
    "id": "cb343515-953f-49d0-a13b-1a9cf43c0c43",
    "slug": "engram",
    "name": "Engram",
    "description": "Git-backed markdown memory for AI agents that knows what's still true",
    "url": "https://railway.com/deploy/engram",
    "upstream": {
      "image": "ghcr.io/rwnalds/engram-app:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "rwnalds/engram:latest",
      "source": {
        "image": "ghcr.io/rwnalds/engram-app:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "APP_URL",
      "service": "rwnalds/engram:latest",
      "description": "Provide a value for APP_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "AUTH_SECRET",
      "service": "rwnalds/engram:latest",
      "description": "Provide a value for AUTH_SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ALLOWED_EMAILS",
      "service": "rwnalds/engram:latest",
      "description": "Comma-separated (test@gmail.com,another@gmail.com))",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ENGRAM_DATA_DIR",
      "service": "rwnalds/engram:latest",
      "description": "Provide a value for ENGRAM_DATA_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data"
    },
    {
      "key": "GOOGLE_CLIENT_ID",
      "service": "rwnalds/engram:latest",
      "description": "Provide a value for GOOGLE_CLIENT_ID.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "GOOGLE_CLIENT_SECRET",
      "service": "rwnalds/engram:latest",
      "description": "Provide a value for GOOGLE_CLIENT_SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "engram"
      }
    },
    "cli": "railway deploy --template engram",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "cb343515-953f-49d0-a13b-1a9cf43c0c43",
            "serializedConfig": {
              "services": {
                "c24fa9c0-ff93-4233-9728-c4fcaaff9b20": {
                  "name": "rwnalds/engram:latest",
                  "source": {
                    "image": "ghcr.io/rwnalds/engram-app:latest"
                  },
                  "variables": {
                    "APP_URL": {
                      "description": "",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "AUTH_SECRET": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "{{AUTH_SECRET}}"
                    },
                    "AUTH_DISABLED": {
                      "isOptional": true,
                      "description": "Single-user local mode: no Google auth, MCP open. NEVER true in production.",
                      "defaultValue": ""
                    },
                    "ALLOWED_EMAILS": {
                      "description": "Comma-separated (test@gmail.com,another@gmail.com))",
                      "defaultValue": "{{ALLOWED_EMAILS}}"
                    },
                    "ENGRAM_DATA_DIR": {
                      "defaultValue": "/data"
                    },
                    "GITHUB_CLIENT_ID": {
                      "isOptional": true,
                      "description": "\"Connect GitHub\" repo flow (URL+token path needs no OAuth app)",
                      "defaultValue": ""
                    },
                    "GIT_SYNC_ENABLED": {
                      "isOptional": true,
                      "description": "Overrides 'auto commit + push the active vault' default",
                      "defaultValue": ""
                    },
                    "GOOGLE_CLIENT_ID": {
                      "defaultValue": "{{GOOGLE_CLIENT_ID}}"
                    },
                    "GITHUB_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "OAuth app \"Authorization callback URL\": <APP_URL>/api/github/callback",
                      "defaultValue": ""
                    },
                    "GOOGLE_CLIENT_SECRET": {
                      "defaultValue": "{{GOOGLE_CLIENT_SECRET}}"
                    },
                    "NEXT_PUBLIC_APP_NAME": {
                      "isOptional": true,
                      "description": "Overrides display name (sidebar + browser tab)",
                      "defaultValue": ""
                    }
                  },
                  "volumeMounts": {
                    "c24fa9c0-ff93-4233-9728-c4fcaaff9b20": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0"
}
