RepoPilot

firecrawl/firecrawl · Architecture

A static read of how firecrawl/firecrawl is wired together — module coupling, layering, and circular dependencies — derived from its import graph.

C
Architecture grade
score 68/100
8
Import cycles
lower is better
400
Modules parsed
1697 edges
94%
Layeredness
clean-layer ratio

Most-depended-on modules

These are the highest-fan-in files — change them and the blast radius is largest. Read them first.

  • apps/api/src/lib/logger.ts143 importers · radius 201
  • apps/api/src/config.ts124 importers · radius 218
  • apps/api/src/controllers/v2/types.ts99 importers · radius 202
  • apps/api/src/controllers/v1/types.ts66 importers · radius 200
  • apps/api/src/scraper/scrapeURL/index.ts56 importers · radius 200
  • apps/api/src/lib/zdr-helpers.ts34 importers · radius 200
  • apps/api/src/db/connection.ts29 importers · radius 212
  • apps/api/src/lib/error.ts28 importers · radius 200

Modules (24)

Source directories grouped from the import graph. Each links to a per-module page with its files and how it couples to the rest.

Circular dependencies (8)

  • apps/api/src/controllers/v1/types.ts to apps/api/src/lib/entities.ts to apps/api/src/controllers/v1/types.ts
  • apps/api/src/controllers/v2/types.ts to apps/api/src/lib/format-utils.ts to apps/api/src/controllers/v2/types.ts
  • apps/api/src/controllers/v1/types.ts to apps/api/src/scraper/scrapeURL/index.ts to apps/api/src/controllers/v2/types.ts to apps/api/src/controllers/v1/types.ts
  • apps/api/src/scraper/scrapeURL/index.ts to apps/api/src/controllers/v2/types.ts to apps/api/src/scraper/scrapeURL/index.ts
  • apps/api/src/lib/threat-protection/types.ts to apps/api/src/lib/threat-protection/index.ts to apps/api/src/lib/threat-protection/providers/google-web-risk.ts to apps/api/src/lib/threat-protection/types.ts
  • apps/api/src/lib/threat-protection/types.ts to apps/api/src/lib/threat-protection/index.ts to apps/api/src/lib/threat-protection/providers/zscaler/index.ts to apps/api/src/lib/threat-protection/types.ts

Ask AI about firecrawl/firecrawl

Grounded in the actual source code. Pick a starter question or write your own.

Or write your own question

Informational only. RepoPilot summarises public signals at the time of analysis; they can be incomplete or stale. Not professional, security, or legal advice.