Helm chartv0.1.2App 0.42.1Apache-2.0Verified publisher

High-performance, lightweight web scraping, crawling, and AI search API written in Rust (self-hosted Tavily and Firecrawl alternative)

About this chart

FastCRW (crw) Helm Chart

Introduction

FastCRW (crw) is an ultra-fast, lightweight web scraping, crawling, and AI search API written in Rust. Designed specifically for AI Agents, RAG pipelines, and LLM context extraction, FastCRW delivers clean Markdown and structured JSON without the overhead of heavy browser engines.

This Helm chart packages FastCRW for production Kubernetes deployments. Following enterprise patterns (similar to SigNoz), it integrates SearXNG as an optional Helm subchart dependency (techpipe/searxng), providing an out-of-the-box, private, and self-hosted alternative to Tavily, Serper, and Firecrawl.

Architecture

┌─────────────────────────────────────────────────────────────┐
│ Clients / AI Agents / LLMs (Claude Code, Cursor, OpenWebUI) │
└──────────────────────────────┬──────────────────────────────┘
                               │ POST /v1/search, /v1/scrape, /v1/crawl
                               ▼
┌─────────────────────────────────────────────────────────────┐
│ FastCRW (crw: port 3000)                                    │
│ • Lightweight Rust scraper & crawler (~6 MB idle RAM)       │
│ • Converts target pages into LLM-ready clean Markdown       │
│ • Native Model Context Protocol (MCP) server support        │
└──────────────────────────────┬──────────────────────────────┘
                               │ (Optional internal search queries)
                               ▼
┌─────────────────────────────────────────────────────────────┐
│ SearXNG Subchart (searxng: port 8080) [Optional Dependency] │
│ • Controlled via: searxng.enabled (default: true)           │
│ • Sourced from: https://techpipe-io.github.io/searxng-helm  │
└─────────────────────────────────────────────────────────────┘

Features

  • Tavily / Firecrawl Alternative: Provides /v1/search, /v1/scrape, and /v1/crawl endpoints.
  • Single-Binary Efficiency: Written in Rust, extremely low resource footprint (~6 MB RAM).
  • Subchart Modularity: Bundles SearXNG via Helm dependencies (can be toggled on/off with searxng.enabled).
  • Auto-Discovery: FastCRW automatically detects the internal SearXNG subchart service endpoint (respecting searxng.fullnameOverride and searxng.nameOverride) without manual wiring.
  • External Search Backend Support: Simply set searxng.enabled: false and point search.backendUrl to any existing cluster or external SearXNG instance.
  • Native Model Context Protocol (MCP): Directly connects to MCP-compatible coding agents (Claude Code, Cursor).
  • Hardened Security (Pod Security Standards):
    • crw itself enforces Pod Security Standards (Restricted): non-root execution (runAsNonRoot: true, UID 10001), read-only root filesystem (readOnlyRootFilesystem: true) with /tmp emptyDir, capabilities.drop: [ALL], seccompProfile: RuntimeDefault, and serviceAccount.automount: false.
    • Note on bundled searxng subchart: The upstream techpipe/searxng (0.1.11) subchart does not expose container/pod securityContext overrides and requires a Baseline Pod Security Admission profile. For namespaces enforcing Restricted, set searxng.enabled: false and point search.backendUrl to an external SearXNG instance (see examples/external-searxng-values.yaml).
  • Vendor-Neutral Networking: Supports standard Kubernetes Ingress (networking.k8s.io/v1) and Gateway API HTTPRoute (gateway.networking.k8s.io/v1).
  • Production Ready: HorizontalPodAutoscaler (autoscaling/v2), PodDisruptionBudget (policy/v1), NetworkPolicy with working defaults, probes, graceful shutdown (preStop + 60s termination grace period), and JSON schema validation.

Prerequisites

  • Kubernetes:
    • >= 1.27 when searxng.enabled: true (required by the upstream techpipe/searxng 0.1.11 subchart).
    • >= 1.19 when searxng.enabled: false (standalone crw mode).
  • Helm: >= 3.0

Important Operational Notes

GitOps / Argo CD (searxng.secret.existingSecret)

When searxng.enabled: true and searxng.secret.create: true (upstream subchart default), the SearXNG subchart generates a random SEARXNG_SECRET using Helm lookup / randAlphaNum. Because Argo CD renders charts offline via helm template where lookup is disabled, a new random secret would be generated on every sync (OutOfSync drift).

For GitOps / Argo CD deployments, supply a pre-existing Secret (managed via External Secrets Operator, Vault, or SealedSecrets) containing key SEARXNG_SECRET:

searxng:
  enabled: true
  secret:
    create: false
    existingSecret: "searxng-runtime-secret"
    existingSecretKey: SEARXNG_SECRET

Pod Security Standards (restricted Namespaces)

The crw container runs under the strict Pod Security Standards restricted profile out of the box (runAsNonRoot: true, UID 10001, readOnlyRootFilesystem: true, capabilities.drop: [ALL], seccompProfile: RuntimeDefault).

