{
  "manifest_version": "1.0.0",
  "template": {
    "id": "061690a2-449f-4bd2-883f-7d2dd99ebc91",
    "slug": "nanoclaw",
    "name": "NanoClaw (OpenClaw Lightweight Alternative)",
    "description": "OpenClaw alternative with multi-channel, memory & Agents SDK built in",
    "url": "https://railway.com/deploy/nanoclaw",
    "upstream": {
      "repo_url": "https://github.com/arnaudjnn/nanoclaw-railway"
    }
  },
  "services": [
    {
      "name": "NanoClaw",
      "source": {
        "repo": "https://github.com/arnaudjnn/nanoclaw-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "NanoClaw",
      "description": "Timezone for scheduled tasks and log timestamps (default: UTC)",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "ASSISTANT_NAME",
      "service": "NanoClaw",
      "description": "ot display name used in conversations  (default: Andy)",
      "secret": false,
      "strategy": "default",
      "default": "Andy"
    },
    {
      "key": "ANTHROPIC_API_KEY",
      "service": "NanoClaw",
      "description": "API key for Claude model access",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "nanoclaw"
      }
    },
    "cli": "railway deploy --template nanoclaw",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "061690a2-449f-4bd2-883f-7d2dd99ebc91",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "9f255df2-3a03-400b-aa36-1d4ccf829661": {
                  "icon": "https://raw.githubusercontent.com/arnaudjnn/nanoclaw-railway/refs/heads/main/assets/nanoclaw-profile.svg",
                  "name": "NanoClaw",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/arnaudjnn/nanoclaw-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Timezone for scheduled tasks and log timestamps (default: UTC)",
                      "defaultValue": "UTC"
                    },
                    "GITHUB_TOKEN": {
                      "isOptional": true,
                      "description": "GitHub personal access token for installing skills from private repos",
                      "defaultValue": ""
                    },
                    "ASSISTANT_NAME": {
                      "isOptional": false,
                      "description": "ot display name used in conversations  (default: Andy)",
                      "defaultValue": "Andy"
                    },
                    "WHATSAPP_PHONE": {
                      "isOptional": true,
                      "description": "Phone number with country code (e.g. +33612345678). Used to request a pairing code on first connect. After pairing, auth state persists.",
                      "defaultValue": ""
                    },
                    "GMAIL_CLIENT_ID": {
                      "isOptional": true,
                      "description": "OAuth 2.0 Client ID from Google Cloud Console",
                      "defaultValue": ""
                    },
                    "SLACK_APP_TOKEN": {
                      "isOptional": true,
                      "description": "App-Level Token for Socket Mode (starts with xapp-)",
                      "defaultValue": ""
                    },
                    "SLACK_BOT_TOKEN": {
                      "isOptional": true,
                      "description": "Bot User OAuth Token (starts with xoxb-)",
                      "defaultValue": ""
                    },
                    "ANTHROPIC_API_KEY": {
                      "isOptional": false,
                      "description": "API key for Claude model access",
                      "defaultValue": "{{ANTHROPIC_API_KEY}}"
                    },
                    "DISCORD_BOT_TOKEN": {
                      "isOptional": true,
                      "description": "Bot token from Discord Developer Portal",
                      "defaultValue": ""
                    },
                    "TELEGRAM_BOT_TOKEN": {
                      "isOptional": true,
                      "description": "Token from @BotFather",
                      "defaultValue": ""
                    },
                    "GMAIL_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "OAuth 2.0 Client Secret",
                      "defaultValue": ""
                    },
                    "GMAIL_REFRESH_TOKEN": {
                      "isOptional": true,
                      "description": "OAuth refresh token (obtained via the consent flow)",
                      "defaultValue": ""
                    },
                    "SLACK_MAIN_CHANNEL_ID": {
                      "isOptional": true,
                      "description": "Channel ID to auto-register as the main group (Optional)",
                      "defaultValue": ""
                    }
                  },
                  "volumeMounts": {
                    "9f255df2-3a03-400b-aa36-1d4ccf829661": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-20T18:45:06.237Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_de8be6642b864cd9abaa",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
