firecrawl/pdf-inspector
Fast Rust library for PDF inspection, classification, and text extraction. Intelligently detects scanned vs text-based PDFs to enable smart routing decisions.
Rust★ 18,078+541 that day#7 on trending5.7% duplicated
125files
115,543lines
748,928tokens
525clones
6,586duplicated lines (5.7%)
44,304duplicated tokens (5.92%)
By format
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| rust | 57 | 104,936 | 511 | 6,291 | 6% |
| yaml | 6 | 1,108 | 7 | 79 | 7.13% |
| markdown | 19 | 2,577 | 3 | 115 | 4.46% |
| python | 9 | 2,244 | 1 | 6 | 0.27% |
| bash | 16 | 1,582 | 1 | 64 | 4.05% |
| markup | 2 | 1,184 | 1 | 8 | 0.68% |
| text | 3 | 383 | 1 | 23 | 6.01% |
| toml | 5 | 550 | 0 | 0 | 0% |
| javascript | 4 | 539 | 0 | 0 | 0% |
| typescript | 2 | 210 | 0 | 0 | 0% |
Largest clones
- 80 lines · 625 tokens markdownAGENTS.md:1–80⇆CLAUDE.md:1–80
- 24 lines · 279 tokens textAGENTS.md:24–47⇆CLAUDE.md:24–47
- 44 lines · 248 tokens rusttests/integration_tests.rs:2476–2519⇆tests/integration_tests.rs:2564–2606
- 41 lines · 243 tokens rusttests/integration_tests.rs:2370–2410⇆tests/integration_tests.rs:3810–3850
- 32 lines · 228 tokens rustsrc/extractor/content_stream.rs:1206–1237⇆src/extractor/content_stream.rs:1240–1271
- 21 lines · 228 tokens rustsrc/markdown/mod.rs:1088–1108⇆src/tables/detect_rects.rs:891–911
- 29 lines · 220 tokens rustsrc/extractor/content_stream.rs:777–805⇆src/extractor/xobjects.rs:830–858
- 37 lines · 218 tokens rustsrc/detector.rs:3330–3366⇆src/detector.rs:3588–3624
- 50 lines · 212 tokens rusttests/integration_tests.rs:17–66⇆tests/integration_tests.rs:4120–4144
- 35 lines · 211 tokens rustsrc/detector.rs:3266–3300⇆src/detector.rs:3425–3458
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | Duplication | Commit |
|---|---|---|---|---|---|---|---|
| Sep 2, 2026 | #7 | 18,078 (+541) | 125 | 115,543 | 525 | 5.7% | 65b7fa1 |
| Sep 1, 2026 | #8 | 17,674 (+228) | 125 | 115,477 | 525 | 5.7% | 23cf1ad |
Want this for your own project? Install jscpd and run jscpd .