firecrawl-local-dev-loop

Featured

Configure Firecrawl local development with self-hosted Docker, mocking, and testing. Use when setting up a development environment, running Firecrawl locally to save credits, or configuring test workflows with vitest. Trigger with phrases like "firecrawl dev setup", "firecrawl local development", "firecrawl docker", "firecrawl self-hosted dev", "firecrawl test setup".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Firecrawl Local Dev Loop ## Overview Set up a fast development workflow for Firecrawl integrations. Use self-hosted Firecrawl via Docker to avoid burning API credits during development, mock the SDK for unit tests, and run integration tests against the local instance. ## Prerequisites - Node.js 18+ with npm/pnpm - Docker + Docker Compose (for self-hosted Firecrawl) - `@mendable/firecrawl-js` installed ## Instructions ### Step 1: Project Structure ``` my-firecrawl-project/ ├── src/ │ ├── scraper.ts # Firecrawl business logic │ └── config.ts # Environment-aware config ├── tests/ │ ├── scraper.test.ts # Unit tests (mocked SDK) │ └── integration.test.ts # Integration tests (real API) ├── docker-compose.yml # Self-hosted Firecrawl ├── .env.local # Dev secrets (git-ignored) ├── .env.example # Template for team └── package.json ``` ### Step 2: Self-Hosted Firecrawl for Zero-Credit Dev ```yaml # docker-compose.yml services: firecrawl: image: mendableai/firecrawl:latest ports: - "3002:3002" environment: - PORT=3002 - USE_DB_AUTHENTICATION=false - REDIS_URL=redis://redis:6379 - NUM_WORKERS_PER_QUEUE=1 - BULL_AUTH_KEY=devonly depends_on: redis: condition: service_healthy redis: image: redis:7-alpine ports: - "6379:6379" healthcheck: test: ["CMD", "redis-cli", "ping"] interval: 5s timeout: 3s retries: 5 ``` ``...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category