{
  "manifest_version": "1.0.0",
  "template": {
    "id": "35229998-30bd-400f-88aa-d3ba5a473e37",
    "slug": "cassandra-for-discord",
    "name": "Cassandra for Discord",
    "description": "Organizational-memory AI agent for a single Discord server.",
    "url": "https://railway.com/deploy/cassandra-for-discord",
    "upstream": {
      "image": "ghcr.io/steel-experiments/cassandra-discord@sha256:87c5fc4ce070edcfad3ebc5008795cd5185b387e6e5363c9024b3c0b43e34309"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "cassandra",
      "source": {
        "image": "ghcr.io/steel-experiments/cassandra-discord@sha256:87c5fc4ce070edcfad3ebc5008795cd5185b387e6e5363c9024b3c0b43e34309"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "ORG_NAME",
      "service": "cassandra",
      "description": "Organization name used in answers and reports. Default: Your Company.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "FULL_HISTORY",
      "service": "cassandra",
      "description": "true imports all reachable history for the selected channels on first start. false starts from new messages. There is no default.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ORG_TIMEZONE",
      "service": "cassandra",
      "description": "IANA time zone for day boundaries, for example UTC or Europe/Berlin. Default: UTC.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DISCORD_TOKEN",
      "service": "cassandra",
      "description": "Bot token from the Discord Developer Portal, Bot page. Secret: reset it there if it leaks.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OPENAI_API_KEY",
      "service": "cassandra",
      "description": "OpenAI API key. For Anthropic or Google instead, set LLM_PROVIDER and use that provider's key.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DISCORD_GUILD_ID",
      "service": "cassandra",
      "description": "Your server ID. Turn on Developer Mode in Discord, right-click the server name, Copy Server ID.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "LLM_DAILY_BUDGET_USD",
      "service": "cassandra",
      "description": "Daily model-spend admission control in USD. Default 2. Use unlimited to remove the cap. Not a provider billing limit.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "CHANNEL_POLICY_SOURCE",
      "service": "cassandra",
      "description": "basic builds the channel policy from the two ID lists. file uses a mounted policy file instead. Default: basic.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DISCORD_APPLICATION_ID",
      "service": "cassandra",
      "description": "Application ID from the Developer Portal, General Information page.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "RESTRICTED_CHANNEL_IDS",
      "service": "cassandra",
      "description": "Comma-separated channel or category IDs whose content stays inside that channel. Leave unset if empty.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ORG_VISIBLE_CHANNEL_IDS",
      "service": "cassandra",
      "description": "Comma-separated channel or category IDs Cassandra may read as org-visible. Right-click a channel, Copy Channel ID.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "CASSANDRA_ADMIN_ROLE_IDS",
      "service": "cassandra",
      "description": "Comma-separated Discord role IDs that may run /cassandra admin commands.",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "cassandra-for-discord"
      }
    },
    "cli": "railway deploy --template cassandra-for-discord",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "35229998-30bd-400f-88aa-d3ba5a473e37",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "8e76d0a5-1c79-49fc-a0bd-96ca1da3988e": {
                  "icon": null,
                  "name": "cassandra",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/readyz",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/steel-experiments/cassandra-discord@sha256:87c5fc4ce070edcfad3ebc5008795cd5185b387e6e5363c9024b3c0b43e34309"
                  },
                  "variables": {
                    "ORG_NAME": {
                      "isOptional": false,
                      "description": "Organization name used in answers and reports. Default: Your Company.",
                      "defaultValue": "{{ORG_NAME}}"
                    },
                    "FULL_HISTORY": {
                      "isOptional": false,
                      "description": "true imports all reachable history for the selected channels on first start. false starts from new messages. There is no default.",
                      "defaultValue": "{{FULL_HISTORY}}"
                    },
                    "ORG_TIMEZONE": {
                      "isOptional": false,
                      "description": "IANA time zone for day boundaries, for example UTC or Europe/Berlin. Default: UTC.",
                      "defaultValue": "{{ORG_TIMEZONE}}"
                    },
                    "DISCORD_TOKEN": {
                      "isOptional": false,
                      "description": "Bot token from the Discord Developer Portal, Bot page. Secret: reset it there if it leaks.",
                      "defaultValue": "{{DISCORD_TOKEN}}"
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": false,
                      "description": "OpenAI API key. For Anthropic or Google instead, set LLM_PROVIDER and use that provider's key.",
                      "defaultValue": "{{OPENAI_API_KEY}}"
                    },
                    "DISCORD_GUILD_ID": {
                      "isOptional": false,
                      "description": "Your server ID. Turn on Developer Mode in Discord, right-click the server name, Copy Server ID.",
                      "defaultValue": "{{DISCORD_GUILD_ID}}"
                    },
                    "LLM_DAILY_BUDGET_USD": {
                      "isOptional": false,
                      "description": "Daily model-spend admission control in USD. Default 2. Use unlimited to remove the cap. Not a provider billing limit.",
                      "defaultValue": "{{LLM_DAILY_BUDGET_USD}}"
                    },
                    "CHANNEL_POLICY_SOURCE": {
                      "isOptional": false,
                      "description": "basic builds the channel policy from the two ID lists. file uses a mounted policy file instead. Default: basic.",
                      "defaultValue": "{{CHANNEL_POLICY_SOURCE}}"
                    },
                    "DISCORD_APPLICATION_ID": {
                      "isOptional": false,
                      "description": "Application ID from the Developer Portal, General Information page.",
                      "defaultValue": "{{DISCORD_APPLICATION_ID}}"
                    },
                    "RESTRICTED_CHANNEL_IDS": {
                      "isOptional": false,
                      "description": "Comma-separated channel or category IDs whose content stays inside that channel. Leave unset if empty.",
                      "defaultValue": "{{RESTRICTED_CHANNEL_IDS}}"
                    },
                    "ORG_VISIBLE_CHANNEL_IDS": {
                      "isOptional": false,
                      "description": "Comma-separated channel or category IDs Cassandra may read as org-visible. Right-click a channel, Copy Channel ID.",
                      "defaultValue": "{{ORG_VISIBLE_CHANNEL_IDS}}"
                    },
                    "CASSANDRA_ADMIN_ROLE_IDS": {
                      "isOptional": false,
                      "description": "Comma-separated Discord role IDs that may run /cassandra admin commands.",
                      "defaultValue": "{{CASSANDRA_ADMIN_ROLE_IDS}}"
                    }
                  },
                  "volumeMounts": {
                    "8e76d0a5-1c79-49fc-a0bd-96ca1da3988e": {
                      "mountPath": "/app/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-16T16:14:44.185Z",
  "generator_version": "0.1.0"
}