However, the upstream searxng/searxng image bundled in the optional searxng subchart starts as root by default (FORCE_OWNERSHIP=true) to initialize configuration files. If your target namespace enforces pod-security.kubernetes.io/enforce: restricted, either:

  1. Deploy crw with searxng.enabled: false and connect to an external SearXNG instance in a baseline namespace via search.backendUrl, or
  2. Configure custom non-root security contexts and searxng.env.forceOwnership: false on the searxng subchart.

Installing the Chart

Add the repository:

helm repo add thangmai-charts https://ducthangqd1998.github.io/charts
helm repo update

Option A: Out-of-the-box (Bundled SearXNG subchart)

helm install my-crw thangmai-charts/crw

Option B: Use an existing external SearXNG backend

helm install my-crw thangmai-charts/crw \
  --set searxng.enabled=false \
  --set search.backendUrl="http://searxng.default.svc.cluster.local:8080"

Configuration

FastCRW Parameters

ParameterDescriptionDefault
replicaCountNumber of FastCRW replicas (ignored when autoscaling.enabled: true)1
image.repositoryFastCRW container image repositoryghcr.io/fastcrw/crw
image.tagFastCRW image tag0.42.1
image.pullPolicyImage pull policyIfNotPresent
serviceAccount.createCreate a dedicated ServiceAccounttrue
serviceAccount.automountAutomount ServiceAccount API credentialsfalse
service.typeKubernetes service typeClusterIP
service.portService HTTP port3000
service.targetPortContainer HTTP port3000
search.enabledEnable web search capabilitiestrue
search.backendUrlURL to search backend (auto-resolved if searxng.enabled is true)""
resources.requestsCPU/Memory requestscpu: 100m, memory: 128Mi
resources.limitsMemory limitsmemory: 256Mi
startupProbeOptional container startup probe{}
livenessProbeContainer liveness probe (/health)HTTP GET :http/health
readinessProbeContainer readiness probe (/health)HTTP GET :http/health
lifecycleContainer lifecycle hookspreStop: sleep 10
terminationGracePeriodSecondsPod termination grace period60

SearXNG Subchart Dependency Parameters

Values under the searxng: key are passed directly to the upstream SearXNG subchart.

ParameterDescriptionDefault
searxng.enabledDeploy bundled SearXNG subchart dependencytrue
searxng.secret.createCreate SearXNG runtime Secret via Helmtrue
searxng.secret.existingSecretExisting Secret name for GitOps / Argo CD (SEARXNG_SECRET)""
searxng.config.useDefaultSettingsUse SearXNG default settingstrue
searxng.config.settings.search.formatsFormats enabled for SearXNG[html, json]
searxng.persistence.cache.enabledEnable PVC for SearXNG cache (false uses stateless emptyDir)false
searxng.valkey.enabledEnable Valkey caching/rate-limitingfalse

Autoscaling, Networking & Resilience

ParameterDescriptionDefault
autoscaling.enabledEnable autoscaling/v2 HorizontalPodAutoscalerfalse
autoscaling.minReplicasMinimum replicas when HPA is enabled2
autoscaling.maxReplicasMaximum replicas when HPA is enabled10
autoscaling.targetCPUUtilizationPercentageTarget CPU utilization percentage80
ingress.enabledEnable standard networking.k8s.io/v1 Ingressfalse
ingress.classNameIngressClass to use""
ingress.hostsList of host rulesSee values.yaml
httpRoute.enabledEnable Gateway API HTTPRoutefalse
httpRoute.parentRefsParent Gateway references[]
httpRoute.rulesCustom routing, matches, filters, and timeouts[]
podDisruptionBudget.enabledEnable PDB (minAvailable / maxUnavailable mutually exclusive)false
networkPolicy.enabledEnable NetworkPolicy (renders sensible defaults when ingress/egress are empty)false

Example Configurations

  • Development Values (NodePort, lightweight, SearXNG disabled)
  • Production Values (HA, Ingress with TLS, PDB, bundled SearXNG)
  • External SearXNG Backend (Standalone CRW)
  • Gateway API Values (Kubernetes Gateway API HTTPRoute)

Usage Examples

1. Web Search Query (/v1/search)

curl -X POST http://<CRW-HOST>:3000/v1/search \
  -H "Content-Type: application/json" \
  -d '{"query": "Latest breakthroughs in AI", "limit": 5}'

2. Scrape Web Page to Clean Markdown (/v1/scrape)

curl -X POST http://<CRW-HOST>:3000/v1/scrape \
  -H "Content-Type: application/json" \
  -d '{"url": "https://news.ycombinator.com"}'

3. Model Context Protocol (MCP) Integration

FastCRW includes built-in MCP server capabilities. Add this to your Claude Desktop / Claude Code / Cursor MCP configuration:

{
  "mcpServers": {
    "crw": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "--network=host", "ghcr.io/fastcrw/crw:0.42.1", "mcp"]
    }
  }
}

Uninstalling

helm uninstall my-crw

Deploy crw with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has crw on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartcrw is pinned at v0.1.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply