{
  "manifest_version": "1.0.0",
  "template": {
    "id": "d7d33426-26e5-4746-a030-1a0a61184298",
    "slug": "web-tools",
    "name": "Web Tools (Open Source Alternative To Firecrawl, Linkup, Tavily, Exa or Bright Data)",
    "description": "Power your AI apps with the world's most accurate open source web tools",
    "url": "https://railway.com/deploy/web-tools",
    "upstream": {
      "image": "unclecode/crawl4ai:latest"
    }
  },
  "services": [
    {
      "name": "Camoufox",
      "source": {
        "repo": "https://github.com/arnaudjnn/web-tools"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "SearXNG",
      "source": {
        "repo": "https://github.com/arnaudjnn/web-tools"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Crawl4AI",
      "source": {
        "image": "unclecode/crawl4ai:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "Tools",
      "source": {
        "repo": "https://github.com/arnaudjnn/web-tools"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Scrapling",
      "source": {
        "repo": "https://github.com/arnaudjnn/web-tools"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Camoufox",
      "description": "Port number the Camoufox service listens on (default: 8000)",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "WORKERS",
      "service": "Camoufox",
      "description": "Number of browser sessions per container (default: 1)",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "SEARXNG_REDIS_URL",
      "service": "SearXNG",
      "description": "Redis connection URI used by SearXNG for caching/rate limiting",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SEARXNG_SECRET_KEY",
      "service": "SearXNG",
      "description": "Secret key used by SearXNG for cryptographic signing and session security",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "PORT",
      "service": "Crawl4AI",
      "description": "Port number the Crawl4AI service listens on (default: 11235)",
      "secret": false,
      "strategy": "default",
      "default": "11235"
    },
    {
      "key": "CRAWL4AI_API_TOKEN",
      "service": "Crawl4AI",
      "description": "API token for authenticating requests to the Crawl4AI service",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Hostname or IP address of the Redis server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Port number the Redis server listens on (default: 6379)",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Username for Redis authentication (default: default)",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Full connection URI for Redis (e.g., redis://user:pass@host:port)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Redis authentication password, derived from REDIS_PASSWORD",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Auto-generated password used to secure the Redis instance",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REDIS_PUBLIC_URL",
      "service": "Redis",
      "description": "Publicly accessible Redis connection URI, used for external access",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "API_KEY",
      "service": "Tools",
      "description": "Auto-generated secret used to secure the MCP server URL endpoint via Bearer token authentication",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SEARXNG_URL",
      "service": "Tools",
      "description": "Base URL of the SearXNG instance used for web searches",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "CAMOUFOX_URL",
      "service": "Tools",
      "description": "Base URL of the Camoufox service used for web browser",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": " CRAWL4AI_URL",
      "service": "Tools",
      "description": "Base URL of the Crawl4AI service used for web crawling and content extraction",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SCRAPLING_URL",
      "service": "Tools",
      "description": "Base URL of the Scrapling service used for web crawling and content extraction",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": " CRAWL4AI_API_TOKEN",
      "service": "Tools",
      "description": "API token for authenticating requests to the Crawl4AI service",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "Scrapling",
      "description": "Port number the Scrapling service listens on (default: 8000)",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "web-tools"
      }
    },
    "cli": "railway deploy --template web-tools",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "d7d33426-26e5-4746-a030-1a0a61184298",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "3a3ebfd4-da78-48de-b9e9-318d72d4cde7": {
                  "icon": "https://raw.githubusercontent.com/arnaudjnn/web-tools/refs/heads/main/assets/camoufox.svg",
                  "name": "Camoufox",
                  "source": {
                    "repo": "arnaudjnn/web-tools",
                    "branch": null,
                    "rootDirectory": "/services/camoufox"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port number the Camoufox service listens on (default: 8000)",
                      "defaultValue": "8000"
                    },
                    "WORKERS": {
                      "isOptional": false,
                      "description": "Number of browser sessions per container (default: 1)",
                      "defaultValue": "1"
                    },
                    "PROXY_URL": {
                      "isOptional": true,
                      "description": "Optional proxy for outgoing requests",
                      "defaultValue": ""
                    }
                  }
                },
                "52096b4e-2ed8-4c23-9619-602ebf1dd35f": {
                  "icon": "https://raw.githubusercontent.com/arnaudjnn/web-search-mcp/refs/heads/main/assets/searxng.svg",
                  "name": "SearXNG",
                  "source": {
                    "repo": "arnaudjnn/web-tools",
                    "branch": null,
                    "rootDirectory": "/services/searxng"
                  },
                  "variables": {
                    "PROXY_URL": {
                      "isOptional": true,
                      "description": "Optional proxy for outgoing requests",
                      "defaultValue": ""
                    },
                    "SEARXNG_REDIS_URL": {
                      "isOptional": false,
                      "description": "Redis connection URI used by SearXNG for caching/rate limiting",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "SEARXNG_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Secret key used by SearXNG for cryptographic signing and session security",
                      "defaultValue": "{{SEARXNG_SECRET_KEY}}"
                    }
                  }
                },
                "819554c8-1334-47ee-a296-698386534e06": {
                  "icon": "https://raw.githubusercontent.com/arnaudjnn/web-search-mcp/refs/heads/main/assets/crawl4ai.svg",
                  "name": "Crawl4AI",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "unclecode/crawl4ai:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port number the Crawl4AI service listens on (default: 11235)",
                      "defaultValue": "11235"
                    },
                    "CRAWL4AI_API_TOKEN": {
                      "isOptional": false,
                      "description": "API token for authenticating requests to the Crawl4AI service",
                      "defaultValue": "{{CRAWL4AI_API_TOKEN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "e290594c-cad1-47f2-b740-c4c9771b0bea": {
                  "icon": "https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.2.1"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Hostname or IP address of the Redis server",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Port number the Redis server listens on (default: 6379)",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Username for Redis authentication (default: default)",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Full connection URI for Redis (e.g., redis://user:pass@host:port)",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDIS_PASSWORD}}@${{REDISHOST}}:${{REDISPORT}}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Redis authentication password, derived from REDIS_PASSWORD",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Auto-generated password used to secure the Redis instance",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    },
                    "REDIS_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "Publicly accessible Redis connection URI, used for external access",
                      "defaultValue": "redis://default:${{REDIS_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}"
                    }
                  },
                  "volumeMounts": {
                    "e290594c-cad1-47f2-b740-c4c9771b0bea": {
                      "mountPath": "/data"
                    }
                  },
                  "haTemplateCode": "redis-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxies",
                      "options": [
                        1,
                        2
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "HAProxy instances routing writes to the primary",
                      "defaultValue": 2
                    },
                    "replica": {
                      "label": "Redis Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "Redis",
                      "description": "Nodes running Redis + colocated Sentinel",
                      "defaultValue": 2
                    },
                    "internal": null,
                    "description": "This will convert your Redis instance to an HA cluster with Sentinel failover and HAProxy routing to the primary."
                  }
                },
                "ed851377-0920-4170-9010-120f73ec5897": {
                  "icon": "https://unpkg.com/lucide-static@0.575.0/icons/pencil-ruler.svg",
                  "name": "Tools",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/arnaudjnn/web-tools",
                    "rootDirectory": ""
                  },
                  "variables": {
                    "API_KEY": {
                      "isOptional": false,
                      "description": "Auto-generated secret used to secure the MCP server URL endpoint via Bearer token authentication",
                      "defaultValue": "{{API_KEY}}"
                    },
                    "SEARXNG_URL": {
                      "isOptional": false,
                      "description": "Base URL of the SearXNG instance used for web searches",
                      "defaultValue": "http://${{SearXNG.RAILWAY_PRIVATE_DOMAIN}}:8080"
                    },
                    "CAMOUFOX_URL": {
                      "isOptional": false,
                      "description": "Base URL of the Camoufox service used for web browser",
                      "defaultValue": "http://${{Camoufox.RAILWAY_PRIVATE_DOMAIN}}:${{Camoufox.PORT}}"
                    },
                    " CRAWL4AI_URL": {
                      "isOptional": false,
                      "description": "Base URL of the Crawl4AI service used for web crawling and content extraction",
                      "defaultValue": "http://${{Crawl4AI.RAILWAY_PRIVATE_DOMAIN}}:11235"
                    },
                    "SCRAPLING_URL": {
                      "isOptional": false,
                      "description": "Base URL of the Scrapling service used for web crawling and content extraction",
                      "defaultValue": "http://${{Scrapling.RAILWAY_PRIVATE_DOMAIN}}:${{Scrapling.PORT}}"
                    },
                    " CRAWL4AI_API_TOKEN": {
                      "isOptional": false,
                      "description": "API token for authenticating requests to the Crawl4AI service",
                      "defaultValue": "${{Crawl4AI.CRAWL4AI_API_TOKEN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "f0c11cee-b13d-4ebe-95be-1f5fef3c8392": {
                  "icon": "https://raw.githubusercontent.com/arnaudjnn/web-tools/refs/heads/main/assets/scrapling.svg",
                  "name": "Scrapling",
                  "source": {
                    "repo": "arnaudjnn/web-tools",
                    "branch": null,
                    "rootDirectory": "/services/scrapling"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port number the Scrapling service listens on (default: 8000)",
                      "defaultValue": "8000"
                    },
                    "PROXY_URL": {
                      "isOptional": true,
                      "description": "Optional proxy for outgoing requests",
                      "defaultValue": ""
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Crawl4AI",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 6,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T16:14:56.866Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-20T18:49:34.957Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_7d4ced2828a440ababeb",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "BUILDING,CRASHED,QUEUED,BUILDING,SUCCESS,SUCCESS"
      }
    ]
  }
}
