{
  "manifest_version": "1.0.0",
  "template": {
    "id": "e6762faf-be8b-4f0d-954d-689604f844d4",
    "slug": "DoTt23",
    "name": "Twitch Song Requests",
    "description": "Queue song requests in Spotify with Twitch channel points.",
    "url": "https://railway.com/deploy/DoTt23",
    "upstream": {
      "repo_url": "https://github.com/SaxyPandaBear/TwitchSongRequests"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "TwitchSongRequests",
      "source": {
        "repo": "https://github.com/SaxyPandaBear/TwitchSongRequests"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/timescale-postgis-ssl:pg15-ts2.12"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "TwitchSongRequests",
      "description": "This must be 443 for HTTPS communication on Railway",
      "secret": false,
      "strategy": "default",
      "default": "443"
    },
    {
      "key": "TWITCH_STATE",
      "service": "TwitchSongRequests",
      "description": "Arbitrary key that your service uses for verifying OAuth user logins",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SPOTIFY_STATE",
      "service": "TwitchSongRequests",
      "description": "Arbitrary key that your service uses for verifying OAuth user logins",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "TWITCH_SECRET",
      "service": "TwitchSongRequests",
      "description": "Arbitrary secret that you use when signing API calls in Twitch",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "TWITCH_CLIENT_ID",
      "service": "TwitchSongRequests",
      "description": "Twitch application client ID",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SPOTIFY_CLIENT_ID",
      "service": "TwitchSongRequests",
      "description": "Spotify application client ID",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "TWITCH_CLIENT_SECRET",
      "service": "TwitchSongRequests",
      "description": "Twitch application secret key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SPOTIFY_CLIENT_SECRET",
      "service": "TwitchSongRequests",
      "description": "Spotify application secret key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Provide a value for PGDATA.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "NO_TS_TUNE",
      "service": "Postgres",
      "description": "Provide a value for NO_TS_TUNE.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Provide a value for POSTGRES_DB.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Provide a value for DATABASE_URL.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Provide a value for POSTGRES_USER.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "Provide a value for SSL_CERT_DAYS.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Postgres",
      "description": "Provide a value for RAILWAY_RUN_UID.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Provide a value for POSTGRES_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_PRIVATE_URL",
      "service": "Postgres",
      "description": "Provide a value for DATABASE_PRIVATE_URL.",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "DoTt23"
      }
    },
    "cli": "railway deploy --template DoTt23",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "e6762faf-be8b-4f0d-954d-689604f844d4",
            "serializedConfig": {
              "services": {
                "3a64ea83-1bdc-43d2-82f1-e04c01473c00": {
                  "name": "TwitchSongRequests",
                  "deploy": {
                    "healthcheckPath": "/ping"
                  },
                  "source": {
                    "repo": "SaxyPandaBear/TwitchSongRequests",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "This must be 443 for HTTPS communication on Railway",
                      "defaultValue": "443"
                    },
                    "TWITCH_STATE": {
                      "isOptional": false,
                      "description": "Arbitrary key that your service uses for verifying OAuth user logins",
                      "defaultValue": "{{TWITCH_STATE}}"
                    },
                    "SKIP_POSTGRES": {
                      "isOptional": true,
                      "description": "If you delete this, you will need to create Postgres tables or the app breaks",
                      "defaultValue": ""
                    },
                    "SPOTIFY_STATE": {
                      "isOptional": false,
                      "description": "Arbitrary key that your service uses for verifying OAuth user logins",
                      "defaultValue": "{{SPOTIFY_STATE}}"
                    },
                    "TWITCH_SECRET": {
                      "isOptional": false,
                      "description": "Arbitrary secret that you use when signing API calls in Twitch",
                      "defaultValue": "{{TWITCH_SECRET}}"
                    },
                    "TWITCH_CLIENT_ID": {
                      "isOptional": false,
                      "description": "Twitch application client ID",
                      "defaultValue": "{{TWITCH_CLIENT_ID}}"
                    },
                    "SPOTIFY_CLIENT_ID": {
                      "isOptional": false,
                      "description": "Spotify application client ID",
                      "defaultValue": "{{SPOTIFY_CLIENT_ID}}"
                    },
                    "TWITCH_CLIENT_SECRET": {
                      "isOptional": false,
                      "description": "Twitch application secret key",
                      "defaultValue": "{{TWITCH_CLIENT_SECRET}}"
                    },
                    "SPOTIFY_CLIENT_SECRET": {
                      "isOptional": false,
                      "description": "Spotify application secret key",
                      "defaultValue": "{{SPOTIFY_CLIENT_SECRET}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "9979d7c2-e254-45e5-9dd0-b689a259a19f": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/timescale-postgis-ssl:pg15-ts2.12"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "defaultValue": "{{PGDATA}}"
                    },
                    "NO_TS_TUNE": {
                      "isOptional": false,
                      "defaultValue": "{{NO_TS_TUNE}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "defaultValue": "{{POSTGRES_DB}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "defaultValue": "{{DATABASE_URL}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "defaultValue": "{{POSTGRES_USER}}"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "defaultValue": "{{SSL_CERT_DAYS}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "defaultValue": "{{RAILWAY_RUN_UID}}"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_PRIVATE_URL": {
                      "isOptional": false,
                      "defaultValue": "{{DATABASE_PRIVATE_URL}}"
                    }
                  },
                  "volumeMounts": {
                    "9979d7c2-e254-45e5-9dd0-b689a259a19f": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "TwitchSongRequests",
      "method": "GET",
      "path": "/ping",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0"
}
