firecrawl-deploy-integration
Deploy FireCrawl integrations to Vercel, Fly.io, and Cloud Run platforms. Use when deploying FireCrawl-powered applications to production, configuring platform-specific secrets, or setting up deployment pipelines. Trigger with phrases like "deploy firecrawl", "firecrawl Vercel", "firecrawl production deploy", "firecrawl Cloud Run", "firecrawl Fly.io".
- License 许可
- MIT
- 最近更新
- 2026-03-20
- Stars
- ★ 4
- Forks
- 0
01 前言 Front Matter
- name
- firecrawl-deploy-integration
- author
- Jeremy Longshore <jeremy@intentsolutions.io>
- license
- MIT
- version
- 1.0.0
- description
- Deploy FireCrawl integrations to Vercel, Fly.io, and Cloud Run platforms. Use when deploying FireCrawl-powered applications to production, configuring platform-specific secrets, or setting up deployment pipelines. Trigger with phrases like "deploy firecrawl", "firecrawl Vercel", "firecrawl production deploy", "firecrawl Cloud Run", "firecrawl Fly.io".
- allowed-tools
- Read, Write, Edit, Bash(vercel:*), Bash(fly:*), Bash(gcloud:*)
- compatible-with
- claude-code, codex, openclaw
03 SKILL.md 正文
Firecrawl Deploy Integration
Overview
Deploy applications using Firecrawl's web scraping API (api.firecrawl.dev) to production. Covers API key management, webhook endpoint deployment for async crawl results, and self-hosted Firecrawl deployment options using Docker.
Prerequisites
- Firecrawl API key stored in
FIRECRAWL_API_KEYenvironment variable - Application using
@mendable/firecrawl-jsSDK - Platform CLI installed (vercel, docker, or gcloud)
- Webhook endpoint for async crawl results
Instructions
Step 1: Configure Secrets
# Vercel
vercel env add FIRECRAWL_API_KEY production
# Cloud Run
echo -n "your-key" | gcloud secrets create firecrawl-api-key --data-file=-
Step 2: Deploy Scraping API
// api/scrape.ts
import FirecrawlApp from "@mendable/firecrawl-js";
const firecrawl = new FirecrawlApp({
apiKey: process.env.FIRECRAWL_API_KEY!,
});
export async function POST(req: Request) {
const { url, formats } = await req.json();
const result = await firecrawl.scrapeUrl(url, {
formats: formats || ["markdown"],
});
return Response.json({
markdown: result.markdown,
metadata: result.metadata,
});
}
Step 3: Self-Hosted Firecrawl (Docker)
# docker-compose.yml
version: "3.8"
services:
firecrawl:
image: mendableai/firecrawl:latest
ports:
- "3002:3002" # 3002 = configured value
environment:
- REDIS_URL=redis://redis:6379 # 6379: Redis port
- PLAYWRIGHT_BROWSERS_PATH=/browsers
depends_on:
- redis
redis:
image: redis:7-alpine
ports:
- "6379:6379" # Redis port
app:
build: .
ports:
- "3000:3000" # 3000: 3 seconds in ms
environment:
- FIRECRAWL_API_URL=http://firecrawl:3002
depends_on:
- firecrawl
Step 4: Webhook Endpoint for Async Crawls
// api/webhooks/firecrawl.ts
export async function POST(req: Request) {
const { type, id, data } = await req.json();
if (type === "crawl.completed") {
await processScrapedPages(id, data.pages);
}
return Response.json({ received: true });
}
Step 5: Health Check
export async function GET() {
try {
const result = await firecrawl.scrapeUrl("https://example.com", {
formats: ["markdown"],
});
return Response.json({ status: result ? "healthy" : "degraded" });
} catch {
return Response.json({ status: "unhealthy" }, { status: 503 }); # HTTP 503 Service Unavailable
}
}
Error Handling
| Issue | Cause | Solution |
|---|---|---|
| Rate limited | Too many scrape requests | Queue requests with delays |
| Scrape blocked | Target site protection | Use waitFor and browser options |
| API key invalid | Key expired | Regenerate at firecrawl.dev dashboard |
| Self-hosted memory | Playwright overhead | Increase container memory to 2GB+ |
Examples
Basic usage: Apply firecrawl deploy integration to a standard project setup with default configuration options.
Advanced scenario: Customize firecrawl deploy integration for production environments with multiple constraints and team-specific requirements.
Resources
Next Steps
For webhook handling, see firecrawl-webhooks-events.
Output
- Configuration files or code changes applied to the project
- Validation report confirming correct implementation
- Summary of changes made and their rationale
04 同仓库更多 Skills
azure-apim-architecture
Analyzes and explains Azure API Management architecture decisions for enterprise API marketplace implementations using VNet Internal mode, Front Door, hybrid authentication, and multi-environment strategies. Use when discussing APIM component selection, network topology, cost optimization, or comparing alternatives like workspaces vs instances, VNet Internal vs External mode, or Front Door vs Application Gateway.
apiops-deployment
Guides deployment of Azure API Management infrastructure using Infrastructure as Code (Bicep/Terraform), CI/CD pipelines (GitHub Actions/Azure DevOps), and APIOps workflows. Use when deploying APIM, creating pipelines, or implementing dev→test→prod promotion strategies.
apim-policy-authoring
Creates production-ready Azure API Management policy XML for authentication (OAuth 2.0, JWT validation, subscription keys), rate limiting, CORS configuration, error handling, and API transformations. Use when implementing API security, access control, or request/response processing logic.
api-security-review
Reviews Azure API Management configurations for security vulnerabilities, OWASP API Security Top 10 compliance, VNet Internal mode validation, Private Link verification, and Azure Security Benchmark alignment. Use when performing security audits, pre-deployment validation, or compliance reviews.
jira-cli
Interact with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows. Use when the user asks about Jira tasks, tickets, issues, sprints, or needs to manage project work items.
calculator
Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.