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.
- apps/api/src/lib52 files · 549 in-degree · in cycle
- apps/api/src2 files · 126 in-degree
- apps/api/src/controllers/v217 files · 119 in-degree · in cycle
- apps/api/src/controllers/v110 files · 82 in-degree · in cycle
- apps/api/src/scraper/scrapeURL2 files · 78 in-degree · in cycle
- apps/api/src/lib/threat-protection6 files · 58 in-degree · in cycle
- apps/api/src/db2 files · 38 in-degree
- apps/api/src/scraper/scrapeURL/engines/pdf/fire-pdf9 files · 35 in-degree
- apps/api/src/scraper/scrapeURL/lib9 files · 35 in-degree
- apps/api/src/scraper/scrapeURL/engines/pdf4 files · 26 in-degree
- apps/api/src/services/autumn2 files · 25 in-degree
- apps/api/src/services/billing2 files · 23 in-degree
- apps/api/src/scraper/WebScraper/utils3 files · 20 in-degree
- apps/api/src/lib/siem-logging4 files · 18 in-degree
- apps/api/src/lib/branding5 files · 14 in-degree
- apps/api/src/scraper/scrapeURL/engines/fire-engine4 files · 14 in-degree
- apps/api/src/routes6 files · 13 in-degree
- apps/api/src/lib/extract/fire-05 files · 13 in-degree
- apps/api/src/controllers/v2/feedback4 files · 13 in-degree
- apps/api/src/scraper/scrapeURL/transformers3 files · 13 in-degree
- apps/api/src/services2 files · 13 in-degree
- apps/api/src/lib/threat-protection/providers/zscaler3 files · 12 in-degree · in cycle
- apps/api/src/scraper/scrapeURL/engines/fire-engine/branding-script2 files · 11 in-degree
- apps/api/src/scraper/scrapeURL/engines/utils3 files · 10 in-degree
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.
What does this repo do, in one paragraph?How would I get started using it?What are the main alternatives?Show me the entry point.
Or write your own questionInformational only. RepoPilot summarises public signals at the time of analysis; they can be incomplete or stale. Not professional, security, or legal advice.